LuaEntity result
Posted: Sat Jun 25, 2016 6:03 am
It is not impossible to make a mod determine what would be dropped by an entity when it was mined, see here: https://github.com/Simcra/Surfaces/blob ... l.lua#L110
This would be useful as a function of LuaEntity as I'm not entirely sure if this is equivalent to how it is done in the game engine. I use this function to gather the result of an entity so that it may be placed on the ground if invalidated by my entity pairing system.
This would be useful as a function of LuaEntity as I'm not entirely sure if this is equivalent to how it is done in the game engine. I use this function to gather the result of an entity so that it may be placed on the ground if invalidated by my entity pairing system.