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

traitor_spraycan

Vars

drawing_runeAre we currently drawing? Used to prevent spam clicks for do_while
expendedSet to true if we finished drawing something, this spraycan is now useless

Procs

draw_runeDraw your stage one rune on the ground and store it.
suicide_actCopying the functionality from normal spraycans, but doesn't need all the optional checks
try_complete_runeTry to upgrade a floor rune to its next stage.
try_draw_new_runeAttempt to draw a rune on [target_turf]. Shamelessly adapted from the heretic rune drawing process.
try_draw_stepHolder for repeated code to do something after a message and a set amount of time.

Var Details

drawing_rune

Are we currently drawing? Used to prevent spam clicks for do_while

expended

Set to true if we finished drawing something, this spraycan is now useless

Proc Details

draw_rune

Draw your stage one rune on the ground and store it.

Arguments

suicide_act

Copying the functionality from normal spraycans, but doesn't need all the optional checks

try_complete_rune

Try to upgrade a floor rune to its next stage.

Arguments

try_draw_new_rune

Attempt to draw a rune on [target_turf]. Shamelessly adapted from the heretic rune drawing process.

Arguments

try_draw_step

Holder for repeated code to do something after a message and a set amount of time.

Arguments