byond - Modules - TypesVar Details - Proc Details

clothing_fov_visor

An element to add a FOV trait to the wearer, removing it when an item is unequipped, but only as long as the visor is up.

Vars

fov_angleWhat's the FOV angle of the trait we're applying to the wearer
is_wornBecause of clothing code not being too good, we need keep track whether we are worn.
wearerThe current wearer

Procs

on_dropOn dropping the item, remove the FoV trait if visor was down.
on_equipOn equipping the item, add the FoV trait if visor isn't up.

Var Details

fov_angle

What's the FOV angle of the trait we're applying to the wearer

is_worn

Because of clothing code not being too good, we need keep track whether we are worn.

wearer

The current wearer

Proc Details

on_drop

On dropping the item, remove the FoV trait if visor was down.

on_equip

On equipping the item, add the FoV trait if visor isn't up.