Goonstation 13 - Modules - TypesDefine Details

code/obj/machinery/manufacturer.dm

MAX_QUEUE_LENGTHmaximum amount of blueprints which may be queued for printing
MAX_OUTPUTmaximum amount of items produced for a blueprint at once
WIRE_EXTENDwire which reveals blueprints in the "hidden" type
WIRE_POWERwire which can disable machine power
WIRE_MALFwire which causes machine to malfunction
WIRE_SHOCKthis wire is in the machine specifically to shock curious staff assistants
MODE_READYmachine is ready to produce more things
MODE_WORKINGmachine is making some things
MODE_HALTmachine had to stop making things or couldnt due to some problem that occured
MIN_SPEEDlowest speed manufacturer can function at
DEFAULT_SPEEDspeed which manufacturers run at by default
MAX_SPEEDmaximum speed default manufacturers can be set to
MAX_SPEED_HACKEDmaximum speed manufacturers which are hacked (WIRE_EXTEND has been pulsed) can be set to
MAX_SPEED_DAMAGEDmaximum speed that manufacturers which flip_out() can be set to, randomly.
DISMANTLE_NONE0 - Undismantled state. Changed to 1 (DISMANTLE_PLATING_BOLTS) with a wrenching tool, or back to 0 with a wrenching tool too.
DISMANTLE_PLATING_BOLTS1 - External plating pryable. Changed to 2 (DISMANTLE_PLATING_SHEETS) with a prying tool, or back to 1 with renforced metal sheets.
DISMANTLE_PLATING_SHEETS2 - Internal wiring exposed. Changed to 3 (DISMANTLE_WIRES) with a snipping tool, changed to 2 by adding cabling back.
DISMANTLE_WIRES3 - internal mechanism exposed. Using a wrenching tool at this point disassembles it into sheet metal.
/proc/build_manufacturer_iconsPre-build the icons for things manufacturers make

Define Details

DEFAULT_SPEED

speed which manufacturers run at by default

DISMANTLE_NONE

0 - Undismantled state. Changed to 1 (DISMANTLE_PLATING_BOLTS) with a wrenching tool, or back to 0 with a wrenching tool too.

DISMANTLE_PLATING_BOLTS

1 - External plating pryable. Changed to 2 (DISMANTLE_PLATING_SHEETS) with a prying tool, or back to 1 with renforced metal sheets.

DISMANTLE_PLATING_SHEETS

2 - Internal wiring exposed. Changed to 3 (DISMANTLE_WIRES) with a snipping tool, changed to 2 by adding cabling back.

DISMANTLE_WIRES

3 - internal mechanism exposed. Using a wrenching tool at this point disassembles it into sheet metal.

MAX_OUTPUT

maximum amount of items produced for a blueprint at once

MAX_QUEUE_LENGTH

maximum amount of blueprints which may be queued for printing

MAX_SPEED

maximum speed default manufacturers can be set to

MAX_SPEED_DAMAGED

maximum speed that manufacturers which flip_out() can be set to, randomly.

MAX_SPEED_HACKED

maximum speed manufacturers which are hacked (WIRE_EXTEND has been pulsed) can be set to

MIN_SPEED

lowest speed manufacturer can function at

MODE_HALT

machine had to stop making things or couldnt due to some problem that occured

MODE_READY

machine is ready to produce more things

MODE_WORKING

machine is making some things

WIRE_EXTEND

wire which reveals blueprints in the "hidden" type

WIRE_MALF

wire which causes machine to malfunction

WIRE_POWER

wire which can disable machine power

WIRE_SHOCK

this wire is in the machine specifically to shock curious staff assistants