/tg/ Station 13 - Modules - TypesVar Details - Proc Details

displaycase

Vars

alarm_managerRepresents a signel source of screaming when broken
alertIs the displaycase hooked up to a burglar alarm?
autoexamine_while_closedUsed for subtypes that have a UI in them. The examine on click while adjecent will not fire, as we already get a popup
custom_glass_overlayIf we have a custom glass overlay to use.
glass_fixDisplaycase is fixed by glass
openIs the displaycase open at the moment?
showpieceThe showpiece item inside the case
showpiece_typeThis allows for showpieces that can only hold items if they're the same istype as this.
start_showpiece_typeAdd type for items on display

Procs

dumpRemoves the showpiece from the displaycase
insert_showpieceHandles placing an item into the display case. Returns TRUE if the item failed to be placed inside the container, useful for descendants
toggle_lockOpens and closes the display case
trigger_alarmAnti-theft alarm triggered when broken.

Var Details

alarm_manager

Represents a signel source of screaming when broken

alert

Is the displaycase hooked up to a burglar alarm?

autoexamine_while_closed

Used for subtypes that have a UI in them. The examine on click while adjecent will not fire, as we already get a popup

custom_glass_overlay

If we have a custom glass overlay to use.

glass_fix

Displaycase is fixed by glass

open

Is the displaycase open at the moment?

showpiece

The showpiece item inside the case

showpiece_type

This allows for showpieces that can only hold items if they're the same istype as this.

start_showpiece_type

Add type for items on display

Proc Details

dump

Removes the showpiece from the displaycase

insert_showpiece

Handles placing an item into the display case. Returns TRUE if the item failed to be placed inside the container, useful for descendants

toggle_lock

Opens and closes the display case

trigger_alarm

Anti-theft alarm triggered when broken.