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

smartfridge

Vars

base_build_pathWhat path boards used to construct it should build into when dropped. Needed so we don't accidentally have them build variants with items preloaded in them.
can_be_welded_downWhether the smartfridge is welded down to the floor disabling unwrenching
contents_overlay_iconIcon state part for contents display
default_list_viewWhether the UI should be set to list view by default
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 per matter bin tier
vend_soundThe sound of item retrieval
visible_contentsIf the machine shows an approximate number of its contents on its sprite
welded_downWhether the smartfridge is welded down to the floor disabling unwrenching

Procs

accept_checkCan this item be accepted by the smart fridge Arguments
loadLoads the item into the smart fridge Arguments
structure_examineReturns details related to the fridge structure
visible_itemsReturns the number of items visible in the fridge. Faster than subtracting 2 lists

Var Details

base_build_path

What path boards used to construct it should build into when dropped. Needed so we don't accidentally have them build variants with items preloaded in them.

can_be_welded_down

Whether the smartfridge is welded down to the floor disabling unwrenching

contents_overlay_icon

Icon state part for contents display

default_list_view

Whether the UI should be set to list view by default

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 per matter bin tier

vend_sound

The sound of item retrieval

visible_contents

If the machine shows an approximate number of its contents on its sprite

welded_down

Whether the smartfridge is welded down to the floor disabling unwrenching

Proc Details

accept_check

Can this item be accepted by the smart fridge Arguments

load

Loads the item into the smart fridge Arguments

structure_examine

Returns details related to the fridge structure

visible_items

Returns the number of items visible in the fridge. Faster than subtracting 2 lists