Seems like some prototype information in AutoplaceSpecification is not available at control runtime:
https://lua-api.factorio.com/latest/Con ... cification
coverage, starting_area_amount, and starting_area_size are not included in the latter. This does not seem to be a documentation issue, as they are nil when accessed via game.entity_prototypes["a-resource"].autoplace_specification
Exposing all the autoplace specification as presented in the prototype stage would allow my mod to be much more effective at overriding the autoplace mechanism for potentially arbitrary other mods it is combined with.
Place to ask discuss and request the modding support of Factorio. Don't request mods here.
1 post • Page 1 of 1
- Fast Inserter
- Posts: 113
- Joined: Mon May 15, 2017 4:02 pm
Shameless mod plugging: Ribbon Maze
Users browsing this forum: No registered users