Painkillers: Difference between revisions

From PZwiki
(Updating code to latest version, adding paragraph break to page)
mNo edit summary
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{languages}}
{{languages|Painkillers}}
{{Items
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}{{Infobox drainable
|image = Painkillers.png  
|display_name=Painkillers
|name_colour=Medical
|name_text_colour=Medical
|image = PillsPainkiller_120px.png
|weight = 0.2
|weight = 0.2
}}
|primary_use = Reduce [[Moodles#Pain|pain]]
 
|max_units = 10
Painkillers are usually found within [[medicine cabinets]] in bathrooms; and can also occur as a rare drop on [[zombie]] corpses. They are used to remove pain associated with [[injuries]], and to reverse the adverse effects that come with pain; as well as being drainable, meaning they can be used multiple times before they become worthless.
|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]].
It is recommended to bring a bottle of painkillers with you at all times, because you never know when your character will get hurt. In addition to that, keep at least 3 or 4 bottles at home, in case your character used up his original bottle or is seriously injured. Taking multiple pills will speed up/strengthen the removal of pain. In the future, the character will face the side effects of drug misuse if consumed excessively.
 
 
 
 
== Effects ==
Removes negative pain [[moodles]], which will help you sleep/fight better.
 


==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|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 [[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 ==
<nowiki>item Pills
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
{{Retrieved|version=39|incver=67.5}}
Weight = 0.2,
<pre> item Pills
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,
}</nowiki>
Tooltip = Tooltip_Painkillers,</pre>
== History ==
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| RC 2.9 || Possible bug of infinite medical supplies.
|}


==See Also==
== See also ==
* [[Vitamins]]
[[First_Aid|General First Aid]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Medical Items]]
[[Category:Version 0.2.0p]]

Revision as of 12:53, 8 August 2018

Painkillers
Painkillers
General
Category Item
Encumbrance
Heavy Load
0.2
Function Reduce pain
Capacity 10 units
Technical details
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

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 39.67.5

	item Pills
		Weight			= 0.2,
		Type			= Drainable,
        	UseDelta		= 0.1,
		UseWhileEquipped	= FALSE,
		DisplayName		= Painkillers,
		Icon			= PillsPainkiller,
		Tooltip 		= Tooltip_Painkillers,

See also

General First Aid

Template:Navbox/Consumables