Vitamins: Difference between revisions
(Switched endurance with tiredness and updated code) |
m (Remove 120px, minor fixes) |
||
Line 1: | Line 1: | ||
{{ | {{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=50}}{{Infobox drainable | ||
{{ | |||
|display_name=Vitamins | |display_name=Vitamins | ||
|name_colour=Medical | |name_colour=Medical | ||
|name_text_colour=Medical | |name_text_colour=Medical | ||
|image = | |image=Vitamins.png | ||
|weight = 0.2 | |weight=0.2 | ||
|primary_use = Reduce [[Moodles#Tired|tiredness]] | |primary_use=Reduce [[Moodles#Tired|tiredness]] | ||
|content = Vitamins | |content=Vitamins | ||
|max_units = 10 | |max_units=10 | ||
|fatigue_change = -2 | |fatigue_change=-2 | ||
|class_name = Base.PillsVitamins | |class_name=Base.PillsVitamins | ||
}}{{quote|text=Provides a burst of energy when taken. Reduces fatigue.|author=In-game tooltip}}'''Vitamins''' are a drainable [[item]] used in [[First Aid|first aid]]. | }}{{quote|text=Provides a burst of energy when taken. Reduces fatigue.|author=In-game tooltip}}'''Vitamins''' are a drainable [[item]] used in [[First Aid|first aid]]. | ||
Line 19: | Line 18: | ||
They are usually found in [[Containers#Cabinets|medicine cabinets]], in medical buildings, such as [[Cortman Medical]] and occur as a rare drop on zombie [[Containers#Corpses|corpses]]. | They are usually found in [[Containers#Cabinets|medicine cabinets]], in medical buildings, such as [[Cortman Medical]] and occur as a rare drop on zombie [[Containers#Corpses|corpses]]. | ||
== Code == | ==Code== | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver=50}} | {{Retrieved|version=41|incver=50}} | ||
<pre> item PillsVitamins | <pre> | ||
item PillsVitamins | |||
FatigueChange = -2, | FatigueChange = -2, | ||
Weight = 0.2, | Weight = 0.2, | ||
Line 32: | Line 32: | ||
Tooltip = Tooltip_Vitamins, | Tooltip = Tooltip_Vitamins, | ||
StaticModel = PillBottle, | StaticModel = PillBottle, | ||
Medical = TRUE,</pre> | Medical = TRUE, | ||
</pre> | |||
== See also == | ==See also== | ||
[[ | [[First Aid] | ||
{{Navbox/Consumables}} | {{Navbox/Consumables}} |
Revision as of 21:02, 26 February 2023
Vitamins | |
---|---|
General | |
Category | Item |
Encumbrance | 0.2 |
Function | Reduce tiredness |
Capacity | 10 units |
Fatigue | -2 |
Technical details | |
item ID | Base.PillsVitamins |
Vitamins are a drainable item used in first aid.
Usage
Vitamins are used to reduce fatigue, which is commonly known as tiredness and not to be confused with exhaustion/endurance. However, fatigue does have a direct correlation with endurance as the more tired the character is, the harder it is for them to regain their stamina. Taking vitamins is ideal when the player is running a long distance or fighting a large amount of zombies, which will exhaust them quickly, slowing down movement, weakening their attacks, and reducing weapon accuracy.
Distribution
They are usually found in medicine cabinets, in medical buildings, such as Cortman Medical and occur as a rare drop on zombie corpses.
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item PillsVitamins FatigueChange = -2, Weight = 0.2, UseDelta = 0.1, Type = Drainable, UseWhileEquipped = FALSE, DisplayName = Vitamins, Icon = Vitamins, Tooltip = Tooltip_Vitamins, StaticModel = PillBottle, Medical = TRUE,
See also
[[First Aid]