Antidepressants: Difference between revisions

From PZwiki
m (Extra usage info)
m (Remove 120px, minor fixes)
Line 1: Line 1:
{{languages|Antidepressants}}
{{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=50}}{{Infobox drainable
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=50}}{{Infobox drainable
|display_name=Antidepressants
|display_name=Antidepressants
|name_colour=Medical
|name_colour=Medical
|name_text_colour=Medical
|name_text_colour=Medical
|image = PillsAntidepressant_120px.png
|image=PillsAntidepressant.png
|weight = 0.2
|weight=0.2
|primary_use = Reduce [[Moodles#Unhappy|unhappiness]]
|primary_use=Reduce [[Moodles#Unhappy|unhappiness]]
|max_units = 10
|max_units=10
|class_name = Base.PillsAntiDep
|class_name=Base.PillsAntiDep
}}{{quote|text=Reduces unhappiness over a sustained period|author=In-game tooltip.}}'''Antidepressants''' are a drainable [[item]] used in [[First Aid|first aid]].
}}{{quote|text=Reduces unhappiness over a sustained period|author=In-game tooltip.}}'''Antidepressants''' are a drainable [[item]] used in [[First Aid|first aid]].


Line 18: Line 17:
Antidepressants can be found in [[Containers#Cabinets|medical cabinets]], in several places within a pharmacy such as a [[Containers#Refrigerators|fridge]], on [[Containers#Corpses|dead zombies]] and other various places.
Antidepressants can be found in [[Containers#Cabinets|medical cabinets]], in several places within a pharmacy such as a [[Containers#Refrigerators|fridge]], on [[Containers#Corpses|dead zombies]] and other various places.


== 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}}
Line 32: Line 31:
Medical                = TRUE,</pre>
Medical                = TRUE,</pre>


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


{{Navbox/Consumables}}
{{Navbox/Consumables}}

Revision as of 01:04, 26 February 2023

Antidepressants
Antidepressants
General
Category Item
Encumbrance
Heavy Load
0.2
Function Reduce unhappiness
Capacity 10 units
Technical details
item ID Base.PillsAntiDep
Reduces unhappiness over a sustained period
— In-game tooltip.

Antidepressants are a drainable item used in first aid.

Usage

Using antidepressants reduces the player's unhappiness over a long period of time, taking at least 2 hours before they can have any effect. Unhappiness reduces inventory transfer speed and weapon equip speed. Because of this, players should not rely on them if they find themselves needing to reduce unhappiness

Distribution

Antidepressants can be found in medical cabinets, in several places within a pharmacy such as a fridge, on dead zombies and other various places.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

	item PillsAntiDep
		Weight			= 0.2,
		Type			= Drainable,
        	UseDelta		= 0.1,
		UseWhileEquipped	= FALSE,
		DisplayName		= Antidepressants,
		Icon			= PillsAntidepressant,
		Tooltip 		= Tooltip_PillsAntidepressant,
                StaticModel             = PillBottle,
		Medical                 = TRUE,

See also

Template:Navbox/Consumables