Antidepressants: Difference between revisions

From PZwiki
(Fixed Nav Bar.)
m (Distribution table update)
(47 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Medical items}}
{{languages|Anti-depressants}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Antidepressants
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Medical Items|Medical Items]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=PillsAntidepressant_Model.png
{{Medical
|icon=PillsAntidepressant.png
|image = Antidepressants.png|32px
|icon_name=Antidepressants
|primaryuse= Reduce Unhappiness Level
|weight=0.2
|bandagepower = 0.0
|primary_use=Reduce [[Unhappy|unhappiness]]
|alcoholpower = 0.0
|max_units=10
|weight = 0.2
|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]].


Anti-depressants are drugs available to the player to lower their unhappiness level. Their effect is not immediate but over a period of time. <br>
==Usage==
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.


Anti-depressants can be found in medical cabinets, in several places within a phamarcy such as a fridge, on dead zombies and other various places as it is viewed as a generic item within the game.
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.


== Effects ==
==Distribution==
Makes character less [[Unhappy]] over time.  
The loot distributions can be found in the table(s) below.
<br><br><br>
== Code ==
<nowiki>
item PillsAntiDep
Weight = 0.2,
Type = Drainable,
        UseDelta = 0.1,
UseWhileEquipped = FALSE,
DisplayName = Antidepressants,
Icon = PillsAntidepressant,
Tooltip = Tooltip_PillsAntidepressant,
</nowiki>


== See Also ==
<!--BOT FLAG|PillsAntiDep|41.78.16-->
[[First_Aid|General First Aid]]
{{clear}}
<div class="togglebox theme-red">
    <div>PillsAntiDep distribution
        <span class="mw-customtoggle-togglebox-PillsAntiDep" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PillsAntiDep">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | MedicalCache1
    | {{ll|MedicalBox}}
    | 4
    | 10
    |-
    | Nurse
    | {{ll|crate}}
    | 4
    | 10
    |-
    | Nurse
    | {{ll|crate}}
    | 4
    | 20
    |-
    | Nurse
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | Nurse
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 4
    | 10
    |-
    | SafehouseLoot
    | {{ll|medicine}}
    | 4
    | 10
    |-
    | all
    | {{ll|Bag_DoctorBag}}
    | 1
    | 10
    |-
    | all
    | {{ll|Bag_MedicalBag}}
    | 2
    | 10
    |-
    | all
    | {{ll|inventoryfemale}}
    | 1
    | 0.1
    |-
    | all
    | {{ll|inventorymale}}
    | 1
    | 0.1
    |-
    | all
    | {{ll|medicine}}
    | 4
    | 1
    |-
    | all
    | {{ll|militarycrate}}
    | 4
    | 2
    |-
    | all
    | {{ll|sidetable}}
    | 1
    | 1
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 1
    |-
    | bathroom
    | {{ll|medicine}}
    | 4
    | 1
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 1
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | hospitalstorage
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | hospitalstorage
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | kennels
    | {{ll|counter}}
    | 4
    | 20
    |-
    | kennels
    | {{ll|counter}}
    | 4
    | 10
    |-
    | kennels
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | kennels
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | laboratory
    | {{ll|crate}}
    | 4
    | 10
    |-
    | laboratory
    | {{ll|desk}}
    | 4
    | 10
    |-
    | laboratory
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | medical
    | {{ll|counter}}
    | 4
    | 20
    |-
    | medical
    | {{ll|counter}}
    | 4
    | 10
    |-
    | medical
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | medical
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | medicalstorage
    | {{ll|counter}}
    | 4
    | 20
    |-
    | medicalstorage
    | {{ll|counter}}
    | 4
    | 10
    |-
    | medicalstorage
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | medicalstorage
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | pharmacy
    | {{ll|counter}}
    | 4
    | 20
    |-
    | pharmacy
    | {{ll|counter}}
    | 4
    | 10
    |-
    | pharmacy
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | pharmacy
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | pharmacystorage
    | {{ll|counter}}
    | 4
    | 20
    |-
    | pharmacystorage
    | {{ll|counter}}
    | 4
    | 10
    |-
    | pharmacystorage
    | {{ll|metal_shelves}}
    | 4
    | 10
    |-
    | pharmacystorage
    | {{ll|metal_shelves}}
    | 4
    | 20
    |-
    | pharmacystorage
    | {{ll|shelves}}
    | 4
    | 10
    |-
    | pharmacystorage
    | {{ll|shelves}}
    | 4
    | 20
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | AmbulanceTruckBed
    | 4
    | 10
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-PillsAntiDep" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|PillsAntiDep|41.78.16-->


{{Navbox/Consumables}}
==Trivia==
[[Category:Consumables]]
*They currently have the same model as [[Beta Blockers]].
[[Category:Medical Items]]
 
[[Category:Items]]
==Code==
[[Category:Version 34.28]]
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1162
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | 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==
*[[First Aid]]
*[[Beta Blockers]]
*[[Food#Sweets|Sweets]]
*[[Food#Drink|Drinks]]
 
{{Navbox items|medical}}

Revision as of 16:40, 23 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.

PillsAntiDep distribution Show / Hide
Containers
Building / Room Container Rolls Chance
MedicalCache1 MedicalBox 4 10
Nurse crate 4 10
Nurse crate 4 20
Nurse metal_shelves 4 20
Nurse metal_shelves 4 10
SafehouseLoot counter 4 10
SafehouseLoot medicine 4 10
all Bag_DoctorBag 1 10
all Bag_MedicalBag 2 10
all inventoryfemale 1 0.1
all inventorymale 1 0.1
all medicine 4 1
all militarycrate 4 2
all sidetable 1 1
bathroom counter 4 1
bathroom medicine 4 1
bathroom shelves 4 1
dentiststorage metal_shelves 4 10
dentiststorage metal_shelves 4 20
hospitalstorage metal_shelves 4 10
hospitalstorage metal_shelves 4 20
kennels counter 4 20
kennels counter 4 10
kennels metal_shelves 4 20
kennels metal_shelves 4 10
laboratory crate 4 10
laboratory desk 4 10
laboratory metal_shelves 4 10
medical counter 4 20
medical counter 4 10
medical metal_shelves 4 10
medical metal_shelves 4 20
medicalstorage counter 4 20
medicalstorage counter 4 10
medicalstorage metal_shelves 4 10
medicalstorage metal_shelves 4 20
pharmacy counter 4 20
pharmacy counter 4 10
pharmacy metal_shelves 4 20
pharmacy metal_shelves 4 10
pharmacystorage counter 4 20
pharmacystorage counter 4 10
pharmacystorage metal_shelves 4 10
pharmacystorage metal_shelves 4 20
pharmacystorage shelves 4 10
pharmacystorage shelves 4 20
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceTruckBed 4 10

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