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:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/obj/machinery/mineral
|
/obj/machinery/mineral
|
||||||
speed_process = TRUE
|
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.
|
/// The current direction of `input_turf`, in relation to the machine.
|
||||||
var/input_dir = NORTH
|
var/input_dir = NORTH
|
||||||
/// The current direction, in relation to the machine, that items will be output to.
|
/// 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/datum/material/selected_material = null
|
||||||
var/selected_alloy = null
|
var/selected_alloy = null
|
||||||
var/datum/techweb/stored_research
|
var/datum/techweb/stored_research
|
||||||
|
init_process = TRUE
|
||||||
|
|
||||||
/obj/machinery/mineral/processing_unit/Initialize(mapload)
|
/obj/machinery/mineral/processing_unit/Initialize(mapload)
|
||||||
. = ..()
|
. = ..()
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
output_dir = SOUTH
|
output_dir = SOUTH
|
||||||
req_access = list(ACCESS_MINERAL_STOREROOM)
|
req_access = list(ACCESS_MINERAL_STOREROOM)
|
||||||
speed_process = TRUE
|
speed_process = TRUE
|
||||||
|
init_process = TRUE
|
||||||
circuit = /obj/item/circuitboard/machine/ore_redemption
|
circuit = /obj/item/circuitboard/machine/ore_redemption
|
||||||
layer = BELOW_OBJ_LAYER
|
layer = BELOW_OBJ_LAYER
|
||||||
var/points = 0
|
var/points = 0
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
input_dir = WEST
|
input_dir = WEST
|
||||||
output_dir = EAST
|
output_dir = EAST
|
||||||
speed_process = TRUE
|
speed_process = TRUE
|
||||||
|
init_process = TRUE
|
||||||
|
|
||||||
/obj/machinery/mineral/unloading_machine/proc/horrible_quadratic_monster(var/turf/T)
|
/obj/machinery/mineral/unloading_machine/proc/horrible_quadratic_monster(var/turf/T)
|
||||||
set waitfor = FALSE
|
set waitfor = FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user