Space Station 13 - Modules - TypesVar Details - Proc Details

Exosuit Fabricator

A machine that allows for the production of exosuits and robotic parts.

Vars

allowed_design_typesBitflags of design types that can be produced.
autolink_idID to autolink to, used in mapload
being_builtThe design that is being currently being built.
build_endThe world.time at which the current design build will end.
build_queueThe build queue. Lazy list.
build_startThe world.time at which the current design build started.
categoriesList of categories to display in the UI. Designs intended for each respective category need to have the name in [/datum/design/category]. Defined in [Initialize()][/atom/proc/Initialize].
component_coeffResource efficiency multiplier. A lower value means less resources consumed. Updated by [CheckParts()][/atom/proc/CheckParts].
idUnused. Ensures backwards compatibility with some maps.
network_manager_uidUID of the network that we use
output_dirDefines what direction this thing spits out it's produced parts
processing_queueWhether the queue is currently being processed.
selected_categoryThe currently selected category.
time_coeffProduction time multiplier. A lower value means faster production. Updated by [CheckParts()][/atom/proc/CheckParts].

Procs

build_designGiven a design, attempts to build it.
build_design_timer_finishCalled when the timer for building a design finishes.
can_afford_designReturns whether the machine contains enough resources to build the given design.
can_insert_materialsReturns whether the machine can accept new materials.
get_design_build_timeCalculates the total build time of a design, applying /obj/machinery/mecha_part_fabricator/var/time_coeff.
get_design_costCalculates the total resource cost of a design, applying /obj/machinery/mecha_part_fabricator/var/component_coeff.
on_material_insertCalled by /datum/component/material_container when material sheets are inserted in the machine.
on_material_insert_timer_finishCalled when the timer after inserting material sheets finishes.
process_queueAttempts to build the first item in the queue.

Var Details

allowed_design_types

Bitflags of design types that can be produced.

ID to autolink to, used in mapload

being_built

The design that is being currently being built.

build_end

The world.time at which the current design build will end.

build_queue

The build queue. Lazy list.

build_start

The world.time at which the current design build started.

categories

List of categories to display in the UI. Designs intended for each respective category need to have the name in [/datum/design/category]. Defined in [Initialize()][/atom/proc/Initialize].

component_coeff

Resource efficiency multiplier. A lower value means less resources consumed. Updated by [CheckParts()][/atom/proc/CheckParts].

id

Unused. Ensures backwards compatibility with some maps.

network_manager_uid

UID of the network that we use

output_dir

Defines what direction this thing spits out it's produced parts

processing_queue

Whether the queue is currently being processed.

selected_category

The currently selected category.

time_coeff

Production time multiplier. A lower value means faster production. Updated by [CheckParts()][/atom/proc/CheckParts].

Proc Details

build_design

Given a design, attempts to build it.

Arguments:

build_design_timer_finish

Called when the timer for building a design finishes.

Arguments:

can_afford_design

Returns whether the machine contains enough resources to build the given design.

Arguments:

can_insert_materials

Returns whether the machine can accept new materials.

get_design_build_time

Calculates the total build time of a design, applying /obj/machinery/mecha_part_fabricator/var/time_coeff.

Arguments:

get_design_cost

Calculates the total resource cost of a design, applying /obj/machinery/mecha_part_fabricator/var/component_coeff.

Arguments:

on_material_insert

Called by /datum/component/material_container when material sheets are inserted in the machine.

Arguments:

on_material_insert_timer_finish

Called when the timer after inserting material sheets finishes.

process_queue

Attempts to build the first item in the queue.