smartfridge
Vars | |
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 |
Procs | |
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 |
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
- weapon - the item to accept
load
Loads the item into the smart fridge Arguments
- weapon - the item to load. If the item is being held by a mo it will transfer it from hand else directly force move
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