Project Zomboid

Project Zomboid

Comfy Sleeping [B41 & B42]
 此主题已被置顶,因此可能具有重要性
Fluffy89  [开发者] 2023 年 7 月 13 日 下午 5:18
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
引用自 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
引用自 author
Enables or disables moodles having an effect on the characters comfort.
Type of value: Boolean, Default: true


forceAwakeIfVeryUncomfy
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
引用自 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
最后由 Fluffy89 编辑于; 2023 年 10 月 31 日 下午 10:46