Vitamins: Difference between revisions
mNo edit summary |
m (Remove lines)) |
||
(29 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Medical items}} | ||
{{Page version|41.78.16}} | |||
{{ | {{Infobox item | ||
| | |name=Vitamins | ||
|weight = 0.2 | |model=Vitamins_Model.png | ||
}} | |icon=Vitamins.png | ||
Vitamins | |icon_name=Vitamins | ||
|weight=0.2 | |||
|primary_use=Reduce [[Tired|tiredness]] | |||
|content=Vitamins | |||
|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== | |||
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== | ||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
== | ! colspan="4" | Containers | ||
|- | |||
! Building/Room | |||
! 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== | ==Code== | ||
{{CodeBox | |||
item | | {{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, | Weight = 0.2, | ||
UseDelta = 0.1, | UseDelta = 0.1, | ||
Line 33: | Line 108: | ||
DisplayName = Vitamins, | DisplayName = Vitamins, | ||
Icon = 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
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
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,
}