Vitamins: Difference between revisions

From PZwiki
No edit summary
m (Checked content and updated version to 40.43)
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!--this section is for the infobox which will be positioned on the right of the page. Image.png is the default question mark image-->
{{languages|Vitamins}}
{{Items
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}}{{Infobox drainable
|image = Vitamins.png  
|display_name=Vitamins
|name_colour=Medical
|name_text_colour=Medical
|image = Vitamins_120px.png
|weight = 0.2
|weight = 0.2
}} <!--/infobox-->
|primary_use = Reduce [[Moodles#Endurance|exhaustion]]
Vitamins work to reduce [[moodles#Tired|fatigue]]. They are usually found in medicine cabinets and in medical buildings, such as Cortman Medical; they can also occur as a rare drop on [[zombie]] corpses.
|content = Vitamins
|max_units = 10
|fatigue_change = -2
|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]].


<!--
==Usage==
== Crafting ==
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.
ITEM NAME can be used in the following recipes:
 
==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]].
 
==Trivia==
*Vitamins have no direct effect on tiredness, however by reducing exhaustion, vitamins are indirectly affecting tiredness to some extent.
 
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
<pre> item PillsVitamins
        FatigueChange = -2,
Weight = 0.2,
        UseDelta = 0.1,
Type = Drainable,
UseWhileEquipped = FALSE,
DisplayName = Vitamins,
Icon = Vitamins,
Tooltip = Tooltip_Vitamins,</pre>
 
== See also ==
[[First_Aid|General First Aid]]


{| class="wikitable" width="550" style="text-align:center;"
|-
! Ingredients || Other Items || Output || Description
|-
| Ingredient + [[Ingredient]] || None || [[What the recipe makes]] || Brief description of what it makes.
|}
-->
==Code==
<nowiki>
item Vitamins
{
  FatigueChange = -2,
Weight = 0.2,
        UseDelta = 0.1,
Type = Drainable,
UseWhileEquipped = FALSE,
DisplayName = Vitamins,
Icon = Vitamins,
}</nowiki>
{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:items]]

Revision as of 06:18, 5 July 2019

Vitamins
Vitamins
General
Category Item
Encumbrance
Heavy Load
0.2
Function Reduce exhaustion
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 exhaustion/endurance and not to be confused with tiredness. Taking vitamins is ideal when the player is running a long distance or fighting a large amount of zombies, which will begin to make them feel exhausted, slowing down movement 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.

Trivia

  • Vitamins have no direct effect on tiredness, however by reducing exhaustion, vitamins are indirectly affecting tiredness to some extent.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43

	item PillsVitamins
        	FatigueChange		= -2,
		Weight			= 0.2,
        	UseDelta		= 0.1,
		Type			= Drainable,
		UseWhileEquipped	= FALSE,
		DisplayName		= Vitamins,
		Icon			= Vitamins,
		Tooltip 		= Tooltip_Vitamins,

See also

General First Aid

Template:Navbox/Consumables