Space Station 13 - Modules - TypesVar Details - Proc Details

cursed_slot_machine

Greed's slot machine: Used in the Greed ruin. Deals damage on each use, with a successful use giving a d20 of fate.

Vars

brightness_onShould we be emitting light?
cooldown_lengthLength of the cooldown between the machine being used and being able to spin the machine again.
icon_screenVariable that tracks the screen we display.
in_active_useAre we currently in use? Anti-spam prevention measure.
max_curse_amountThe maximum amount of curses we will allow a player to have before disallowing them to use the machine.
prizemachine's reward when you hit jackpot
spin_cooldownCooldown between pulls of the cursed slot machine.
status_effect_on_rollshould we be applying the cursed status effect?
win_probThe probability the player has to win.

Procs

check_and_set_usageValidates that the user can use the cursed slot machine. User is the person using the slot machine. Returns TRUE if we can, FALSE otherwise.

Var Details

brightness_on

Should we be emitting light?

cooldown_length

Length of the cooldown between the machine being used and being able to spin the machine again.

icon_screen

Variable that tracks the screen we display.

in_active_use

Are we currently in use? Anti-spam prevention measure.

max_curse_amount

The maximum amount of curses we will allow a player to have before disallowing them to use the machine.

prize

machine's reward when you hit jackpot

spin_cooldown

Cooldown between pulls of the cursed slot machine.

status_effect_on_roll

should we be applying the cursed status effect?

win_prob

The probability the player has to win.

Proc Details

check_and_set_usage

Validates that the user can use the cursed slot machine. User is the person using the slot machine. Returns TRUE if we can, FALSE otherwise.