Vitamins: Difference between revisions
m (Updated distribution table) |
m (Automated CodeBox update) |
||
Line 96: | Line 96: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 1865 | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item PillsVitamins | 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, | |||
} | |||
}} | |||
}} | }} | ||
Revision as of 01:58, 25 March 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,
}