Vitamins: Difference between revisions
m (Checked content and updated version to 40.43) |
m (Distribution table update) |
||
(24 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Medical items}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Vitamins | ||
| | |model=Vitamins_Model.png | ||
| | |icon=Vitamins.png | ||
|weight = 0.2 | |icon_name=Vitamins | ||
|primary_use = Reduce [[ | |weight=0.2 | ||
|content = Vitamins | |primary_use=Reduce [[Tired|tiredness]] | ||
|max_units = 10 | |content=Vitamins | ||
|fatigue_change = -2 | |max_units=10 | ||
| | |fatigue_change=-2 | ||
}}{{ | |item_id=Base.PillsVitamins | ||
}} | |||
{{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]]. | |||
==Usage== | ==Usage== | ||
Vitamins are used to reduce fatigue, which is commonly known as [[ | 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. | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|PillsVitamins|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>PillsVitamins distribution | |||
<span class="mw-customtoggle-togglebox-PillsVitamins" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PillsVitamins"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| all | |||
| {{ll|Handbag}} | |||
| 1 | |||
| 1.0 | |||
|- | |||
| all | |||
| {{ll|inventoryfemale}} | |||
| 1 | |||
| 0.1 | |||
|- | |||
| all | |||
| {{ll|medicine}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| all | |||
| {{ll|sidetable}} | |||
| 1 | |||
| 1.0 | |||
|- | |||
| bathroom | |||
| {{ll|counter}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| bathroom | |||
| {{ll|medicine}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| bathroom | |||
| {{ll|shelves}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| bedroom | |||
| {{ll|desk}} | |||
| 4 | |||
| 1.0 | |||
|- | |||
| bedroom | |||
| {{ll|dresser}} | |||
| 4 | |||
| 1.0 | |||
|- | |||
| bedroom | |||
| {{ll|sidetable}} | |||
| 4 | |||
| 1.0 | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 4 | |||
| 1.0 | |||
|- | |||
| conveniencestore | |||
| {{ll|shelves}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| conveniencestore | |||
| {{ll|shelves}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| office | |||
| {{ll|desk}} | |||
| 4 | |||
| 1.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-PillsVitamins" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|PillsVitamins|41.78.16--> | |||
== Code == | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
Weight | | start = 1865 | ||
| source = newitems.txt | |||
Type | | retrieved = true | ||
UseWhileEquipped = FALSE, | | version = 41.78.16 | ||
DisplayName | | code = | ||
Icon | item PillsVitamins | ||
Tooltip = | { | ||
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 == | ==See also== | ||
[[ | *[[First Aid]] | ||
{{Navbox | {{Navbox items|medical}} |
Latest revision as of 16:57, 24 April 2024
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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
all | Handbag | 1 | 1.0 |
all | inventoryfemale | 1 | 0.1 |
all | medicine | 4 | 4.0 |
all | sidetable | 1 | 1.0 |
bathroom | counter | 4 | 4.0 |
bathroom | medicine | 4 | 4.0 |
bathroom | shelves | 4 | 4.0 |
bedroom | desk | 4 | 1.0 |
bedroom | dresser | 4 | 1.0 |
bedroom | sidetable | 4 | 1.0 |
closet | crate | 4 | 1.0 |
conveniencestore | shelves | 4 | 20.0 |
conveniencestore | shelves | 4 | 10.0 |
office | desk | 4 | 1.0 |
Code
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}