Painkillers: Difference between revisions

From PZwiki
m (Automated linking update.)
m (Remove lines))
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{Infobox item
{{Infobox item
|name=Painkillers
|name=Painkillers
|name_colour=Medical
|name_text_colour=Medical
|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 [[Moodles#Pain|pain]]
|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 [[Moodles#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.
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 27: 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="1"|MedicalCache1
|rowspan="2"|MedicalCache1
| [[MedicalBox]]
|[[MedicalBox]]
| 4
|4
| 2
|1
|-
|-
| rowspan="4"|all
|[[MedicalBox]]
| [[militarycrate]]
|4
| 4
|2
| 1
|-
|rowspan="4"|all
|[[militarycrate]]
|4
|1
|-
|-
|[[militarycrate]]
|[[militarycrate]]
Line 54: Line 56:
|2
|2
|-
|-
| rowspan="3"|bathroom
|rowspan="3"|bathroom
| [[counter]]
|[[counter]]
| 4
|4
| 4
|4
|-
|-
|[[medicine]]
|[[medicine]]
Line 67: Line 69:
|4
|4
|-
|-
| rowspan="3"|bedroom
|rowspan="3"|bedroom
| [[desk]]
|[[desk]]
| 4
|4
| 0.5
|0.5
|-
|-
|[[dresser]]
|[[dresser]]
Line 80: Line 82:
|0.5
|0.5
|-
|-
| rowspan="2"|conveniencestore
|rowspan="2"|conveniencestore
| [[shelves]]
|[[shelves]]
| 4
|4
| 1
|1
|-
|-
|[[shelves]]
|[[shelves]]
Line 89: Line 91:
|2
|2
|-
|-
| rowspan="5"|dentiststorage
|rowspan="5"|dentiststorage
| [[metal_shelves]]
|[[metal_shelves]]
| 4
|4
| 1
|1
|-
|-
|[[metal_shelves]]
|[[metal_shelves]]
Line 110: Line 112:
|5
|5
|-
|-
| rowspan="2"|druglab
|rowspan="2"|druglab
| [[counter]]
|[[counter]]
| 4
|4
| 1
|1
|-
|-
|[[counter]]
|[[counter]]
Line 119: Line 121:
|2
|2
|-
|-
| rowspan="2"|drugshack
|rowspan="2"|drugshack
| [[counter]]
|[[counter]]
| 4
|4
| 1
|1
|-
|-
|[[counter]]
|[[counter]]
Line 128: Line 130:
|2
|2
|-
|-
| rowspan="6"|kennels
|rowspan="6"|kennels
| [[counter]]
|[[counter]]
| 4
|4
| 1
|1
|-
|-
|[[counter]]
|[[counter]]
Line 153: Line 155:
|2
|2
|-
|-
| rowspan="1"|laboratory
|laboratory
| [[crate]]
|[[crate]]
| 4
|4
| 1
|1
|-
|-
| rowspan="1"|prisoncells
|prisoncells
| [[wardrobe]]
|[[wardrobe]]
| 4
|4
| 0.5
|0.5
|}
|}


Line 169: Line 171:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 1147
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
   | version = 41.50
   | version = 41.78.16
   | code =
   | code =
item Pills
item Pills
{
{
    Weight = 0.2,
    DisplayCategory = FirstAid,
    Type = Drainable,
Weight = 0.2,
    UseDelta = 0.1,
Type = Drainable,
    UseWhileEquipped = FALSE,
        UseDelta = 0.1,
    DisplayName = Painkillers,
UseWhileEquipped = FALSE,
    Icon = PillsPainkiller,
DisplayName = Painkillers,
    Tooltip = Tooltip_Painkillers,
Icon = PillsPainkiller,
    StaticModel = PillBottle,
Tooltip = Tooltip_Painkillers,
    Medical = TRUE,
StaticModel = PillBottle,
}
WorldStaticModel = PainKillers_Ground,
  }}
Medical = TRUE,
}
}}
}}
}}


Line 192: Line 196:
*[[First Aid]]
*[[First Aid]]


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

Revision as of 07:14, 15 April 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.50).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Painkillers
PillsPainkiller Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Reduce pain
Properties
Capacity
10 units
Technical
Item ID
Base.Pills
Reduce feelings of pain
— In-game tooltip.

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

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

Source: ProjectZomboid\media\scripts\items.txt

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

See also