ILLISIS / Constructron-Continued

Other
13 stars 21 forks source link

fix: correct behaviour when entity is placeable by multiple items #112

Closed fgardt closed 1 year ago

fgardt commented 1 year ago

Entity prototypes specify placeable_by which can be a table of each item that places this entity. Construction bots will only ever use the first entry from this list so the old (bugged) behaviour of adding all items that could place an entity has been replaced by only using the first from the table.

see: https://lua-api.factorio.com/latest/LuaEntityPrototype.html#LuaEntityPrototype.items_to_place_this and Klonan on discord: https://discord.com/channels/139677590393716737/306402592265732098/1061699033330106408