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

cyberimp

Vars

aug_iconicon of the bodypart overlay we're going to be applying to our owner
aug_overlayicon_state of the bodypart overlay we're going to be applying to our owner
bodypart_augBodypart overlay we're going to apply to whoever we're implanted into
cannot_confiscateIf TRUE, this augment cannot be confiscated at roundstart for roles like prisoner, etc.
emissive_overlayDoes the implant have an emissive overlay too?
overlay_layerMob layer the overlay will be placed onto

Procs

get_overlay_stateReturns what icon_state the bodypart overlay should be in. Defaults to whatever is set in the variable, but can be overridden by subtypes which need multiple states
update_overlay_stateRefreshes the overlay's icon_state, then calls update_bodyparts if necessary

Var Details

aug_icon

icon of the bodypart overlay we're going to be applying to our owner

aug_overlay

icon_state of the bodypart overlay we're going to be applying to our owner

bodypart_aug

Bodypart overlay we're going to apply to whoever we're implanted into

cannot_confiscate

If TRUE, this augment cannot be confiscated at roundstart for roles like prisoner, etc.

emissive_overlay

Does the implant have an emissive overlay too?

overlay_layer

Mob layer the overlay will be placed onto

Proc Details

get_overlay_state

Returns what icon_state the bodypart overlay should be in. Defaults to whatever is set in the variable, but can be overridden by subtypes which need multiple states

update_overlay_state

Refreshes the overlay's icon_state, then calls update_bodyparts if necessary