The ability to regenerate fish (non-biter wildlife) for a given chunk list via API command would be useful for mods that change tiles on the chunk generation event, ie: Earth Map.
This would be similar to the LuaSurface.regenerate_decoratives() function, but for fish (currently) across the current water tiles in the chunk. While this could be done by the mod, the game must have an existing optimised process for doing this and it would be nice to be able to utilise this in a supported (API) manner to maintain consistency.
LuaSurface Regenerate Fish
- Muppet9010
- Filter Inserter
- Posts: 279
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
Re: LuaSurface Regenerate Fish
That already exists: https://lua-api.factorio.com/latest/Lua ... ate_entity
If you want to get ahold of me I'm almost always on Discord.