Redo Oregen

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
nuhll
Filter Inserter
Filter Inserter
Posts: 967
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Redo Oregen

Post by nuhll »

Hi,
because of viewtopic.php?f=18&t=43470&p=252633#p252633 i want to redo the oregen in my game, what is the command for this? :)

THanks!
kingarthur
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Sun Jun 15, 2014 11:39 am
Contact:

Re: Redo Oregen

Post by kingarthur »

after looking the only thing i can find for regen ores is this.

/c game.player.surface.regenerate_entity({'coal','stone','iron-ore','copper-ore'})


if you are using the normal angels ores replace the ores listed with the angels ores that need regenerated. should all be named "infinite-angels-ore1" thru 6.

im not at home to test it right now but i think it should work
nuhll
Filter Inserter
Filter Inserter
Posts: 967
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: Redo Oregen

Post by nuhll »

Thanks, is it correct that the ores wont spawn at the same location?
kingarthur
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Sun Jun 15, 2014 11:39 am
Contact:

Re: Redo Oregen

Post by kingarthur »

yes. most likely when its regen their postions will change as new stuff has been added and that changes the ore gen mapping
Post Reply

Return to “Gameplay Help”