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

terrified

Vars

terror_buildupA value that represents how much "terror" the victim has built up. Higher amounts cause more averse effects.

Procs

check_surrounding_darknessChecks the surroundings of our victim and returns TRUE if the user is surrounded by enough darkness
comfort_ownerIf we get a hug from a friend, we calm down! If we get a hug from a nightmare, we FREAK OUT.
freak_outAdds to the victim's terror buildup, makes them scream, and knocks them over for a moment.

Var Details

terror_buildup

A value that represents how much "terror" the victim has built up. Higher amounts cause more averse effects.

Proc Details

check_surrounding_darkness

Checks the surroundings of our victim and returns TRUE if the user is surrounded by enough darkness

Checks the surrounded tiles for light amount. If the user has more light nearby, return true. Otherwise, return false

comfort_owner

If we get a hug from a friend, we calm down! If we get a hug from a nightmare, we FREAK OUT.

freak_out

Adds to the victim's terror buildup, makes them scream, and knocks them over for a moment.

Makes the victm scream and adds the passed amount to their buildup. Knocks over the victim for a brief moment.