deconstructible-tile-proxy
Posted: Sun Jul 10, 2016 2:08 pm
In the on_marked_for_deconstruction event, if a tile was marked, the given entity is of the type deconstructible-tile-proxy. Is there any way to get the name of the actual tile that was marked? For example, if a dropped item is marked you get an item-on-ground, but the name of the item itself is still inside the entity.stack.name property. Is there anything equivalent for the deconstructible-tile-proxy?
The current workaround I have is to check the tile at the entity's position on the entity's surface, but that's probably not the most CPU efficient way.
The current workaround I have is to check the tile at the entity's position on the entity's surface, but that's probably not the most CPU efficient way.