[Request] Resources destroyer

This is the place to request new mods or give ideas about what could be done.
Post Reply
Eyeer
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon Aug 10, 2015 3:20 pm
Contact:

[Request] Resources destroyer

Post 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.

User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: [Request] Resources destroyer

Post 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...

Eyeer
Burner Inserter
Burner Inserter
Posts: 9
Joined: Mon Aug 10, 2015 3:20 pm
Contact:

Re: [Request] Resources destroyer

Post 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. :)

User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: [Request] Resources destroyer

Post 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.

Post Reply

Return to “Ideas and Requests For Mods”