byond - Modules - TypesVar Details - Proc Details

closet

Vars

breakout_timeHow much time it takes to resist out of a closet
close_soundThe sound the closet makes when closed
closet_flagsThe flags of closets, used for various flags, see code__DEFINES\objects.dm
closet_stun_delayThe delay between stuns getting out of the closet causes
drop_materialThe material dropped on destruction
icon_closedUsed for determining the closed overlay
icon_openedUsed for determining the open overlay
item_size_counterHow many items are currently inside
lastbangThe cooldown for the "bang bang" of breaking out of the closet
lockedIs the closet locked?
max_mob_sizeThe maximum size of the mob we can put in
mob_size_counterHow many mobs are currently inside
mob_storage_capacityHow many max_mob_size'd mob/living can fit together inside a closet.
open_soundThe sound the closet makes when opened
openedIs the closet open?
overlay_weldedUsed for determining the welded overlay
storage_capacityThe amount of things in general we can have in a closet
wall_mountedIs the closet mounted to a wall?
weldedIs the closet welded?

Procs

PopulateContentsUSE THIS TO FILL IT, NOT INITIALIZE OR NEW

Var Details

breakout_time

How much time it takes to resist out of a closet

close_sound

The sound the closet makes when closed

closet_flags

The flags of closets, used for various flags, see code__DEFINES\objects.dm

closet_stun_delay

The delay between stuns getting out of the closet causes

drop_material

The material dropped on destruction

icon_closed

Used for determining the closed overlay

icon_opened

Used for determining the open overlay

item_size_counter

How many items are currently inside

lastbang

The cooldown for the "bang bang" of breaking out of the closet

locked

Is the closet locked?

max_mob_size

The maximum size of the mob we can put in

mob_size_counter

How many mobs are currently inside

mob_storage_capacity

How many max_mob_size'd mob/living can fit together inside a closet.

open_sound

The sound the closet makes when opened

opened

Is the closet open?

overlay_welded

Used for determining the welded overlay

storage_capacity

The amount of things in general we can have in a closet

wall_mounted

Is the closet mounted to a wall?

welded

Is the closet welded?

Proc Details

PopulateContents

USE THIS TO FILL IT, NOT INITIALIZE OR NEW