Vitamins: Difference between revisions

From PZwiki
m (minor)
m (Distribution table update)
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Medical items}}
{{Header|Project Zomboid|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=50}}
{{Page version|41.78.16}}
{{Infobox drainable
{{Infobox item
|display_name=Vitamins
|name=Vitamins
|name_colour=Medical
|model=Vitamins_Model.png
|name_text_colour=Medical
|icon=Vitamins.png
|image=Vitamins_Model.png
|icon_name=Vitamins
|alternate_image=Vitamins.png
|alternate_name=Vitamins
|weight=0.2
|weight=0.2
|primary_use=Reduce [[Moodles#Tired|tiredness]]
|primary_use=Reduce [[Tired|tiredness]]
|content=Vitamins
|content=Vitamins
|max_units=10
|max_units=10
|fatigue_change=-2
|fatigue_change=-2
|class_name=Base.PillsVitamins
|item_id=Base.PillsVitamins
}}
}}
{{Quote|text=Provides a burst of energy when taken. Reduces fatigue.|author=In-game tooltip}}
{{Quote|text=Provides a burst of energy when taken. Reduces fatigue.|author=In-game tooltip}}
'''Vitamins''' are a drainable [[item]] used in [[First Aid|first aid]].
'''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 [[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 [[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.
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;"
<!--BOT FLAG|PillsVitamins|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>PillsVitamins distribution
!Container
        <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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PillsVitamins">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="2"|bathroom
    |+ {{ll|Containers}}
| [[medicine]]
    ! Building / Room
| 4  
    ! Container
| 4
    ! Rolls
|-
    ! Chance
|[[shelves]]
    |-
|4
    | all
|4
    | {{ll|Handbag}}
|-
    | 1
| rowspan="4"|bedroom
    | 1.0
| [[desk]]
    |-
| 4  
    | all
| 1
    | {{ll|inventoryfemale}}
|-
    | 1
|[[desk]]
    | 0.1
|4
    |-
|1
    | all
|-
    | {{ll|medicine}}
|[[dresser]]
    | 4
|4
    | 4.0
|1
    |-
|-
    | all
|[[sidetable]]
    | {{ll|sidetable}}
|4
    | 1
|1
    | 1.0
|-
    |-
| rowspan="1"|closet
    | bathroom
| [[crate]]
    | {{ll|counter}}
| 4  
    | 4
| 1
    | 4.0
|-
    |-
| rowspan="4"|conveniencestore
    | bathroom
| [[shelves]]
    | {{ll|medicine}}
| 4  
    | 4
| 1
    | 4.0
|-
    |-
|[[shelves]]
    | bathroom
|4
    | {{ll|shelves}}
|1
    | 4
|-
    | 4.0
|[[shelves]]
    |-
|4
    | bedroom
|2
    | {{ll|desk}}
|-
    | 4
|[[shelves]]
    | 1.0
|4
    |-
|2
    | bedroom
|-
    | {{ll|dresser}}
| rowspan="1"|office  
    | 4
| [[desk]]
    | 1.0
| 4  
    |-
| 1
    | 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==
Line 91: Line 116:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 1865
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41.50
   | version = 41.78.16
   | code =
   | code =
item PillsVitamins
item PillsVitamins
{
{
    FatigueChange = -2,
    DisplayCategory = FirstAid,
    Weight = 0.2,
        FatigueChange = -2,
    UseDelta = 0.1,
Weight = 0.2,
    Type = Drainable,
        UseDelta = 0.1,
    UseWhileEquipped = FALSE,
Type = Drainable,
    DisplayName = Vitamins,
UseWhileEquipped = FALSE,
    Icon = Vitamins,
DisplayName = Vitamins,
    Tooltip = Tooltip_Vitamins,
Icon = Vitamins,
    StaticModel = PillBottle,
Tooltip = Tooltip_Vitamins,
    Medical = TRUE,
StaticModel = PillBottle,
}
WorldStaticModel = Vitamins_Ground,
  }}
Medical = TRUE,
}
}}
}}
}}


Line 115: Line 142:
*[[First Aid]]
*[[First Aid]]


{{Navbox medical}}
{{Navbox items|medical}}

Revision as of 16:57, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Vitamins
Vitamins Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Reduce tiredness
Properties
Capacity
10 units
Effect
FatigueMoodle Icon Tired.png
-2
Technical
Item ID
Base.PillsVitamins
Provides a burst of energy when taken. Reduces fatigue.
— In-game tooltip

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.

PillsVitamins distribution Show / Hide
Containers
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

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
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