Currently, we have LuaTile::order_deconstruction(force, player) and LuaEntity::order_deconstruction(force).
Can we have LuaEntity::order_deconstruction(force, player) too so that the player index appears in the generated event?
LuaEntity::order_deconstruction() player parameter
LuaEntity::order_deconstruction() player parameter
Factorio Mod Portal Notifier - https://fac-notify.ml/
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests
Re: LuaEntity::order_deconstruction() player parameter
Ok, I've added it for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.
Re: LuaEntity::order_deconstruction() player parameter
I guess those should be changed too then:
- LuaSurface::deconstruct_area
- LuaSurface::cancel_deconstruct_area
- LuaEntity::cancel_deconstruction
- LuaTile::cancel_deconstruction
Factorio Mod Portal Notifier - https://fac-notify.ml/
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests
Cut and paste tools - https://mods.factorio.com/mods/mickael9/cut-and-paste
Portable Chests - https://mods.factorio.com/mods/mickael9/portable-chests