4659 {
4660 bool hasParent = false, hasRootAsPlayer = false;
4662
4663 bool wwtu =
g_Game.IsWorldWetTempUpdateEnabled();
4664 bool foodDecay =
g_Game.IsFoodDecayEnabled();
4665
4666 if (wwtu || foodDecay)
4667 {
4671
4672 if (processWetness || processTemperature || processDecay)
4673 {
4675
4676 if (processWetness)
4677 ProcessItemWetness(m_ElapsedSinceLastUpdate, hasParent, hasRootAsPlayer, refParentIB);
4678
4679 if (processTemperature)
4681
4682 if (processDecay)
4683 ProcessDecay(m_ElapsedSinceLastUpdate, hasRootAsPlayer);
4684 }
4685 }
4686 }
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)