Page 1 of 1
					
				[Request] Resources destroyer
				Posted: Mon Aug 10, 2015 3:29 pm
				by Eyeer
				I'd love to see in factiorio some kind of brush to remove resources pool (iron, coal etc). I'm started new game with low number of big resources pool but sometimes engine spawn also small one and it is difficult for me to just ignore them even though I try 

. This would give us ability to just remove some resource if it is too much it on the map.
 
			
					
				Re: [Request] Resources destroyer
				Posted: Mon Aug 10, 2015 3:53 pm
				by L0771
				put your cursor over the resource and write in console
/c game.player.selected.destroy()
or if you want destroy a lot of resources put your mouse in a corner and you in the other corner and write in console
/c resources = game.player.surface.find_entities_filtered{area = {game.player.selected.position,game.player.character.position}, type = "resource"} for _,res in ipairs(resources) do res.destroy() end
... your cursor must be between 90° and 180° :p
is a big problem make a mod for 2-3 lines in lua, adding 1 item or gui...
			 
			
					
				Re: [Request] Resources destroyer
				Posted: Tue Aug 11, 2015 8:17 am
				by Eyeer
				Its work! thanks 
 
Still - its not very convenient, it requires cursor to be on some resource so if shape of the pool is not regular (and it never is) it take long time to clear. I still think it is a good idea for mod. 

 
			
					
				Re: [Request] Resources destroyer
				Posted: Wed Aug 12, 2015 12:18 am
				by L0771
				Eyeer wrote:Its work! thanks 
 
Still - its not very convenient, it requires cursor to be on some resource so if shape of the pool is not regular (and it never is) it take long time to clear. I still think it is a good idea for mod. 

 
Maybe, i can use the same code than the new 
Resource Monitor Mod and remove all resources.