Paradise Station 13 - Modules - TypesVar Details - Proc Details

Police Baton

Knocks down the hit mob when not on harm intent and when /obj/item/melee/classic_baton/on is TRUE

A non-lethal attack has a cooldown to avoid spamming

Vars

affect_siliconWhether the baton can stun silicon mobs
cooldownCooldown in deciseconds between two knockdowns
onWhether the baton is toggled on (to allow attacking)
on_cooldownWhether the baton is on cooldown
stun_soundSound to play when knocking someone down
stun_timeThe stun time (in life cycles) for non-silicons
stun_time_siliconThe stun time (in life cycles) for silicons

Procs

cooldown_finishedCalled some time after a non-lethal attack
on_non_silicon_stunCalled when a non-silicon has been stunned.
on_silicon_stunCalled when a silicon has been stunned.
stunCalled when a target is about to be hit non-lethally.

Var Details

affect_silicon

Whether the baton can stun silicon mobs

cooldown

Cooldown in deciseconds between two knockdowns

on

Whether the baton is toggled on (to allow attacking)

on_cooldown

Whether the baton is on cooldown

stun_sound

Sound to play when knocking someone down

stun_time

The stun time (in life cycles) for non-silicons

stun_time_silicon

The stun time (in life cycles) for silicons

Proc Details

cooldown_finished

Called some time after a non-lethal attack

on_non_silicon_stun

Called when a non-silicon has been stunned.

Arguments:

on_silicon_stun

Called when a silicon has been stunned.

Arguments:

stun

Called when a target is about to be hit non-lethally.

Arguments: