all_nighter
Vars | |
bodypart_overlay | the overlay we put over the eyes |
---|---|
five_more_minutes | essentially our "sleep bank". sleeping charges it up and its drained while awake |
Procs | |
add | adds the corresponding moodlet and visual effects |
add_bags | adds the bag overlay |
on_removed_limb | if we have bags and lost a head, remove them |
process | Here we actively handle our moodlet & eye bags, adding/removing them as necessary |
remove | removes the corresponding moodlet and visual effects |
remove_bags | removes the bag overlay |
Var Details
bodypart_overlay
the overlay we put over the eyes
five_more_minutes
essentially our "sleep bank". sleeping charges it up and its drained while awake
Proc Details
add
adds the corresponding moodlet and visual effects
add_bags
adds the bag overlay
on_removed_limb
if we have bags and lost a head, remove them
process
Here we actively handle our moodlet & eye bags, adding/removing them as necessary
*Logic: *Every second spent sleeping adds to the "sleep bank" with a multiplier of SLEEP_BANK_MULTIPLIER *Every waking second drains the sleep bank until empty *An empty sleep bank means you have bags beneath your eyes *An empty sleep bank AND a lack of stimulants means you have the negative moodlet
*Variables: *happy_camper - FALSE if we should have the negative moodlet *beauty_sleep - FALSE if we should have bags
remove
removes the corresponding moodlet and visual effects
remove_bags
removes the bag overlay