Shiptest 13 - Modules - TypesVar Details - Proc Details

rsf

Vars

action_typeThe verb that describes what we're doing, for use in text
allowed_surfacesA 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
discriptorThe unit of mesure of the matter, for use in text
dispense_costThe cost of the object we are going to dispense
matterThe current matter count
matter_by_itemAn associated list of fuel and it's value
max_matterThe max amount of matter in the device
spent_icon_stateThe icon state to revert to when the tool is empty
to_dispenseThe type of the object we are going to dispense

Procs

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

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

allowed_surfaces

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

discriptor

The unit of mesure of the matter, for use in text

dispense_cost

The cost of the object we are going to dispense

matter

The current matter count

matter_by_item

An associated list of fuel and it's value

max_matter

The max amount of matter in the device

spent_icon_state

The icon state to revert to when the tool is empty

to_dispense

The type of the object we are going to dispense

Proc Details

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