Painkillers: Difference between revisions
(Updated code and page version) |
m (Remove 120px, minor fixes) |
||
Line 1: | Line 1: | ||
{{ | {{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=50}}{{Infobox drainable | ||
{{ | |||
|display_name=Painkillers | |display_name=Painkillers | ||
|name_colour=Medical | |name_colour=Medical | ||
|name_text_colour=Medical | |name_text_colour=Medical | ||
|image = | |image=PillsPainkiller.png | ||
|weight = 0.2 | |weight=0.2 | ||
|primary_use = Reduce [[Moodles#Pain|pain]] | |primary_use=Reduce [[Moodles#Pain|pain]] | ||
|max_units = 10 | |max_units=10 | ||
|class_name = Base.Pills | |class_name=Base.Pills | ||
}}{{quote|text=Reduce feelings of pain|author=In-game tooltip.}}'''Painkillers''' are a drainable [[item]] used in [[First Aid|first aid]]. | }}{{quote|text=Reduce feelings of pain|author=In-game tooltip.}}'''Painkillers''' are a drainable [[item]] used in [[First Aid|first aid]]. | ||
Line 19: | Line 18: | ||
Painkillers are usually found within [[Containers#Cabinets|medicine cabinets]] in bathrooms, in several places within a pharmacy and can also occur as a rare drop on [[zombie]] [[Containers#Corpses|corpses]]. | Painkillers are usually found within [[Containers#Cabinets|medicine cabinets]] in bathrooms, in several places within a pharmacy and can also occur as a rare drop on [[zombie]] [[Containers#Corpses|corpses]]. | ||
== Code == | ==Code== | ||
'''''From items.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver=50}} | {{Retrieved|version=41|incver=50}} | ||
<pre> item Pills | <pre> | ||
item Pills | |||
Weight = 0.2, | Weight = 0.2, | ||
Type = Drainable, | Type = Drainable, | ||
Line 31: | Line 31: | ||
Tooltip = Tooltip_Painkillers, | Tooltip = Tooltip_Painkillers, | ||
StaticModel = PillBottle, | StaticModel = PillBottle, | ||
Medical = TRUE,</pre> | Medical = TRUE, | ||
</pre> | |||
== See also == | ==See also== | ||
[[ | *[[First Aid|General First Aid]] | ||
{{Navbox/Consumables}} | {{Navbox/Consumables}} |
Revision as of 01:09, 26 February 2023
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
From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item Pills Weight = 0.2, Type = Drainable, UseDelta = 0.1, UseWhileEquipped = FALSE, DisplayName = Painkillers, Icon = PillsPainkiller, Tooltip = Tooltip_Painkillers, StaticModel = PillBottle, Medical = TRUE,