Space Station 13 - Modules - TypesVar Details - Proc Details

smartfridge

Vars

accepted_typesList of type paths this fridge accepts.
startswithtype path = ammount. Defaults to 1 if ammount = null

Procs

fill_withFills the smartfridge with objects from a list. Verifies that each object is an accepted type for the smartfridge.
ui_interactSmartFridge Menu
use_toolItem Adding

Var Details

accepted_types

List of type paths this fridge accepts.

startswith

type path = ammount. Defaults to 1 if ammount = null

Proc Details

fill_with

Fills the smartfridge with objects from a list. Verifies that each object is an accepted type for the smartfridge.

@param lst an associative list where key = value corresponds to obj = ammount. If key(obj) = null then stocks only 1 instance of said object.

@return bool where FALSE means an invalid list

ui_interact

SmartFridge Menu

use_tool

Item Adding