2087 {
2088 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
2089
2091 {
2092 if (newLevel == GameConstants.STATE_RUINED)
2093 {
2095 EntityAI parent = GetHierarchyParent();
2096 if (parent && parent.IsFireplace())
2097 {
2098 CargoBase cargo = GetInventory().GetCargo();
2099 if (cargo)
2100 {
2102 {
2104 }
2105 }
2106 }
2107 }
2108
2110 {
2111
2113 return;
2114 }
2115
2116 if (
m_Cleanness != 0 && oldLevel < newLevel && newLevel != 0)
2117 {
2119 }
2120 }
2121 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
FindInventoryLocationType
flags for searching locations in inventory
proto native int GetItemCount()
proto native EntityAI GetItem(int index)
override void SetCleanness(int value, bool allow_client=false)
void SetResultOfSplit(bool value)