/tg/ Station 13 - Modules - Types — Var Details - Proc Details

anomaly_locked_gun

Anomaly Locked Gun

Prevents guns from being fired without having an anomaly core installed

Vars

accepted_anomaliesList of anomaly core types that are accepted by this gun
coreReference to currently installed core

Procs

on_can_shootHooks can_shoot to ensure we cover ALL cases where the gun may attempt to fire
on_try_fireHooks try_shoot to give a feedback when they try to fire (it runs before can_shoot, letting us be more specific)

Var Details

accepted_anomalies

List of anomaly core types that are accepted by this gun

core

Reference to currently installed core

Proc Details

on_can_shoot

Hooks can_shoot to ensure we cover ALL cases where the gun may attempt to fire

on_try_fire

Hooks try_shoot to give a feedback when they try to fire (it runs before can_shoot, letting us be more specific)