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

cursed

Status effect that gives the target miscellanous debuffs while throwing a status alert and causing them to smoke from the damage they're incurring. Purposebuilt for cursed slot machines.

Vars

branded_handThe hand we are branded to.
curse_countThe amount of times we have been "applied" to the target.
damage_chanceRaw probability we have to deal damage this tick.
max_curse_countThe max number of curses a target can incur with this status effect.
monologuingAre we currently in the process of sending a monologue?
smoke_pathThe cached path of the particles we're using to smoke

Procs

check_cursesChecks the number of curses we have and returns information back to the slot machine. max_curse_amount is set by the slot machine itself.
clear_cursesCleans ourselves up and removes our curses. Meant to be done in a "positive" way, when the curse is broken. Directly use qdel otherwise.
handle_after_effectsMakes a nice lorey message about the curse level we're at. I think it's nice
on_deathIf our owner dies without getting gibbed (as in of other causes), stop smoking because we've "expended all the life energy".
on_stat_changedIf our owner's stat changes, rapidly surge the damage chance.
update_curse_countHandles the debuffs of this status effect and incrementing the number of curses we have.

Var Details

branded_hand

The hand we are branded to.

curse_count

The amount of times we have been "applied" to the target.

damage_chance

Raw probability we have to deal damage this tick.

max_curse_count

The max number of curses a target can incur with this status effect.

monologuing

Are we currently in the process of sending a monologue?

smoke_path

The cached path of the particles we're using to smoke

Proc Details

check_curses

Checks the number of curses we have and returns information back to the slot machine. max_curse_amount is set by the slot machine itself.

clear_curses

Cleans ourselves up and removes our curses. Meant to be done in a "positive" way, when the curse is broken. Directly use qdel otherwise.

handle_after_effects

Makes a nice lorey message about the curse level we're at. I think it's nice

on_death

If our owner dies without getting gibbed (as in of other causes), stop smoking because we've "expended all the life energy".

on_stat_changed

If our owner's stat changes, rapidly surge the damage chance.

update_curse_count

Handles the debuffs of this status effect and incrementing the number of curses we have.