Antidepressants: Difference between revisions
m (Extra usage info) |
m (Distribution table fix) |
||
(39 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Medical items}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Antidepressants | ||
| | |model=PillsAntidepressant_Model.png | ||
| | |icon=PillsAntidepressant.png | ||
|weight = 0.2 | |icon_name=Antidepressants | ||
|primary_use = Reduce [[ | |weight=0.2 | ||
|max_units = 10 | |primary_use=Reduce [[Unhappy|unhappiness]] | ||
| | |max_units=10 | ||
}}{{ | |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== | ||
Using antidepressants reduces the player's [[ | 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== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|PillsAntiDep|41.78.16--> | |||
{{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"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Bag_DoctorBag | |||
| {{ll|Bag_DoctorBag}} | |||
| 6.41% | |||
|- | |||
| Bag_MedicalBag | |||
| {{ll|Bag_MedicalBag}} | |||
| 12.41% | |||
|- | |||
| MedicalCache1 | |||
| {{ll|MedicalBox}} | |||
| 23.28% | |||
|- | |||
| Nurse | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| Nurse | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| Nurse | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| Nurse | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|medicine}} | |||
| 23.28% | |||
|- | |||
| all | |||
| {{ll|inventoryfemale}} | |||
| 0.47% | |||
|- | |||
| all | |||
| {{ll|inventorymale}} | |||
| 0.47% | |||
|- | |||
| all | |||
| {{ll|medicine}} | |||
| 3.98% | |||
|- | |||
| all | |||
| {{ll|militarycrate}} | |||
| 6.29% | |||
|- | |||
| bathroom | |||
| {{ll|counter}} | |||
| 3.98% | |||
|- | |||
| bathroom | |||
| {{ll|medicine}} | |||
| 3.98% | |||
|- | |||
| bathroom | |||
| {{ll|shelves}} | |||
| 3.98% | |||
|- | |||
| dentiststorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| dentiststorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| hospitalstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| hospitalstorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| kennels | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| kennels | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| kennels | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| kennels | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| laboratory | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| laboratory | |||
| {{ll|desk}} | |||
| 23.28% | |||
|- | |||
| laboratory | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| medical | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| medical | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| medical | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| medical | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| medicalstorage | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| medicalstorage | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| medicalstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| medicalstorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| motelroomoccupied | |||
| {{ll|sidetable}} | |||
| 1.01% | |||
|- | |||
| pharmacy | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| pharmacy | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| pharmacy | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| pharmacy | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| pharmacystorage | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| pharmacystorage | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| pharmacystorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| pharmacystorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| pharmacystorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| pharmacystorage | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|} | |||
</div> | |||
<div id="vehicles" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Vehicles}} | |||
! Type | |||
! Container | |||
! Effective chance | |||
|- | |||
| Ambulance | |||
| {{ll|Truck Bed}} | |||
| 23.28% | |||
|} | |||
</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--> | |||
==Trivia== | |||
*They currently have the same model as [[Beta Blockers]]. | |||
== Code == | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
Weight | | line = true | ||
Type | | start = 1162 | ||
| source = items.txt | |||
UseWhileEquipped = FALSE, | | retrieved = true | ||
DisplayName | | version = 41.78.16 | ||
Icon | | code = | ||
Tooltip | item PillsAntiDep | ||
{ | |||
Medical | 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]] | ||
*[[Beta Blockers]] | |||
*[[Food#Sweets|Sweets]] | |||
*[[Food#Drink|Drinks]] | |||
{{Navbox | {{Navbox items|medical}} |
Latest revision as of 17:32, 30 April 2024
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.
Building/Room | Container | Effective chance |
---|---|---|
Bag_DoctorBag | Bag_DoctorBag | 6.41% |
Bag_MedicalBag | Bag_MedicalBag | 12.41% |
MedicalCache1 | MedicalBox | 23.28% |
Nurse | crate | 23.28% |
Nurse | crate | 41.14% |
Nurse | metal_shelves | 23.28% |
Nurse | metal_shelves | 41.14% |
SafehouseLoot | counter | 23.28% |
SafehouseLoot | medicine | 23.28% |
all | inventoryfemale | 0.47% |
all | inventorymale | 0.47% |
all | medicine | 3.98% |
all | militarycrate | 6.29% |
bathroom | counter | 3.98% |
bathroom | medicine | 3.98% |
bathroom | shelves | 3.98% |
dentiststorage | metal_shelves | 23.28% |
dentiststorage | metal_shelves | 41.14% |
hospitalstorage | metal_shelves | 23.28% |
hospitalstorage | metal_shelves | 41.14% |
kennels | counter | 23.28% |
kennels | counter | 41.14% |
kennels | metal_shelves | 23.28% |
kennels | metal_shelves | 41.14% |
laboratory | crate | 23.28% |
laboratory | desk | 23.28% |
laboratory | metal_shelves | 23.28% |
medical | counter | 23.28% |
medical | counter | 41.14% |
medical | metal_shelves | 23.28% |
medical | metal_shelves | 41.14% |
medicalstorage | counter | 23.28% |
medicalstorage | counter | 41.14% |
medicalstorage | metal_shelves | 23.28% |
medicalstorage | metal_shelves | 41.14% |
motelroomoccupied | sidetable | 1.01% |
pharmacy | counter | 23.28% |
pharmacy | counter | 41.14% |
pharmacy | metal_shelves | 23.28% |
pharmacy | metal_shelves | 41.14% |
pharmacystorage | counter | 23.28% |
pharmacystorage | counter | 41.14% |
pharmacystorage | metal_shelves | 23.28% |
pharmacystorage | metal_shelves | 41.14% |
pharmacystorage | shelves | 23.28% |
pharmacystorage | shelves | 41.14% |
Trivia
- They currently have the same model as Beta Blockers.
Code
Source: ProjectZomboid\media\scripts\items.txt
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,
}