Von Neumann/Sandbox Mode? (no rocks or trees)

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
GenericKen
Inserter
Inserter
Posts: 23
Joined: Sun Jan 18, 2015 3:24 am
Contact:

Von Neumann/Sandbox Mode? (no rocks or trees)

Post by GenericKen »

It's been a while since I played. I really want to perfect my von neumann factory (http://www.reddit.com/r/factorio/commen ... nd_theory/), but there are lots of things vying for my time right now, and I just can't justify spending hours shotgunning down nests and rocks.

The game already has a "peaceful mode". How hard would it be to add a mode that also:

1) Started the game with the full tech tree unlocked.
2) Started the game with full power armor mk 2 and 200 of each item.
3) Most importantly, spawned the map without trees, rocks, or nests.

I believe the first two can be easily modded (there may even be lua commands for them), but I haven't found any good way to prevent the spawning of trees or rocks.

Koub
Global Moderator
Global Moderator
Posts: 7226
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Von Neumann/Sandbox Mode? (no rocks or trees)

Post by Koub »

I have seen a lua command to remove rocks from all discovored chuncks somewhere

[Edit]:

Code: Select all

    
for _, entity in ipairs(game.findentitiesfiltered{area = area, type = "tree"}) do
     entity.die()
end

Code: Select all

for _, entity in ipairs(game.findentitiesfiltered{area = area, name = "stone-rock"}) do
     entity.die()
end
Explaination here : https://forums.factorio.com/forum/vie ... ock#p44024
Koub - Please consider English is not my native language.

quinor
Filter Inserter
Filter Inserter
Posts: 404
Joined: Thu Mar 07, 2013 3:07 pm
Contact:

Re: Von Neumann/Sandbox Mode? (no rocks or trees)

Post by quinor »

Same way you can kill all spawners and there is command to kill all enemies. There is also testmode mod and creativemode mod. They add menu to cheat in any item, infinite power supply, infinite power drain and infinite input/output of any fluid/item.

https://forums.factorio.com/forum/vie ... =14&t=8976

https://forums.factorio.com/forum/viewforum.php?f=46

GenericKen
Inserter
Inserter
Posts: 23
Joined: Sun Jan 18, 2015 3:24 am
Contact:

Re: Von Neumann/Sandbox Mode? (no rocks or trees)

Post by GenericKen »

Thanks Koub!

Will rocks continue to spawn as I explore more area? Will I need to execute this command over and over?

Koub
Global Moderator
Global Moderator
Posts: 7226
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Von Neumann/Sandbox Mode? (no rocks or trees)

Post by Koub »

I'm afraid they will : these commands only remove entities around you. But they are quite easy to use.

I know it's a suboptimal, and I'm sure it could be automated so that it runs every time you discover a new chunck, but I don't have enough skills to create such a mod (even if I have the feeling the mod would be really easy to do for one who knows).
Koub - Please consider English is not my native language.

Post Reply

Return to “Ideas and Suggestions”