public static void AdviceDataUpdate() { wetCount = ClimateCalories.wetCount; baseNatTemp = Climates.baseNatTemp; natTemp = Climates.natTemp; armorTemp = Climates.armorTemp; pureClothTemp = Climates.pureClothTemp; totalTemp = Climates.totalTemp; cloak = Climates.cloak; hood = Climates.hood; drink = Climates.gotDrink; hunger = Hunger.hunger; starving = Hunger.starving; rations = Hunger.RationsToEat(); sleepyCounter = Sleep.sleepyCounter; }
public static void TemperatureCalculator() { gotDrink = WaterToDrink(); baseNatTemp = Climate() + Month() + DayNight() + Weather(); natTemp = Resist(baseNatTemp); armorTemp = Armor(baseNatTemp); pureClothTemp = Clothes(natTemp); charTemp = Resist(RaceTemp() + pureClothTemp + armorTemp - Water()) + offSet; natCharTemp = Resist(baseNatTemp + RaceTemp()) + offSet; totalTemp = ItemTemp(Dungeon(natTemp) + charTemp); absTemp = Mathf.Abs(totalTemp); cloak = Cloak(); hood = HoodUp(); Hunger.rations = Hunger.RationsToEat(); AdviceText.AdviceDataUpdate(); }