Sleep: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(→‎Lying down: Updated based on the latest code)
Line 30: Line 30:
In addition to being sufficiently tired, you also need a comfortable enough [[temperature]]. The more bed-like your spot is, the more heat will be provided by it. This bonus heat will be used intelligently - it won't heat you above optimal temperature. It can't be used to cool down if it ends up negative.
In addition to being sufficiently tired, you also need a comfortable enough [[temperature]]. The more bed-like your spot is, the more heat will be provided by it. This bonus heat will be used intelligently - it won't heat you above optimal temperature. It can't be used to cool down if it ends up negative.
* Furniture:
* Furniture:
** Beds (1000)
** [[Bed (construction)|Bed]] (1000)
** Sofas, seats, makeshift beds and hay (all 500)
** [[Makeshift bed]], [[armchair]], [[sofa]] (all 500)
** Car beds (300)
** [[Bed (vehicle)|Vehicle bed]] (300)
** Seats (200)
** Vehicle bed & seat (250)
** Fur rollmats (0)
** [[Seat|Vehicle seat]] (200)
** [[Straw bed]] (200)
** [[Fur rollmat]], [[hay]] (all 0)
** Mutations that grant thick fur ensure "furniture heat" doesn't drop below 0
** Mutations that grant thick fur ensure "furniture heat" doesn't drop below 0
** Cots (-500)
** [[Cot]], [[improvised shelter]], [[tatami]] (all -500)
** Rollmats (-1000)  
** [[Rollmat]] (-1000)  
** Everything else (-2000)
** Everything else (-2000)
* Any torso and leg clothing with volume > 1 lying on the tile will help with heating: 6 * warmth * volume (will heat up all body, not just relevant parts)
* Any torso and leg clothing with volume > 0.25 liters lying on the tile or located in vehicle cargo will help with heating: 60 * warmth * volume / 2.5 liters (will heat up all body, not just relevant parts)
* [[Mutation]]s that give you fur will provide both the regular "clothing" warmth (regardless of if you want it or not) and this special sleep warmth that can only help
* [[Mutation]]s that give you fur will provide both the regular "clothing" warmth (regardless of if you want it or not) and this special sleep warmth that can only help



Revision as of 17:04, 3 August 2018

Sleeping restores fatigue and heals your wounds, so it's something you might want to do regularly.

Being under the effect of stimulants (coffee, Adderall, cocaine, etc) will make sleeping very difficult. You can consume those kind of items to purposely delay the need of sleeping.

Consuming Ambien, Cough syrup or Poppy sleep will increase your fatigue, and therefore help you fall asleep faster.

Lying down

The process of lying down in order to sleep.

To successfully sleep you'll need to reach a sleepiness above zero. That variable is checked when lying down, and it takes all these factors into consideration:

Penalties
  • Suffering from sleeping pill dependance reduces it by 3
  • Having the insomniac trait reduces it by 8
  • Being under stimulants will reduce it by double the current stim level
  • If your level of fatigue is below Tired (192 fatigue), it will be decreased by 1/4 of the value below 192
Bonus
  • Being over a bed increases it by 5 points
  • Being over a makeshift bed, seat or an extended cot will increase it by 4 points
  • Being over an extended rollmat increases it by 3 points
  • Being over a floor increases it by 1 point
  • Being in any other kind of terrain will decrease it by the current movement cost of the terrain type.
  • If your level of fatigue is above Tired (192 fatigue), it will be increased by 1/16 of the value above 192.
  • Easy sleeper trait increases it by 8.
  • Chloromorph mutation increases it by 10 when on dirt, a dirt mound or in a pit or by 5 on ash or grass, as long as there is no furniture on that tile.

Sleepiness will also be increased or decreased randomly by a small amount (+/-8) each time this check is done.

If sleepiness is above zero you'll start sleeping ("You fall asleep."), otherwise you'll stand up again ("You try to sleep, but can't...).

In addition to being sufficiently tired, you also need a comfortable enough temperature. The more bed-like your spot is, the more heat will be provided by it. This bonus heat will be used intelligently - it won't heat you above optimal temperature. It can't be used to cool down if it ends up negative.

  • Furniture:
  • Any torso and leg clothing with volume > 0.25 liters lying on the tile or located in vehicle cargo will help with heating: 60 * warmth * volume / 2.5 liters (will heat up all body, not just relevant parts)
  • Mutations that give you fur will provide both the regular "clothing" warmth (regardless of if you want it or not) and this special sleep warmth that can only help

To compare those temperature values with clothing "warmth" values, divide by 60 (when it's too cold) or 30 (when too hot). When in doubt, drop any torso or leg clothing with volume >9.

Cooling down is harder. First off (obviously) remove warm clothing. Second, don't lie in the sun: +1000 and +500 for sunny and clear weather respectively. If it still isn't enough, skip few meals before going to sleep (-hunger/6).

Sleeping

Reduces fatigue and heals all body parts. Hunger and thirst increase more slowly when sleeping. Your sight range will be reduced to zero (simulating closed eyes).

The amount of healing you get depends on a few factors:

You'll wake up when:

  • Your fatigue is between 0 and -20 ("Fully rested.").
  • There's a light source (such as the sun) and you've rested for a while ("The light wakes you up.").
  • Your body temperature is low/high ("The cold/heat wakes you up.").
  • You cough - 1/10 chance if it's regular coughing (like from common cold), 1/3 if it can harm you (like from heavy smoke)
  • You hear a sound (sound volume > sound distance to you). Effective volume is lowered by 3d15 if you have Heavy Sleeper.
  • Your alarm beeps. Alarm is equivalent to sound of volume 12 (20 if from a bionic) going off at your location. If that doesn't wake you up, alarm will keep repeating every 10 minutes until you wake up.
  • Your pain counter increases.


Various status effects
Weather Body temperature problems · Glare · Wet
Mobility Bear trap · Crushed · Grabbed · In pit · Unstable footing · Winded
Field Effects On Fire · Sap-coated · Slimed · Smoke · Relaxation gas · Tear gas · Webbed
Attack Effects Bleeding · Blind · Boomered · Corroding · Deaf · Darkness · Dazed · Downed · Insect Parasite · Pain · Poison · Ratting · Stung · Stunned · Spores · Zapped
Drug Effects Addiction · Alcohol Intoxication · Datura · General high · Nicotine · Methamphetamine · Shakes
Wound Treatment Bandaged · Disinfected
Painkillers Minor Painkiller · Moderate Painkiller · Heavy Painkillers/Opiates · Slow-Release Painkiller
Pharmaceuticals Antibiotic · Adrenaline Spike · Contact lenses · Diazepam · Flu medicine · Flu shot · Heartburn medicine · Iodine Tablets · Prozac · Prussian blue · Royal jelly · RX12 Healing Stimulant · RX11 Stimulant · Stimulants and Depressants · Xanax
Vitamins Anemia · B12 deficiency · Gross food · Hypervitaminosis · Hypocalcemia · Night blindness · Toxin Buildup · Scurvy
Infectious Diseases Infection · Low immunity diseases · Food Parasites · Tetanus
Medical Conditions Asthma · Broken limb · Blech · Plant Blech · Hallucinating · Nausea · Radiation · Sleep deprivation
Medical Tags Assisted · Check-up · Narcosis · Under operation
Eldritch Amigara obsession · Evil · Fear · Netherworld attention · Teleglow
Other Effects Earphones · EMP · Glowy LED · Happiness · Laser targeted · Lit up · Playing instrument · Poor sight · Raiding animal · Sleep