0.13.17
Code: Select all
/c game.regenerate_entity("angels-natural-gas")
Code: Select all
/c game.regenerate_entity("crude-oil")
not map in place resource automatic ;(
Code: Select all
/c game.regenerate_entity("angels-natural-gas")
Code: Select all
/c game.regenerate_entity("crude-oil")
not understandLoewchen wrote:Please update the game first.
Update:Airat9000 wrote:not understandLoewchen wrote:Please update the game first.
initially I made a mistake 0.13.17 at me now, but the codes are not working!Loewchen wrote:Update:Airat9000 wrote:not understandLoewchen wrote:Please update the game first.
13.7 -> 13.17
Code: Select all
/c game.regenerate_entity("biter-spawner")
/c game.regenerate_entity("tree-07")
/c game.regenerate_entity("spawner")
/c game.regenerate_entity("stone")
By the way I also interested in this issue.Nexela wrote:Resding,
Not completely related to the not working part and I have never used regenerate_entity so It could be I don't know what I am talking about
How does regenerate_entity work with surfaces
Let's say I create a surface with game.create_surface(name, mapgen) with all autoplace settings set to none. At the same time I add a mod that adds a new-resource with autoplace controls.
Now assuming the command was working. Would regenerate_entity generate new-resource on both surfaces? If this is the case then it might be better to move regenerate_entity to luasurface or pass in the surface to affect
Thanks!
very very good!Rseding91 wrote:Right now it generates entities on all surfaces as when the surface as first generated. I'll add in a version of the function on LuaSurface that applies it only to that surface.
Awesome. Thank youRseding91 wrote:Right now it generates entities on all surfaces as when the surface as first generated. I'll add in a version of the function on LuaSurface that applies it only to that surface.
big request if the resource is created, the bottom has set things they were generated.Rseding91 wrote:Right now it generates entities on all surfaces as when the surface as first generated. I'll add in a version of the function on LuaSurface that applies it only to that surface.
0.13.18Rseding91 wrote:Right now it generates entities on all surfaces as when the surface as first generated. I'll add in a version of the function on LuaSurface that applies it only to that surface.
Code: Select all
/c game.regenerate_entity ("angels-natural-gas")
Code: Select all
/c game.regenerate_entity("angels-ore6")
test in 14.1Rseding91 wrote:Right now it generates entities on all surfaces as when the surface as first generated. I'll add in a version of the function on LuaSurface that applies it only to that surface.
Code: Select all
/c game.regenerate_entity("coal")
Code: Select all
/c game.regenerate_entity("angels-ore1")
Code: Select all
/c game.regenerate_entity("angels-fissure")
Code: Select all
/c game.regenerate_entity("crude-oil")