Scorchful:Temperature System: Difference between revisions

 
(4 intermediate revisions by the same user not shown)
Line 147: Line 147:
Internally, by water is also sorted on a point system from {{code|0}} to {{code|600}}. However, when sweating, for every point of body water consumed, {{code|2}} points are added to wetness. Body water is not consumed unless the player has a temperature greater than {{code|0}}.
Internally, by water is also sorted on a point system from {{code|0}} to {{code|600}}. However, when sweating, for every point of body water consumed, {{code|2}} points are added to wetness. Body water is not consumed unless the player has a temperature greater than {{code|0}}.


Different foods and drinks provide different amounts of water. Datapacks can configure how much water a food or drink item provides with the item tags `scorchful:is_refreshing`, `scorchful:is_sustaining`, and `scorchful:is_hydrating`. By default these items provide 60, 120, and 300 body water points respectively. You can find the full list of entries for these tags on the [https://scorchful.thedeathlycow.com/tags/#item-tags Config Wiki].
Different foods and drinks provide different amounts of water. Datapacks can configure how much water a food or drink item provides with the item tags {{code|scorchful:is_refreshing}}, {{code|scorchful:is_sustaining}}, and {{code|scorchful:is_hydrating}}. By default these items provide 60, 120, and 300 body water points respectively.


{{Message box|title=Note|text=If Dehydration is installed, this system is replaced with theirs. See the [https://scorchful.thedeathlycow.com/#compatibility Config Wiki] for more details.}}
{{Message box|title=Note|text=If Dehydration is installed, sweating will draw from the Dehydration thirst system instead of this one.}}


== Temperature Effects ==
== Temperature Effects ==
Line 188: Line 188:
Most armors reduce your ability to stay cool, some improve that ability, and some have no effect. Wearing armor by itself does not make you warmer, but instead increases the amount of heat you receive anytime you do get warmer. By default, ALL armors are assumed to provide a negative heat resistance penalty. They must be explicitly be given a [https://scorchful.thedeathlycow.com/components/#heat-resistance heat resistance component] for this to not be the case.
Most armors reduce your ability to stay cool, some improve that ability, and some have no effect. Wearing armor by itself does not make you warmer, but instead increases the amount of heat you receive anytime you do get warmer. By default, ALL armors are assumed to provide a negative heat resistance penalty. They must be explicitly be given a [https://scorchful.thedeathlycow.com/components/#heat-resistance heat resistance component] for this to not be the case.


The protectiveness of armor is determined by the attributes '''Heat Resistance''' and '''Environment Heat Resistance'''. These attributes can be gained from [[Minecraft:Netherite|Netherite armor]] and [[Scorchful:Turtle Shell|Turtle armor]]. [[Minecraft:Leather|Leather armor]], [[Minecraft:Iron|Iron armor]], [[Minecraft:Diamond|Diamond armor]] all decrease these attributes. You can find the full list with attribute values on the [http://scorchful.thedeathlycow.com/components/#heat-resistance Config Wiki].
The protectiveness of armor is determined by the attributes '''Heat Resistance''' and '''Environment Heat Resistance'''. These attributes can be gained from [[Minecraft:Netherite|Netherite armor]] and [[Scorchful:Turtle Shell|Turtle armor]]. [[Minecraft:Leather|Leather armor]], [[Minecraft:Iron|Iron armor]], [[Minecraft:Diamond|Diamond armor]] all decrease these attributes.


For an explanation of how Heat Resistance and Environment Heat Resistance work internally, see the [https://thermoo.thedeathlycow.com/entity_attributes/ Thermoo Wiki].
For an explanation of how Heat Resistance and Environment Heat Resistance work internally, see the [https://thermoo.thedeathlycow.com/entity_attributes/ Thermoo Wiki].