Painkillers: Difference between revisions
m (Minor) |
m (Remove lines)) |
||
(21 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Medical items}} | |||
{{Header| | {{Page version|41.50}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Painkillers | ||
| | |model=PillsPainkiller_Model.png | ||
| | |icon=PillsPainkiller.png | ||
| | |icon_name=Painkillers | ||
|weight=0.2 | |weight=0.2 | ||
|primary_use=Reduce [[ | |primary_use=Reduce [[Pain|pain]] | ||
|max_units=10 | |max_units=10 | ||
| | |item_id=Base.Pills | ||
}} | }} | ||
{{Quote|text=Reduce feelings of pain|author=In-game tooltip.}} | {{Quote|text=Reduce feelings of pain|author=In-game tooltip.}} | ||
'''Painkillers''' are a drainable [[item]] used in [[First Aid|first aid]]. | '''Painkillers''' are a drainable [[Items|item]] used in [[First Aid|first aid]]. | ||
==Usage== | ==Usage== | ||
Painkillers are used to remove [[ | Painkillers are used to remove [[Pain|pain]] caused by [[Health|injuries]], while also reversing the effects associated with it. Severe pain can prevent the player from [[sleep]]ing and decrease weapon accuracy, therefore making painkillers a handy accessory. | ||
A full painkiller packet can be used 10 times before being exhausted. Taking multiple painkillers will not impose any negative effects upon the player, and will even improve its effect. | A full painkiller packet can be used 10 times before being exhausted. Taking multiple painkillers will not impose any negative effects upon the player, and will even improve its effect. | ||
==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"|MedicalCache1 | |||
|[[MedicalBox]] | |||
|4 | |||
|1 | |||
|- | |||
|[[MedicalBox]] | |||
|4 | |||
|2 | |||
|- | |||
|rowspan="4"|all | |||
|[[militarycrate]] | |||
|4 | |||
|1 | |||
|- | |||
|[[militarycrate]] | |||
|4 | |||
|1 | |||
|- | |||
|[[militarycrate]] | |||
|4 | |||
|2 | |||
|- | |||
|[[militarycrate]] | |||
|4 | |||
|2 | |||
|- | |||
|rowspan="3"|bathroom | |||
|[[counter]] | |||
|4 | |||
|4 | |||
|- | |||
|[[medicine]] | |||
|4 | |||
|4 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|4 | |||
|- | |||
|rowspan="3"|bedroom | |||
|[[desk]] | |||
|4 | |||
|0.5 | |||
|- | |||
|[[dresser]] | |||
|4 | |||
|0.5 | |||
|- | |||
|[[sidetable]] | |||
|4 | |||
|0.5 | |||
|- | |||
|rowspan="2"|conveniencestore | |||
|[[shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|2 | |||
|- | |||
|rowspan="5"|dentiststorage | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|2 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|2 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|5 | |||
|- | |||
|rowspan="2"|druglab | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|2 | |||
|- | |||
|rowspan="2"|drugshack | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|2 | |||
|- | |||
|rowspan="6"|kennels | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|2 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|2 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|2 | |||
|- | |||
|laboratory | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |||
|prisoncells | |||
|[[wardrobe]] | |||
|4 | |||
|0.5 | |||
|} | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
Weight | | start = 1147 | ||
Type | | source = items.txt | ||
| retrieved = true | |||
UseWhileEquipped = FALSE, | | version = 41.78.16 | ||
DisplayName | | code = | ||
Icon | item Pills | ||
Tooltip | { | ||
DisplayCategory = FirstAid, | |||
Medical | Weight = 0.2, | ||
Type = Drainable, | |||
UseDelta = 0.1, | |||
UseWhileEquipped = FALSE, | |||
DisplayName = Painkillers, | |||
Icon = PillsPainkiller, | |||
Tooltip = Tooltip_Painkillers, | |||
StaticModel = PillBottle, | |||
WorldStaticModel = PainKillers_Ground, | |||
Medical = TRUE, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[First Aid]] | *[[First Aid]] | ||
{{Navbox medical}} | {{Navbox items|medical}} |
Revision as of 07:14, 15 April 2024
Painkillers are a drainable item used in first aid.
Usage
Painkillers are used to remove pain caused by injuries, while also reversing the effects associated with it. Severe pain can prevent the player from sleeping and decrease weapon accuracy, therefore making painkillers a handy accessory.
A full painkiller packet can be used 10 times before being exhausted. Taking multiple painkillers will not impose any negative effects upon the player, and will even improve its effect.
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
MedicalCache1 | MedicalBox | 4 | 1 |
MedicalBox | 4 | 2 | |
all | militarycrate | 4 | 1 |
militarycrate | 4 | 1 | |
militarycrate | 4 | 2 | |
militarycrate | 4 | 2 | |
bathroom | counter | 4 | 4 |
medicine | 4 | 4 | |
shelves | 4 | 4 | |
bedroom | desk | 4 | 0.5 |
dresser | 4 | 0.5 | |
sidetable | 4 | 0.5 | |
conveniencestore | shelves | 4 | 1 |
shelves | 4 | 2 | |
dentiststorage | metal_shelves | 4 | 1 |
metal_shelves | 4 | 1 | |
metal_shelves | 4 | 2 | |
metal_shelves | 4 | 2 | |
metal_shelves | 4 | 5 | |
druglab | counter | 4 | 1 |
counter | 4 | 2 | |
drugshack | counter | 4 | 1 |
counter | 4 | 2 | |
kennels | counter | 4 | 1 |
counter | 4 | 1 | |
counter | 4 | 2 | |
counter | 4 | 2 | |
counter | 4 | 1 | |
counter | 4 | 2 | |
laboratory | crate | 4 | 1 |
prisoncells | wardrobe | 4 | 0.5 |
Code
Source: ProjectZomboid\media\scripts\items.txt
item Pills
{
DisplayCategory = FirstAid,
Weight = 0.2,
Type = Drainable,
UseDelta = 0.1,
UseWhileEquipped = FALSE,
DisplayName = Painkillers,
Icon = PillsPainkiller,
Tooltip = Tooltip_Painkillers,
StaticModel = PillBottle,
WorldStaticModel = PainKillers_Ground,
Medical = TRUE,
}