Painkillers: Difference between revisions
m (Automated 'items' capitalisation) |
m (Remove lines)) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{{Infobox item | {{Infobox item | ||
|name=Painkillers | |name=Painkillers | ||
|model=PillsPainkiller_Model.png | |model=PillsPainkiller_Model.png | ||
|icon=PillsPainkiller.png | |icon=PillsPainkiller.png | ||
|icon_name=Painkillers | |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 | |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 [[Items|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. | ||
Line 28: | Line 25: | ||
! colspan="4" | Containers | ! colspan="4" | Containers | ||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
! style="width: 3.2em;" |Rolls | ! style="width: 3.2em;" | Rolls | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
| rowspan=" | |rowspan="2"|MedicalCache1 | ||
| [[MedicalBox]] | |[[MedicalBox]] | ||
| 4 | |4 | ||
| | |1 | ||
|- | |- | ||
| rowspan="4"|all | |[[MedicalBox]] | ||
| [[militarycrate]] | |4 | ||
| 4 | |2 | ||
| 1 | |- | ||
|rowspan="4"|all | |||
|[[militarycrate]] | |||
|4 | |||
|1 | |||
|- | |- | ||
|[[militarycrate]] | |[[militarycrate]] | ||
Line 55: | Line 56: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="3"|bathroom | |rowspan="3"|bathroom | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 4 | |4 | ||
|- | |- | ||
|[[medicine]] | |[[medicine]] | ||
Line 68: | Line 69: | ||
|4 | |4 | ||
|- | |- | ||
| rowspan="3"|bedroom | |rowspan="3"|bedroom | ||
| [[desk]] | |[[desk]] | ||
| 4 | |4 | ||
| 0.5 | |0.5 | ||
|- | |- | ||
|[[dresser]] | |[[dresser]] | ||
Line 81: | Line 82: | ||
|0.5 | |0.5 | ||
|- | |- | ||
| rowspan="2"|conveniencestore | |rowspan="2"|conveniencestore | ||
| [[shelves]] | |[[shelves]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[shelves]] | |[[shelves]] | ||
Line 90: | Line 91: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="5"|dentiststorage | |rowspan="5"|dentiststorage | ||
| [[metal_shelves]] | |[[metal_shelves]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[metal_shelves]] | |[[metal_shelves]] | ||
Line 111: | Line 112: | ||
|5 | |5 | ||
|- | |- | ||
| rowspan="2"|druglab | |rowspan="2"|druglab | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[counter]] | |[[counter]] | ||
Line 120: | Line 121: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="2"|drugshack | |rowspan="2"|drugshack | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[counter]] | |[[counter]] | ||
Line 129: | Line 130: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="6"|kennels | |rowspan="6"|kennels | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[counter]] | |[[counter]] | ||
Line 154: | Line 155: | ||
|2 | |2 | ||
|- | |- | ||
|laboratory | |||
| [[crate]] | |[[crate]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|prisoncells | |||
| [[wardrobe]] | |[[wardrobe]] | ||
| 4 | |4 | ||
| 0.5 | |0.5 | ||
|} | |} | ||
Line 170: | Line 171: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 1147 | ||
| source = items.txt | | source = items.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item Pills | 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, | |||
} | |||
}} | |||
}} | }} | ||
Line 193: | Line 196: | ||
*[[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,
}