byond - Modules - TypesVar Details - Proc Details

desk bell

Vars

broken_ringerIs this bell broken?
ring_cooldownHolds the time that the bell can next be rang.
ring_cooldown_lengthThe length of the cooldown. Setting it to 0 will skip all cooldowns alltogether.
ring_soundThe sound the bell makes.
times_rangThe amount of times this bell has been rang, used to check the chance it breaks.

Procs

check_clapperCheck if the clapper breaks, and if it does, break it. Chance to break is 1% for every 100 rings of the bell.
ring_bellRing the bell.

Var Details

broken_ringer

Is this bell broken?

ring_cooldown

Holds the time that the bell can next be rang.

ring_cooldown_length

The length of the cooldown. Setting it to 0 will skip all cooldowns alltogether.

ring_sound

The sound the bell makes.

times_rang

The amount of times this bell has been rang, used to check the chance it breaks.

Proc Details

check_clapper

Check if the clapper breaks, and if it does, break it. Chance to break is 1% for every 100 rings of the bell.

ring_bell

Ring the bell.