Lua script API: add tile extras_owner
For forward compatibility I would not build API based on the fact that extra owner is tile-wide thing. It's an ugly detail anyway. Maybe instead add a function to get owner for tile/extra pair, despite extra parameter being currently irrelevant.
Reply To cazfi
For forward compatibility I would not build API based on the fact that extra owner is tile-wide thing. It's an ugly detail anyway. Maybe instead add a function to get owner for tile/extra pair, despite extra parameter being currently irrelevant.
Done. But I allowed passing Nil to get the owner of the first owned extra.
Export a tile's extras owner to Lua.