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

honorbound

Honorbound prevents you from attacking the unready, the just, or the innocent

Vars

guiltylist of guilty people

Procs

attack_honorSignal to see if the trauma allows us to attack a target
check_visible_guiltChecks a mob for any obvious signs of evil, and applies a guilty reason for each.
guiltyCalled by hooked signals whenever someone attacks the person with this trauma Checks if the attacker should be considered guilty and adds them to the guilty list if true
is_honorableCalled by attack_honor signal to check whether an attack should be allowed or not
on_attackedSignal sent by the relay_attackers element. It makes the attacker guilty unless the damage was stamina or it was a shove.
punishmentCalled when a spell is casted or a magic gun is fired, checks the signal and punishes accordingly

Var Details

guilty

list of guilty people

Proc Details

attack_honor

Signal to see if the trauma allows us to attack a target

check_visible_guilt

Checks a mob for any obvious signs of evil, and applies a guilty reason for each.

guilty

Called by hooked signals whenever someone attacks the person with this trauma Checks if the attacker should be considered guilty and adds them to the guilty list if true

Arguments:

is_honorable

Called by attack_honor signal to check whether an attack should be allowed or not

Arguments:

on_attacked

Signal sent by the relay_attackers element. It makes the attacker guilty unless the damage was stamina or it was a shove.

punishment

Called when a spell is casted or a magic gun is fired, checks the signal and punishes accordingly

Arguments: