Vitamins

From PZwiki
Revision as of 20:58, 4 April 2023 by Faalagorn (talk | contribs) (Fix link, replace navbox)
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

Template:Navbox medical