SS1984 - Modules - TypesVar Details

glasses

Vars

color_viewList of color matrix to override client.color while worn (e.g., grayscale).
examine_extensionsList of examine extensions (e.g., medical HUD, science HUD).
invis_overrideOverride to allow glasses to see higher invisibility levels than normal.
invis_viewLevel of invisibility the wearer can see (default SEE_INVISIBLE_LIVING).
lighting_alphaAlpha value for lighting plane when worn (affects darkness rendering).
over_hatWhether the glasses are worn over a hat (affects layering).
over_maskWhether the eyewear is rendered above the mask (purely cosmetic).
prescriptionWhether the glasses have prescription lenses.
prescription_upgradableWhether the glasses can be upgraded with prescription lenses.
see_in_darkHow well the wearer can see in darkness (base human is 2).
vision_flagsBitflags for vision enhancements (e.g., SEE_TURFS, SEE_MOBS).

Var Details

color_view

List of color matrix to override client.color while worn (e.g., grayscale).

examine_extensions

List of examine extensions (e.g., medical HUD, science HUD).

invis_override

Override to allow glasses to see higher invisibility levels than normal.

invis_view

Level of invisibility the wearer can see (default SEE_INVISIBLE_LIVING).

lighting_alpha

Alpha value for lighting plane when worn (affects darkness rendering).

over_hat

Whether the glasses are worn over a hat (affects layering).

over_mask

Whether the eyewear is rendered above the mask (purely cosmetic).

prescription

Whether the glasses have prescription lenses.

prescription_upgradable

Whether the glasses can be upgraded with prescription lenses.

see_in_dark

How well the wearer can see in darkness (base human is 2).

vision_flags

Bitflags for vision enhancements (e.g., SEE_TURFS, SEE_MOBS).