Thirst: Difference between revisions

595 bytes added ,  18:57, 18 December 2023
m (Fixed typos & move code reference to bottom (likely to be confusing to average readers))
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{As Of Patch|2.0.190.0}} __NOTOC__
{{As Of Patch|2.0.190.0}} __NOTOC__
Thirst is a mechanic that works as a pseudo timer against the player. It decreases over time, and must be quenched to prevent dying of thirst. If autodrink is turned on and thirst passes the specified threshhold, the player character will automatically drink (or pour on themselves) a dram of {{favilink|water}} and increase their water level by 10,000.
Thirst is ''Caves of Qud'''s implementation of a “hunger clock”, a resource management mechanic that forces the player to move forward or die. (Contrast with [[hunger]], which can cause debuffs but not kill.)
It is not possible to drink liquids if frozen.
 
The player character (but no other characters) slowly becomes more and more thirsty over time. Thirst can be quenched by consuming {{Favilink | water}}, which is done automatically by default when the player character reaches a specific stage of thirst (by default, Thirsty; see below). (This can be disabled in the options, and may be advantageous to do if the player character has [[glotrot]].) Water can't be consumed by a frozen character.


==Levels of Thirst==
==Levels of Thirst==
{| class="wikitable"
{| class="wikitable"
!Thirst level
!Thirst level
!Thirst level ([[Amphibious]])
!Thirst level ({{favilink|Amphibious}})
!Thirst
!Thirst
|-
|-
Line 29: Line 30:
|0
|0
|}
|}
There is also a hidden max water level one creature can hold, which is 50,000. The game will advise the player if drinking something will put this over the limit. Drinking too much will force the creature to vomit and have their thirst level set to 20,000-30,000 less than the max water level. A {{favilink|putrescence}} pool will also spawn.
Consuming water adds 10,000 to the thirst meter. There is also a hidden max water level one creature can hold, which is 50,000. The game will advise the player if drinking something will put this over the limit. Drinking too much will force the creature to vomit and have their thirst level set to 20,000-30,000 less than the max water level. A {{favilink|putrescence}} pool will also spawn.


==Effects of Thirst==
==Effects of Thirst==
If the player character is at 0 water, every action causes the character to save against a penetration roll against toughness, 1d(toughness modifier) and a save target of 2. If all three penetration attempts fail, the character will take {{heart}} 2 damage.
If the player character is at 0 water, every action causes the character to save against a penetration roll against toughness, 1d(toughness modifier) and a save target of 2. If all three penetration attempts fail, the character will take {{heart}} 2 damage.
In addition, all natural healing will be disabled.{{Code Reference | class=Stomach | method=ProcessNaturalHealing}}
==Passive Thirst==
==Passive Thirst==
How fast thirst decreases is calculated by the creature's [[Quickness]] divided by 5. If the creature has [[Amphibious]], this amount is divided by 3 instead. Assuming that the creature has normal quickness, the water amount will decrease by 20 every action.  
How fast thirst decreases is calculated by the creature's [[Quickness]] divided by 5. If the creature has [[Amphibious]], this amount is divided by 3 instead. Assuming that the creature has normal quickness, the water amount will decrease by 20 every action.  
Line 42: Line 46:


==Thirst in Combat==
==Thirst in Combat==
Several creatures have ways of removing or increasing a creatures thirst level. If the creature is [[Amphibious]], The amount increased or decreased is divided by 10. [[Amphibious]] creatures are unable to go past their max water level (50,000) through this method.
Several creatures have ways of removing or increasing a creatures thirst level. If the creature is {{favilink|Amphibious}}, the amount increased or decreased is divided by 10. Amphibious creatures are unable to go past their max water level (50,000) through this method.


*{{favilink|thirst thistle|plural}} are stationary plant turrets that fire bullets. If these penetrate, thirst is decreased by 1-60,000 units.<ref>XRL.World.Parts.ThirstOnHit.cs</ref>
*{{favilink|thirst thistle|plural}} are stationary plant turrets that attack with their {{favilink|thistle pitcher}}. If an attack hits, thirst is decreased by 1-60,000 units.<ref>XRL.World.Parts.ThirstOnHit.cs</ref>


*{{favilink|sludge|plural}} with {{favilink|watery pseudopod|plural}} are able to force the creature into quenching 60,000 units of thirst. This guarantees that the creature will vomit.<ref>XRL.World.Parts.QuenchOnHit.cs</ref>
*{{favilink|soupy sludge|plural}} with {{favilink|watery pseudopod|plural}} are able to force the creature into quenching 60,000 units of thirst. This guarantees that the creature will vomit.<ref>XRL.World.Parts.QuenchOnHit.cs</ref>
**Sludges bearing {{favilink|salty pseudopod|plural}} will dessicate target instead, setting their thirst level to 0.


==References==
==References==
26

edits