Vitamins: Difference between revisions
(Added 3d Model and removed reupload tag) |
(Automated update of distribution header) |
||
Line 21: | Line 21: | ||
Vitamins are used to reduce fatigue, which is commonly known as [[moodles#Tired|tiredness]] and not to be confused with [[moodles#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. | Vitamins are used to reduce fatigue, which is commonly known as [[moodles#Tired|tiredness]] and not to be confused with [[moodles#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. | ||
{{clear}} | |||
==Distribution== | ==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="2"|bathroom | |||
| [[medicine]] | |||
| 4 | |||
| 4 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|4 | |||
|- | |||
| rowspan="4"|bedroom | |||
| [[desk]] | |||
| 4 | |||
| 1 | |||
|- | |||
|[[desk]] | |||
|4 | |||
|1 | |||
|- | |||
|[[dresser]] | |||
|4 | |||
|1 | |||
|- | |||
|[[sidetable]] | |||
|4 | |||
|1 | |||
|- | |||
| rowspan="1"|closet | |||
| [[crate]] | |||
| 4 | |||
| 1 | |||
|- | |||
| rowspan="4"|conveniencestore | |||
| [[shelves]] | |||
| 4 | |||
| 1 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|2 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|2 | |||
|- | |||
| rowspan="1"|office | |||
| [[desk]] | |||
| 4 | |||
| 1 | |||
|} | |||
==Code== | ==Code== |
Revision as of 10:12, 11 February 2024
Vitamins | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.2 | |
Function | Reduce tiredness | |
Capacity | 10 units | |
Fatigue | -2 | |
Technical details | ||
item ID | Base.PillsVitamins |
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 | 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
{
FatigueChange = -2,
Weight = 0.2,
UseDelta = 0.1,
Type = Drainable,
UseWhileEquipped = FALSE,
DisplayName = Vitamins,
Icon = Vitamins,
Tooltip = Tooltip_Vitamins,
StaticModel = PillBottle,
Medical = TRUE,
}