Clockwork generators

TODO: get it to stop dividing by zero for power production and fuel usage, make it generate power.
This commit is contained in:
Dan-Neposh
2020-10-28 08:44:42 -04:00
parent 15136717de
commit 8fe7c23766
9 changed files with 36 additions and 1 deletions
@@ -84,6 +84,16 @@
name = "clockwork board (Report This)"
icon_state = "clock_mod"
/obj/item/circuitboard/machine/clockwork/generator
name = "clockwork generator (machine board)"
icon_state = "clock_mod"
build_path = /obj/machinery/power/port_gen/pacman/clockwork
req_components = list(
/obj/item/clockwork/component/replicant_alloy = 1,
/obj/item/clockwork/component/vanguard_cogwheel = 3,
/obj/item/clockwork/component/geis_capacitor = 2,
/obj/item/stack/tile/brass = 5)
/obj/item/circuitboard/machine/clonescanner
name = "Cloning Scanner (Machine Board)"
build_path = /obj/machinery/dna_scannernew
@@ -629,6 +629,7 @@ GLOBAL_LIST_INIT(brass_recipes, list ( \
new/datum/stack_recipe("brass table frame", /obj/structure/table_frame/brass, 1, time = 5, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("brass anvil", /obj/structure/anvil/obtainable/ratvar, 10, time = 15, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("brass furnace", /obj/structure/furnace/infinite/ratvar, 10, time = 15, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("clockwork generator", /obj/machinery/power/port_gen/pacman/clockwork, 15, time = 20, one_per_turf = TRUE, on_floor = TRUE), \
null, \
new/datum/stack_recipe("sender - pressure sensor", /obj/structure/destructible/clockwork/trap/trigger/pressure_sensor, 2, time = 20, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("sender - mech sensor", /obj/structure/destructible/clockwork/trap/trigger/pressure_sensor/mech, 2, time = 20, one_per_turf = TRUE, on_floor = TRUE), \