Goonstation 13 - Modules - TypesVar Details - Proc Details

EFIF-1 Construction System

Vars

active_fieldsCurrently active construction fields
max_sheetsMaximum allowable sheets loaded within tool
steel_sheetsCurrent loaded steel sheets (only accepts steel, as the system's metalforming is designed for it)
wide_fieldSecondary toggleable setting to increase build size (can be deactivated for fine work)

Procs

build_mode_evalHelper proc to determine suitability of current tile for construction field application
check_sheetsHelper proc that checks if enough sheets are available for building given current build mode and ship size
do_constructSelects locations for construction operation and initiates action bar
do_repairSelects locations for construction operation and initiates action bar. Needs construction recall on turf or area to work
get_cost_modHelper proc to get an individual construction field's cost (used by action bar as well)
scoop_up_sheetsShip arms' proc to find and attempt loading of sheets on the ground
sheet_load_helperSheet-loading proc for both automatic and manual loading. Set up for flag-based return, for responsive player messaging. Returns FALSE if provided object is unsuitable, LOAD_FULL (1) if storage is full, and/or LOAD_SUCCESS (2) if sheets were loaded.

Var Details

active_fields

Currently active construction fields

max_sheets

Maximum allowable sheets loaded within tool

steel_sheets

Current loaded steel sheets (only accepts steel, as the system's metalforming is designed for it)

wide_field

Secondary toggleable setting to increase build size (can be deactivated for fine work)

Proc Details

build_mode_eval

Helper proc to determine suitability of current tile for construction field application

check_sheets

Helper proc that checks if enough sheets are available for building given current build mode and ship size

do_construct

Selects locations for construction operation and initiates action bar

do_repair

Selects locations for construction operation and initiates action bar. Needs construction recall on turf or area to work

get_cost_mod

Helper proc to get an individual construction field's cost (used by action bar as well)

scoop_up_sheets

Ship arms' proc to find and attempt loading of sheets on the ground

sheet_load_helper

Sheet-loading proc for both automatic and manual loading. Set up for flag-based return, for responsive player messaging. Returns FALSE if provided object is unsuitable, LOAD_FULL (1) if storage is full, and/or LOAD_SUCCESS (2) if sheets were loaded.