Project Zomboid

Project Zomboid

Comfy Sleeping [B41 & B42]
 This topic has been pinned, so it's probably important
Fluffy89  [developer] Jul 13, 2023 @ 5:18pm
Sandbox Options
A note: There's so many sandbox options for different clothing locations, I'm opting to clean up the sandbox options here to the more 'ambiguous' options. All of the clothing location specific modifiers are pretty self explanatory with their tooltips in the sandbox options. If you need an exhaustive list of clothing and their locations, refer to the wiki page for clothing[pzwiki.net].

Comfy Sleeping Sandbox Options
Welcome! Below is a comprehensive list of all configurable sandbox options, with a description and/or and example. If any clarification is required past what is below, please comment here!

Clothing
For the clothing comfort modifier variables, setting them to a positive number will increase your characters comfort, and setting them to negative numbers decreases your characters comfort.


Moodles
The moodle comfort modifiers scale up based on the severity of the specified moodles, meaning, if your character is starving (i.e. the hunger moodle is at 4/4) then the value set to that moodle modifier is multiplied by 4.

Endurance is measured from 0 to 1, with 0 being completely exhausted, and 1 having no moodle.

Fatigue is oppositely measured to endurance, with 0 being fully awake (no moodle), and 1 being ridiculously tired.


Options
defaultComfort
Originally posted by author:
The default comfort level a character with no positive or negative comfort modifiers will have.
Type of value: Integer or Float, Default: 100


moodlesAffectComfort
Originally posted by author:
Enables or disables moodles having an effect on the characters comfort.
Type of value: Boolean, Default: true


forceAwakeIfVeryUncomfy
Originally posted by author:
Enables or disables characters being restless and waking up in the middle of the night, depending on their comfort. This only happens at "Poor" and "Very Poor" comfort levels.
Type of value: Boolean, Default: true


forceAwakeIfSnug
Originally posted by author:
Enables or disables characters waking up when their fatigue hits 0, instead of sleeping in with no benefit.
Type of value: Boolean, Default: true


painChance
Originally posted by author:
The chance of your character waking up with neck pain out of 100. This only happens at the "Poor" and "Very Poor" comfort levels.
Type of value: Integer or Float, Default: 30


painLowerBound
Originally posted by author:
The least amount of time the neck pain will last. Higher numbers cause the pain to last longer.
Type of value: Integer or Float, Default: 20


painUpperBound
Originally posted by author:
The maximum amount of time the neck pain will last. Higher numbers cause the pain to last longer.
Type of value: Integer or Float, Default: 50


uncomfy1Endurance
Originally posted by author:
The maximum amount of endurance/stamina your character can regenerate while sleeping with a "Tolerable" comfort level
Type of value: Float, Default: 0.9


uncomfy2Endurance
Originally posted by author:
The maximum amount of endurance/stamina your character can regenerate while sleeping with a "Bad" comfort level
Type of value: Float, Default: 0.8


uncomfy2Fatigue
Originally posted by author:
The maximum amount of fatigue your character can regenerate while sleeping with a "Bad" comfort level
Type of value: Float, Default: 0.3


uncomfy3Endurance
Originally posted by author:
The maximum amount of endurance/stamina your character can regenerate while sleeping with a "Poor" comfort level
Type of value: Float, Default: 0.6


uncomfy3Fatigue
Originally posted by author:
The maximum amount of fatigue your character can regenerate while sleeping with a "Poor" comfort level
Type of value: Float, Default: 0.5


uncomfy4Endurance
Originally posted by author:
The maximum amount of endurance/stamina your character can regenerate while sleeping with a "Very Poor" comfort level
Type of value: Float, Default: 0.4


uncomfy4Fatigue
Originally posted by author:
The maximum amount of fatigue your character can regenerate while sleeping with a "Very Poor" comfort level
Type of value: Float, Default: 0.7
Last edited by Fluffy89; Oct 31, 2023 @ 10:46pm