Vitamins: Difference between revisions
(added vitamin page) |
(Update distribution file) |
||
(42 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Medical items}} | |||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
|weight = | |name=Vitamins | ||
}} | |model=Vitamins_Model.png | ||
Vitamins | |icon=Vitamins.png | ||
|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. | ||
! | |||
|- | <!--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"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Handbag | |||
| {{ll|Handbag}} | |||
| 1.01% | |||
|- | |||
| Purse | |||
| {{ll|Purse}} | |||
| 1.01% | |||
|- | |||
| all | |||
| {{ll|inventoryfemale}} | |||
| 0.47% | |||
|- | |||
| all | |||
| {{ll|inventorymale}} | |||
| 0.47% | |||
|- | |||
| all | |||
| {{ll|medicine}} | |||
| 10.78% | |||
|- | |||
| bathroom | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| bathroom | |||
| {{ll|medicine}} | |||
| 10.78% | |||
|- | |||
| bathroom | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| bedroom | |||
| {{ll|desk}} | |||
| 3.98% | |||
|- | |||
| bedroom | |||
| {{ll|dresser}} | |||
| 3.98% | |||
|- | |||
| bedroom | |||
| {{ll|sidetable}} | |||
| 3.98% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| conveniencestore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| conveniencestore | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| cornerstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| cornerstore | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| fossoil | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| fossoil | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| gasstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| gasstore | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| motelroomoccupied | |||
| {{ll|sidetable}} | |||
| 1.01% | |||
|- | |||
| office | |||
| {{ll|desk}} | |||
| 3.98% | |||
|- | |||
| pharmacy | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| pharmacy | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| policestorage | |||
| {{ll|counter}} | |||
| 3.98% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| zippeestore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| zippeestore | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|} | |||
</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== | |||
{{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}} |
Latest revision as of 14:14, 30 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 | Effective chance |
---|---|---|
Handbag | Handbag | 1.01% |
Purse | Purse | 1.01% |
all | inventoryfemale | 0.47% |
all | inventorymale | 0.47% |
all | medicine | 10.78% |
bathroom | counter | 10.78% |
bathroom | medicine | 10.78% |
bathroom | shelves | 10.78% |
bedroom | desk | 3.98% |
bedroom | dresser | 3.98% |
bedroom | sidetable | 3.98% |
closet | crate | 3.98% |
conveniencestore | shelves | 23.28% |
conveniencestore | shelves | 41.14% |
cornerstore | shelves | 23.28% |
cornerstore | shelves | 41.14% |
fossoil | shelves | 23.28% |
fossoil | shelves | 41.14% |
garagestorage | crate | 3.98% |
gasstore | shelves | 23.28% |
gasstore | shelves | 41.14% |
generalstore | shelves | 23.28% |
generalstore | shelves | 41.14% |
generalstorestorage | shelves | 23.28% |
generalstorestorage | shelves | 41.14% |
motelroomoccupied | sidetable | 1.01% |
office | desk | 3.98% |
pharmacy | shelves | 23.28% |
pharmacy | shelves | 41.14% |
policestorage | counter | 3.98% |
storageunit | crate | 3.98% |
zippeestore | shelves | 23.28% |
zippeestore | shelves | 41.14% |
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,
}