[0.13.x] [cube] game.regenerate_entity is just... wrong.

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

[0.13.x] [cube] game.regenerate_entity is just... wrong.

Post by bobingabout »

I had a report in my subforum that when someone using my mods entered the following command, the entire map was covered with ores.

Code: Select all

/c remote.call("bobores", "Regenerate")
considering that command is basically just a series of game.regenerate_entity(<orename>) commands, I found that odd.

So I did a small experiment, base game and nothing else, started a new game, and entered the command:

Code: Select all

/c game.regenerate_entity("iron-ore")
The result was the whole starting area covered in iron ore.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.x] game.regenerate_entity is just... wrong.

Post by Loewchen »

I can confirm

User avatar
ytsejam
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Wed Jun 29, 2016 2:14 am
Contact:

Re: [0.13.x] game.regenerate_entity is just... wrong.

Post by ytsejam »

copper

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.x] game.regenerate_entity is just... wrong.

Post by Rseding91 »

What... that's not what you wanted? :D
If you want to get ahold of me I'm almost always on Discord.

ixnorp
Inserter
Inserter
Posts: 48
Joined: Mon Jun 27, 2016 11:06 pm
Contact:

Re: [0.13.x] game.regenerate_entity is just... wrong.

Post by ixnorp »

I wonder if this is some how connected to the behavior I observed at viewtopic.php?p=174148#p174148 with "water in starting area only" where the starting area code seems to cover the entire map instead of being confined to, well, the starting area.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.13.x] game.regenerate_entity is just... wrong.

Post by bobingabout »

Rseding91 wrote:What... that's not what you wanted? :D
Well... no, it's not. I would expect that it regenerates something similar to how the map generates ore in the first place.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.13.x] [cube] game.regenerate_entity is just... wrong.

Post by cube »

Fixed for 0.13.14.

Post Reply

Return to “Resolved Problems and Bugs”