Sleeping Tablets: Difference between revisions
(Added 3d Model and removed reupload tag) |
(Automated update of distribution header) |
||
Line 32: | Line 32: | ||
It is possible to overdose on sleeping tablets, requiring even less if the player is [[Moodles#Drunk|drunk]], therefore they should be used with care. It is an alternative to drinking [[bleach]] as a way of committing suicide. | It is possible to overdose on sleeping tablets, requiring even less if the player is [[Moodles#Drunk|drunk]], therefore they should be used with care. It is an alternative to drinking [[bleach]] as a way of committing suicide. | ||
{{clear}} | |||
==Distribution== | ==Distribution== | ||
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 | |||
|- | |||
| rowspan="1"|all | |||
| [[militarycrate]] | |||
| 4 | |||
| 2 | |||
|- | |||
| rowspan="3"|bathroom | |||
| [[counter]] | |||
| 4 | |||
| 1 | |||
|- | |||
|[[medicine]] | |||
|4 | |||
|1 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|1 | |||
|- | |||
| rowspan="2"|bedroom | |||
| [[dresser]] | |||
| 4 | |||
| 1 | |||
|- | |||
|[[sidetable]] | |||
|4 | |||
|2 | |||
|- | |||
| rowspan="2"|dentiststorage | |||
| [[metal_shelves]] | |||
| 4 | |||
| 1 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|2 | |||
|- | |||
| rowspan="2"|kennels | |||
| [[counter]] | |||
| 4 | |||
| 1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|2 | |||
|- | |||
| rowspan="1"|laboratory | |||
| [[crate]] | |||
| 4 | |||
| 1 | |||
|} | |||
==Code== | ==Code== |
Revision as of 10:11, 11 February 2024
Sleeping Tablets | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 0.2 | |
Function | Induce drowsiness | |
Capacity | 10 units | |
Technical details | ||
item ID | Base.PillsSleepingTablets |
Sleeping tablets are a drainable item used in first aid.
Usage
Sleeping tablets are used to induce drowsiness, allowing the player to sleep earlier, therefore getting them into a different sleeping schedule. They are more useful when the player is in pain or anxious, as sleeping pills will allow them to fall asleep regardless of their level of pain or anxiety.
Each packet can be used 10 times before exhausting them.
Sleeping
- Main article: Sleep
Taking one sleeping tablet causes the first level of tiredness (drowsy) in around six in-game hours. Each subsequent level of tiredness (tired, very tired, exhausted) occurs shortly after.
Taking two sleeping tablets causes the second level of sleepiness (tired) in around four in-game hours. Each subsequent level of sleepiness (very tired, then exhausted) occurs shortly after.
Taking three or more sleeping tablets causes the third level of sleepiness (very tired) in around two in-game hours. The final level of sleepiness (exhausted) occurs shortly after.
Death
It is possible to overdose on sleeping tablets, requiring even less if the player is drunk, therefore they should be used with care. It is an alternative to drinking bleach as a way of committing suicide.
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | militarycrate | 4 | 2 |
bathroom | counter | 4 | 1 |
medicine | 4 | 1 | |
shelves | 4 | 1 | |
bedroom | dresser | 4 | 1 |
sidetable | 4 | 2 | |
dentiststorage | metal_shelves | 4 | 1 |
metal_shelves | 4 | 2 | |
kennels | counter | 4 | 1 |
counter | 4 | 2 | |
laboratory | crate | 4 | 1 |
Code
Source: ProjectZomboid\media\scripts\items.txt
item PillsSleepingTablets
{
Weight = 0.2,
Type = Drainable,
UseDelta = 0.1,
UseWhileEquipped = FALSE,
DisplayName = Sleeping Tablets,
Icon = PillsSleeping,
Tooltip = Tooltip_PillsSleeping,
StaticModel = PillBottle,
Medical = TRUE,
}