Yogstation 13 - Modules - TypesVar Details - Proc Details

smartfridge

Vars

dispenser_armwhether or not the dispenser is active (wires can disable this)
full_indicator_statethe icon state for the "oh no, we're full" indicator light
has_emissiveIs this smartfridge going to have a glowing screen? (Drying Racks are not)
initial_contentsList of items that the machine starts with upon spawn
max_n_of_itemsMaximum number of items that can be loaded into the machine
pitch_delayHow long until we can pitch again?
pitcheswhether or not it should use "sales pitches" similar to a vendor machine
product_slogansString of slogans separated by semicolons, optional
retrieval_statethe icon state for the dispensing animation
retrieval_timethe length (in ticks) of the retrieval_state
seconds_electrifiedShock users like an airlock.
supports_capacity_indicationwhether or not the smartfridge supports 5 levels of inventory quantity indication icon states
supports_full_indicator_statewhether or not the smartfridge supports a full inventory indicator icon state
supports_retrieval_statewhether or not the smartfridge supports a retrieval_state dispensing animation

Procs

attackbyItem Adding
dispenseReally simple proc, just moves the object "O" into the hands of mob "M" if able, done so I could modify the proc a little for the organ fridge

Var Details

dispenser_arm

whether or not the dispenser is active (wires can disable this)

full_indicator_state

the icon state for the "oh no, we're full" indicator light

has_emissive

Is this smartfridge going to have a glowing screen? (Drying Racks are not)

initial_contents

List of items that the machine starts with upon spawn

max_n_of_items

Maximum number of items that can be loaded into the machine

pitch_delay

How long until we can pitch again?

pitches

whether or not it should use "sales pitches" similar to a vendor machine

product_slogans

String of slogans separated by semicolons, optional

retrieval_state

the icon state for the dispensing animation

retrieval_time

the length (in ticks) of the retrieval_state

seconds_electrified

Shock users like an airlock.

supports_capacity_indication

whether or not the smartfridge supports 5 levels of inventory quantity indication icon states

supports_full_indicator_state

whether or not the smartfridge supports a full inventory indicator icon state

supports_retrieval_state

whether or not the smartfridge supports a retrieval_state dispensing animation

Proc Details

attackby

Item Adding

dispense

Really simple proc, just moves the object "O" into the hands of mob "M" if able, done so I could modify the proc a little for the organ fridge