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. |
---|---|
contents_icon_state | The overlay for this fridge when it is filled with stuff |
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 |
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.
contents_icon_state
The overlay for this fridge when it is filled with stuff
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
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