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

smite

A smite, used by admins to punish players, or for their own amusement

Vars

nameThe name of the smite, shown in the menu
should_logShould this smite write to logs?

Procs

configureCalled once after either choosing the option to smite a player, or when selected in smite build mode. Use this to prompt the user configuration options. Return FALSE if the smite should not be used.
effectThe effect of the smite, make sure to call this in your own smites

Var Details

name

The name of the smite, shown in the menu

should_log

Should this smite write to logs?

Proc Details

configure

Called once after either choosing the option to smite a player, or when selected in smite build mode. Use this to prompt the user configuration options. Return FALSE if the smite should not be used.

effect

The effect of the smite, make sure to call this in your own smites