Antidepressants: Difference between revisions

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


==Usage==
==Usage==
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.  
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
 
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==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 1162
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PillsAntiDep
item PillsAntiDep
{
{
  DisplayCategory = FirstAid,
    DisplayCategory = FirstAid,
  Weight = 0.2,
Weight = 0.2,
  Type = Drainable,
Type = Drainable,
  UseDelta = 0.1,
        UseDelta = 0.1,
  UseWhileEquipped = FALSE,
UseWhileEquipped = FALSE,
  DisplayName = Antidepressants,
DisplayName = Antidepressants,
  Icon = PillsAntidepressant,
Icon = PillsAntidepressant,
  Tooltip = Tooltip_PillsAntidepressant,
Tooltip = Tooltip_PillsAntidepressant,
  StaticModel = PillBottle,
StaticModel = PillBottle,
  WorldStaticModel = PillBottleGround,
WorldStaticModel = PillBottleGround,
  Medical = TRUE,
Medical = TRUE,
}
}
</pre>
}}
}}


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


{{Navbox medical}}
{{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