Page 1 of 1
Redo Oregen
Posted: Fri Mar 31, 2017 6:04 pm
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!
Re: Redo Oregen
Posted: Sat Apr 01, 2017 12:42 am
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
Re: Redo Oregen
Posted: Sat Apr 01, 2017 4:57 pm
by nuhll
Thanks, is it correct that the ores wont spawn at the same location?
Re: Redo Oregen
Posted: Sat Apr 01, 2017 5:06 pm
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