Called when a resource entity reaches 0 or its minimum yield for infinite resources.
entity
LuaEntity
name
defines.events
tick
uint32