2022 {
2023 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
2024
2026 {
2028 {
2030 EntityAI parent = GetHierarchyParent();
2031 if (parent && parent.IsFireplace())
2032 {
2033 CargoBase cargo = GetInventory().GetCargo();
2034 if (cargo)
2035 {
2037 {
2039 }
2040 }
2041 }
2042 }
2043
2045 {
2046
2048 return;
2049 }
2050
2051 if (
m_Cleanness != 0 && oldLevel < newLevel && newLevel != 0)
2052 {
2054 }
2055 }
2056 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
FindInventoryLocationType
flags for searching locations in inventory
void SetResultOfSplit(bool value)
override void SetCleanness(int value, bool allow_client=false)
proto native int GetItemCount()
proto native EntityAI GetItem(int index)
represents base for cargo storage for entities