Selective mineral machine init_process

Requested by SandPoot. Disables init_process for mineral (mining) machines, and enables it on a case-by-case basis.

Downstream mineral machines must be updated with this change.
This commit is contained in:
Darius
2022-12-23 16:16:57 -05:00
parent b78e728be0
commit dae235f97c
3 changed files with 4 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
/obj/machinery/mineral
speed_process = TRUE
init_process = TRUE // Must be true after init_process fix
init_process = FALSE
/// The current direction of `input_turf`, in relation to the machine.
var/input_dir = NORTH
/// The current direction, in relation to the machine, that items will be output to.
@@ -126,6 +126,7 @@
var/datum/material/selected_material = null
var/selected_alloy = null
var/datum/techweb/stored_research
init_process = TRUE
/obj/machinery/mineral/processing_unit/Initialize(mapload)
. = ..()

View File

@@ -11,6 +11,7 @@
output_dir = SOUTH
req_access = list(ACCESS_MINERAL_STOREROOM)
speed_process = TRUE
init_process = TRUE
circuit = /obj/item/circuitboard/machine/ore_redemption
layer = BELOW_OBJ_LAYER
var/points = 0

View File

@@ -9,6 +9,7 @@
input_dir = WEST
output_dir = EAST
speed_process = TRUE
init_process = TRUE
/obj/machinery/mineral/unloading_machine/proc/horrible_quadratic_monster(var/turf/T)
set waitfor = FALSE