byond - Modules - TypesVar Details - Proc Details

squad optic

Vars

action_icon_stringThe icon name for our helmet's action, in 'icons/obj/items/clothing/helmet_visors.dmi'
helmet_overlayThe overlay name for when our visor is active, in 'icons/mob/humans/onmob/helmet_garb.dmi'
hud_typeThe type of HUD our visor shows
toggle_off_soundThe sound when toggling off the visor
toggle_on_soundThe sound when toggling on the visor

Procs

activate_visorCalled by toggle_visor() to activate the visor's effects
can_toggleCalled to see if the user can even use this visor
deactivate_visorCalled by toggle_visor() to deactivate the visor's effects
get_helmet_examine_textCalled by /obj/item/clothing/head/helmet/marine/get_examine_text(mob/user) to get extra examine text for this visor
toggle_visorCalled to see if this visor is a special non-HUD visor

Var Details

action_icon_string

The icon name for our helmet's action, in 'icons/obj/items/clothing/helmet_visors.dmi'

helmet_overlay

The overlay name for when our visor is active, in 'icons/mob/humans/onmob/helmet_garb.dmi'

hud_type

The type of HUD our visor shows

toggle_off_sound

The sound when toggling off the visor

toggle_on_sound

The sound when toggling on the visor

Proc Details

activate_visor

Called by toggle_visor() to activate the visor's effects

can_toggle

Called to see if the user can even use this visor

deactivate_visor

Called by toggle_visor() to deactivate the visor's effects

get_helmet_examine_text

Called by /obj/item/clothing/head/helmet/marine/get_examine_text(mob/user) to get extra examine text for this visor

toggle_visor

Called to see if this visor is a special non-HUD visor