/tg/ Station 13 - Modules - TypesVar Details - Proc Details

all_nighter

Vars

bodypart_overlaythe overlay we put over the eyes
five_more_minutesessentially our "sleep bank". sleeping charges it up and its drained while awake

Procs

addadds the corresponding moodlet and visual effects
add_bagsadds the bag overlay
on_removed_limbif we have bags and lost a head, remove them
processHere we actively handle our moodlet & eye bags, adding/removing them as necessary
removeremoves the corresponding moodlet and visual effects
remove_bagsremoves 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