Antidepressants: Difference between revisions

From PZwiki
mNo edit summary
m (Remove lines))
(40 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Antidepressants}}
{{Header|Project Zomboid|Items|Medical items}}
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}{{Infobox drainable
{{Page version|41.78.16}}
|display_name=Antidepressants
{{Infobox item
|name_colour=Medical
|name=Antidepressants
|name_text_colour=Medical
|model=PillsAntidepressant_Model.png
|image = PillsAntidepressant.png
|icon=PillsAntidepressant.png
|weight = 0.2
|icon_name=Antidepressants
|primary_use = Reduce [[Moodles#Unhappy|unhappiness]]
|weight=0.2
|max_units = 10
|primary_use=Reduce [[Unhappy|unhappiness]]
|class_name = Base.PillsAntiDep
|max_units=10
}}{{quote|text=Reduces unhappiness over a sustained period|author=In-game tooltip.}}'''Antidepressants''' are a drainable [[item]] used in [[First Aid|first aid]].
|item_id=Base.PillsAntiDep
}}
{{Quote|text=Reduces unhappiness over sustained periods|author=In-game tooltip.}}
'''Antidepressants''' are a drainable [[Items|item]] used in [[First Aid|first aid]].


==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 [[Unhappy|unhappiness]] over a long period of time, taking them first time, or after their effect had fully worn off will have a two hour wait untill they can have any effect. Using them multiple times in a row does not stack the effect, but merely resets their active timer.
 
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==
==Distribution==
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.
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|MedicalCache1
|[[MedicalBox]]
|4
|1
|-
|all
|[[militarycrate]]
|4
|2
|-
|rowspan="3"|bathroom
|[[counter]]
|4
|1
|-
|[[medicine]]
|4
|1
|-
|[[shelves]]
|4
|1
|-
|rowspan="2"|dentiststorage
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|2
|-
|rowspan="2"|kennels
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|2
|-
|laboratory
|[[crate]]
|4
|1
|}
 
==Trivia==
*They currently have the same model as [[Beta Blockers]].


== Code ==
==Code==
{{Retrieved|version=39|incver=67.5}}
{{CodeBox
<pre> item PillsAntiDep
| {{CodeSnip
Weight = 0.2,
  | lang = java
Type = Drainable,
  | line = true
        UseDelta = 0.1,
  | start = 1162
UseWhileEquipped = FALSE,
  | source = items.txt
DisplayName = Antidepressants,
  | retrieved = true
Icon = PillsAntidepressant,
  | version = 41.78.16
Tooltip = Tooltip_PillsAntidepressant,</pre>
  | code =
item PillsAntiDep
{
    DisplayCategory = FirstAid,
Weight = 0.2,
Type = Drainable,
        UseDelta = 0.1,
UseWhileEquipped = FALSE,
DisplayName = Antidepressants,
Icon = PillsAntidepressant,
Tooltip = Tooltip_PillsAntidepressant,
StaticModel = PillBottle,
WorldStaticModel = PillBottleGround,
Medical = TRUE,
}
}}
}}


== See also ==
==See also==
[[First_Aid|General First Aid]]
*[[First Aid]]
*[[Beta Blockers]]
*[[Food#Sweets|Sweets]]
*[[Food#Drink|Drinks]]


{{Navbox/Consumables}}
{{Navbox items|medical}}

Revision as of 06:26, 15 April 2024

Project ZomboidItemsMedical itemsAntidepressants
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Antidepressants
PillsAntidepressant Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Properties
Capacity
10 units
Technical
Item ID
Base.PillsAntiDep
Reduces unhappiness over sustained periods
— 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 them first time, or after their effect had fully worn off will have a two hour wait untill they can have any effect. Using them multiple times in a row does not stack the effect, but merely resets their active timer.

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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
MedicalCache1 MedicalBox 4 1
all militarycrate 4 2
bathroom counter 4 1
medicine 4 1
shelves 4 1
dentiststorage metal_shelves 4 1
metal_shelves 4 2
kennels counter 4 1
counter 4 2
laboratory crate 4 1

Trivia

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item PillsAntiDep
	{
	    DisplayCategory = FirstAid,
		Weight	=	0.2,
		Type	=	Drainable,
        UseDelta	=	0.1,
		UseWhileEquipped	=	FALSE,
		DisplayName	=	Antidepressants,
		Icon	=	PillsAntidepressant,
		Tooltip = Tooltip_PillsAntidepressant,
		StaticModel = PillBottle,
		WorldStaticModel = PillBottleGround,
		Medical = TRUE,
	}

See also