Antidepressants: Difference between revisions

From PZwiki
m (Checked content and updated version to 40.43)
m (Updated page)
Line 1: Line 1:
{{languages|Antidepressants}}
{{languages|Antidepressants}}
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}}{{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
Line 12: Line 12:


==Usage==
==Usage==
Makes the player less [[Moodles#Unhappy|unhappy]] over a period of time, i.e. not immediately.{{verify|It is uncertain whether this item actually has any effect on the player}}
Using antidepressants reduces the player's [[Moodles#Unhappy|unhappiness]] over a long period of time, taking at least 2 hours before they can have any effect. Because of this, players should not rely on them if they find themselves needing to reduce unhappiness


==Distribution==
==Distribution==
Line 19: Line 19:
== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=41|incver=50}}
<pre> item PillsAntiDep
<pre> item PillsAntiDep
Weight = 0.2,
Weight = 0.2,
Line 27: Line 27:
DisplayName = Antidepressants,
DisplayName = Antidepressants,
Icon = PillsAntidepressant,
Icon = PillsAntidepressant,
Tooltip = Tooltip_PillsAntidepressant,</pre>
Tooltip = Tooltip_PillsAntidepressant,
                StaticModel            = PillBottle,
Medical                = TRUE,</pre>


== See also ==
== See also ==

Revision as of 04:37, 11 July 2021

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. 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

General First Aid

Template:Navbox/Consumables