Sleeping Tablets: Difference between revisions

From PZwiki
mNo edit summary
m (Simplified redundant links)
 
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Medical items}}
{{languages|Sleeping_tablets}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}{{Infobox drainable
{{Infobox item
|display_name=Sleeping Tablets
|name=Sleeping Tablets
|name_colour=Medical
|model=PillsSleeping_Model.png
|name_text_colour=Medical
|icon=PillsSleeping.png
|image = PillsSleeping_120px.png
|icon_name=Sleeping Pills
|weight = 0.2
|weight=0.2
|primary_use = Induce [[Moodles#Tired|drowsiness]]
|primary_use=Induce [[Tired|drowsiness]]
|max_units = 10
|max_units=10
|class_name = Base.PillsSleepingTablets
|item_id=Base.PillsSleepingTablets
}}{{quote|text=Helps in getting to sleep. Useful when anxious or in pain.|author=In-game tooltip.}}'''Sleeping tablets''' are a drainable [[item]] used in [[First Aid|first aid]].
}}
{{Quote|text=Helps in getting to sleep. Useful when anxious or in pain.|author=In-game tooltip.}}
'''Sleeping tablets''' are a drainable [[Items|item]] used in [[First Aid|first aid]].


==Usage==
==Usage==
Sleeping tablets are used to induce [[Moodles#Tired|drowsiness]], allowing the player to sleep earlier, therefore getting them into a different [[sleep|sleeping]] schedule. They are more useful when the player is [[Moodles#Pain|in pain]] or [[Moodles#Anxious|anxious]], as this can disallow them to sleep, regardless of their level of tiredness.
Sleeping tablets are used to induce [[Tired|drowsiness]], allowing the player to sleep earlier, therefore getting them into a different [[sleep]]ing schedule. They are more useful when the player is [[Pain|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.
Each packet can be used 10 times before exhausting them.


===Sleeping===
===Sleeping===
{{main|Sleep}}
{{Main|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 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.


Line 25: Line 26:
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.
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 ===
Sleeping for any amount removes the fatigue boost from tablets, but not the fatigue itself.
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.
 
===Death===
It is possible to overdose on sleeping tablets, being [[drunk]] reduces the number of tablets required to do that. Therefore, they should be used with care:
*Sober
**Taking 10 tablets will cripple player's health by 40%.
**Taking 11 tablets will cripple player's health by 80%.
**Taking 12 tablets will lead to imminent death.
*Drunk
**Taking 5 tablets while being drunk will cripple player's health by 40%.
**Taking 6 tablets while being drunk will lead to imminent death.
It is an alternative to drinking [[bleach]] as a way of committing suicide.


==Distribution==
==Distribution==
Sleeping tablets can be found inside of [[Containers#Cabinets|medicine cabinets]] in bathrooms, in bedroom [[Containers#Bedroom Storage|wardrobes]], and can also occur as a rare drop on [[zombie]] [[Containers#Corpses|corpses]]. They can also be found in several places within a pharmacy.
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|PillsSleepingTablets|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>PillsSleepingTablets distribution
        <span class="mw-customtoggle-togglebox-PillsSleepingTablets" 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-PillsSleepingTablets">
    <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.0
    |-
    | all
    | {{ll|Bag_DoctorBag}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|medicine}}
    | 4
    | 1.0
    |-
    | all
    | {{ll|militarycrate}}
    | 4
    | 2.0
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 1.0
    |-
    | bathroom
    | {{ll|medicine}}
    | 4
    | 1.0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 1.0
    |-
    | bedroom
    | {{ll|dresser}}
    | 4
    | 1.0
    |-
    | bedroom
    | {{ll|sidetable}}
    | 4
    | 2.0
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 4
    | 20.0
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | kennels
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | kennels
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | laboratory
    | {{ll|crate}}
    | 4
    | 10.0
    |}
</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-PillsSleepingTablets" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|PillsSleepingTablets|41.78.16-->


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=39|incver=67.5}}
| {{CodeSnip
<pre> item PillsSleepingTablets
  | lang = java
Weight = 0.2,
  | line = true
Type = Drainable,
  | start = 1192
        UseDelta = 0.1,
  | source = items.txt
UseWhileEquipped = FALSE,
  | retrieved = true
DisplayName = Sleeping Tablets,
  | version = 41.78.16
Icon = PillsSleeping,
  | code =
Tooltip = Tooltip_PillsSleeping,</pre>
item PillsSleepingTablets
{
    DisplayCategory = FirstAid,
Weight = 0.2,
Type = Drainable,
        UseDelta = 0.1,
UseWhileEquipped = FALSE,
DisplayName = Sleeping Tablets,
Icon = PillsSleeping,
Tooltip = Tooltip_PillsSleeping,
StaticModel = PillBottle,
WorldStaticModel = SleepingTablets_Ground,
Medical = TRUE,
}
}}
}}


== See also ==
==See also==
[[First_Aid|General First Aid]]
*[[First Aid]]


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

Latest revision as of 12:00, 25 April 2024

Project ZomboidItemsMedical itemsSleeping Tablets
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Sleeping Tablets
PillsSleeping Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Induce drowsiness
Properties
Capacity
10 units
Technical
Item ID
Base.PillsSleepingTablets
Helps in getting to sleep. Useful when anxious or in pain.
— In-game tooltip.

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.

Sleeping for any amount removes the fatigue boost from tablets, but not the fatigue itself.

Death

It is possible to overdose on sleeping tablets, being drunk reduces the number of tablets required to do that. Therefore, they should be used with care:

  • Sober
    • Taking 10 tablets will cripple player's health by 40%.
    • Taking 11 tablets will cripple player's health by 80%.
    • Taking 12 tablets will lead to imminent death.
  • Drunk
    • Taking 5 tablets while being drunk will cripple player's health by 40%.
    • Taking 6 tablets while being drunk will lead to imminent death.

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.

PillsSleepingTablets distribution Show / Hide
Containers
Building / Room Container Rolls Chance
MedicalCache1 MedicalBox 4 10.0
all Bag_DoctorBag 1 10.0
all medicine 4 1.0
all militarycrate 4 2.0
bathroom counter 4 1.0
bathroom medicine 4 1.0
bathroom shelves 4 1.0
bedroom dresser 4 1.0
bedroom sidetable 4 2.0
dentiststorage metal_shelves 4 20.0
dentiststorage metal_shelves 4 10.0
kennels counter 4 20.0
kennels counter 4 10.0
laboratory crate 4 10.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceTruckBed 4 10

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 PillsSleepingTablets
	{
	    DisplayCategory = FirstAid,
		Weight	=	0.2,
		Type	=	Drainable,
        UseDelta	=	0.1,
		UseWhileEquipped	=	FALSE,
		DisplayName	=	Sleeping Tablets,
		Icon	=	PillsSleeping,
		Tooltip = Tooltip_PillsSleeping,
		StaticModel = PillBottle,
		WorldStaticModel = SleepingTablets_Ground,
		Medical = TRUE,
	}

See also