Yogstation 13 - Modules - TypesVar Details - Proc Details

Rapid Service Fabricator (RSF)

Vars

action_typeA list of surfaces that we are allowed to place things on.
cost_by_itemAn associated list of atoms and charge costs. This can contain a seperate list, as long as it's associated item is an object
dispense_costThe type of the object we are going to dispense
max_matterThe current matter count
spent_icon_stateThe icon state to revert to when the tool is empty (thanks TG)
to_dispenseThe max amount of matter in the device
w_classThe cost of the object we are going to dispense

Procs

InitializeThe verb that describes what we're doing, for use in text
formRadialForms a radial menu based off an object in a list, or a list's associated object
is_allowedHelper proc that iterates through all the things we are allowed to spawn on, and sees if the passed atom is one of them
use_matterA helper proc. checks to see if we can afford the amount of charge that is passed, and if we can docs the charge from our base, and returns TRUE. If we can't we return FALSE

Var Details

action_type

A list of surfaces that we are allowed to place things on.

cost_by_item

An associated list of atoms and charge costs. This can contain a seperate list, as long as it's associated item is an object

dispense_cost

The type of the object we are going to dispense

max_matter

The current matter count

spent_icon_state

The icon state to revert to when the tool is empty (thanks TG)

to_dispense

The max amount of matter in the device

w_class

The cost of the object we are going to dispense

Proc Details

Initialize

The verb that describes what we're doing, for use in text

formRadial

Forms a radial menu based off an object in a list, or a list's associated object

is_allowed

Helper proc that iterates through all the things we are allowed to spawn on, and sees if the passed atom is one of them

use_matter

A helper proc. checks to see if we can afford the amount of charge that is passed, and if we can docs the charge from our base, and returns TRUE. If we can't we return FALSE