SS1984 - Modules - TypesVar Details - Proc Details

coffeemaker_resource

Base datum for all coffeemaker resources

Vars

current_amountCurrent amount of the resource
icon_stateIcon state for radial menu
idUnique identifier for the resource
item_typeType of item to create when taking
max_amountMaximum capacity for this resource
radial_nameDisplay name for radial menu
resource_nameName of resource
section_nameThe name of the resource in the compartment

Procs

can_insertCheck if an item can be inserted as this resource
can_takeCheck if resource can be taken
get_examine_stringGet examine string for this resource
insert_resourceInsert an item as this resource
take_resourceTake one unit of the resource from the machine

Var Details

current_amount

Current amount of the resource

icon_state

Icon state for radial menu

id

Unique identifier for the resource

item_type

Type of item to create when taking

max_amount

Maximum capacity for this resource

radial_name

Display name for radial menu

resource_name

Name of resource

section_name

The name of the resource in the compartment

Proc Details

can_insert

Check if an item can be inserted as this resource

Arguments:

can_take

Check if resource can be taken

Arguments:

get_examine_string

Get examine string for this resource

insert_resource

Insert an item as this resource

Arguments:

take_resource

Take one unit of the resource from the machine

Arguments: