Vitamins: Difference between revisions

From PZwiki
m (Checked content and updated version to 40.43)
(Switched endurance with tiredness and updated code)
Line 1: Line 1:
{{languages|Vitamins}}
{{languages|Vitamins}}
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}}{{Infobox drainable
{{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
Line 6: Line 6:
|image = Vitamins_120px.png
|image = Vitamins_120px.png
|weight = 0.2
|weight = 0.2
|primary_use = Reduce [[Moodles#Endurance|exhaustion]]
|primary_use = Reduce [[Moodles#Tired|tiredness]]
|content = Vitamins
|content = Vitamins
|max_units = 10
|max_units = 10
Line 14: Line 14:


==Usage==
==Usage==
Vitamins are used to reduce fatigue, which is commonly known as [[moodles#Endurance|exhaustion/endurance]] and not to be confused with [[moodles#Tired|tiredness]]. Taking vitamins is ideal when the player is running a long distance or fighting a large amount of [[zombie]]s, which will begin to make them feel exhausted, slowing down movement and reducing weapon accuracy.
Vitamins are used to reduce fatigue, which is commonly known as [[moodles#Tired|tiredness]] and not to be confused with [[moodles#Endurance|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 [[zombie]]s, which will exhaust them quickly, slowing down movement, weakening their attacks, and reducing weapon accuracy.


==Distribution==
==Distribution==
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]].
==Trivia==
*Vitamins have no direct effect on tiredness, however by reducing exhaustion, vitamins are indirectly affecting tiredness to some extent.


== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=41|incver=50}}
<pre> item PillsVitamins
<pre> item PillsVitamins
         FatigueChange = -2,
         FatigueChange = -2,
Line 33: Line 30:
DisplayName = Vitamins,
DisplayName = Vitamins,
Icon = Vitamins,
Icon = Vitamins,
Tooltip = Tooltip_Vitamins,</pre>
Tooltip = Tooltip_Vitamins,
                StaticModel            = PillBottle,
Medical                = TRUE,</pre>


== See also ==
== See also ==

Revision as of 02:42, 11 July 2021

Vitamins
Vitamins
General
Category Item
Encumbrance
Heavy Load
0.2
Function Reduce tiredness
Capacity 10 units
Fatigue
Endurance
-2
Technical details
item ID Base.PillsVitamins
Provides a burst of energy when taken. Reduces fatigue.
— In-game tooltip

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

General First Aid

Template:Navbox/Consumables