Painkillers: Difference between revisions
m (Minor) |
(→Code: code box update) |
||
Line 23: | Line 23: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = items.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 50 | |||
| code = | |||
item Pills | |||
{ | |||
Weight = 0.2, | |||
Type = Drainable, | |||
UseDelta = 0.1, | |||
UseWhileEquipped = FALSE, | |||
DisplayName = Painkillers, | |||
Icon = PillsPainkiller, | |||
Tooltip = Tooltip_Painkillers, | |||
StaticModel = PillBottle, | |||
Medical = TRUE, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 07:57, 8 January 2024
Painkillers | |
---|---|
General | |
Category | Item |
Encumbrance | 0.2 |
Function | Reduce pain |
Capacity | 10 units |
Technical details | |
item ID | Base.Pills |
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
Painkillers are usually found within medicine cabinets in bathrooms, in several places within a pharmacy, and can also occur as a rare drop on zombie corpses.
Code
Source: ProjectZomboid\media\scripts\items.txt
item Pills
{
Weight = 0.2,
Type = Drainable,
UseDelta = 0.1,
UseWhileEquipped = FALSE,
DisplayName = Painkillers,
Icon = PillsPainkiller,
Tooltip = Tooltip_Painkillers,
StaticModel = PillBottle,
Medical = TRUE,
}