Vitamins: Difference between revisions

From PZwiki
(Redesigned page, + Navbox, slight description alteration, + categories, confirmed info on pills was correct. + link to first aid.)
m (Remove lines))
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Medical items}}
{{languages|Vitamins}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Vitamins
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Medical Items|Medical Items]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Vitamins_Model.png
{{Medical
|icon=Vitamins.png
|image = Vitamins.png
|icon_name=Vitamins
|primaryuse= Relieve Drowsiness/Tiredness
|weight=0.2
|bandagepower = 0.0
|primary_use=Reduce [[Tired|tiredness]]
|alcoholpower = 0.0
|content=Vitamins
|weight = 0.2
|max_units=10
|fatigue_change=-2
|item_id=Base.PillsVitamins
}}
}}
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; they are also drainable, and a full container can be used 10 times before it is exhausted.
{{Quote|text=Provides a burst of energy when taken. Reduces fatigue.|author=In-game tooltip}}
'''Vitamins''' are a drainable [[Items|item]] used in [[First Aid|first aid]].


== Effect ==
==Usage==
Vitamins provide -2 Fatigue for your character, making your character less [[Moodles#Tired|drowsy]].
Vitamins are used to reduce fatigue, which is commonly known as [[Tired|tiredness]] and not to be confused with [[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.
<br><br><br><br><br><br>
== Code ==
''Vitamin Pills'' [[File:Vitamins.png]]
<nowiki>
item PillsVitamins
        FatigueChange = -2,
Weight = 0.2,
        UseDelta = 0.1,
Type = Drainable,
UseWhileEquipped = FALSE,
DisplayName = Vitamins,
Icon = Vitamins,
Tooltip = Tooltip_Vitamins,
</nowiki>


== See Also ==
==Distribution==
[[First_Aid|General First Aid]]
The loot distributions can be found in the table(s) below.


{{Navbox/Consumables}}
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
[[Category:Consumables]]
! colspan="4" | Containers
[[Category:Medical Items]]
|-
[[Category:Items]]
! Building/Room
[[Category:Version 34.28]]
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|bathroom
|[[counter]]
|4
|4
|-
|[[medicine]]
|4
|4
|-
|[[shelves]]
|4
|4
|-
|rowspan="4"|bedroom
|[[desk]]
|4
|1
|-
|[[desk]]
|4
|1
|-
|[[dresser]]
|4
|1
|-
|[[sidetable]]
|4
|1
|-
|closet
|[[crate]]
|4
|1
|-
|rowspan="4"|conveniencestore
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|-
|[[shelves]]
|4
|2
|-
|office
|[[desk]]
|4
|1
|}
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1865
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PillsVitamins
{
    DisplayCategory = FirstAid,
        FatigueChange = -2,
Weight = 0.2,
        UseDelta = 0.1,
Type = Drainable,
UseWhileEquipped = FALSE,
DisplayName = Vitamins,
Icon = Vitamins,
Tooltip = Tooltip_Vitamins,
StaticModel = PillBottle,
WorldStaticModel = Vitamins_Ground,
Medical = TRUE,
}
}}
}}
 
==See also==
*[[First Aid]]
 
{{Navbox items|medical}}

Revision as of 07:38, 15 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Vitamins
Vitamins Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Reduce tiredness
Properties
Capacity
10 units
Effect
FatigueMoodle Icon Tired.png
-2
Technical
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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
bathroom counter 4 4
medicine 4 4
shelves 4 4
bedroom desk 4 1
desk 4 1
dresser 4 1
sidetable 4 1
closet crate 4 1
conveniencestore shelves 4 1
shelves 4 1
shelves 4 2
shelves 4 2
office desk 4 1

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item PillsVitamins
	{
	    DisplayCategory = FirstAid,
        FatigueChange	=	-2,
		Weight	=	0.2,
        UseDelta	=	0.1,
		Type	=	Drainable,
		UseWhileEquipped	=	FALSE,
		DisplayName	=	Vitamins,
		Icon	=	Vitamins,
		Tooltip = Tooltip_Vitamins,
		StaticModel = PillBottle,
		WorldStaticModel = Vitamins_Ground,
		Medical = TRUE,
	}

See also