4643 {
4644 bool hasParent = false, hasRootAsPlayer = false;
4646
4647 bool wwtu =
g_Game.IsWorldWetTempUpdateEnabled();
4648 bool foodDecay =
g_Game.IsFoodDecayEnabled();
4649
4650 if (wwtu || foodDecay)
4651 {
4655
4656 if (processWetness || processTemperature || processDecay)
4657 {
4659
4660 if (processWetness)
4661 ProcessItemWetness(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4662
4663 if (processTemperature)
4665
4666 if (processDecay)
4667 ProcessDecay(m_ElapsedSinceLastUpdate, hasRootAsPlayer);
4668 }
4669 }
4670 }
override bool CanHaveTemperature()
void ProcessItemTemperature(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
void HierarchyCheck(out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB)
void ProcessItemWetness(float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
void ProcessDecay(float delta, bool hasRootAsPlayer)