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
+15
View File
@@ -286,3 +286,18 @@
/obj/machinery/power/port_gen/pacman/mrs/overheat()
explosion(src.loc, 4, 4, 4, -1)
////////////////
// CLOCKWORK //
//////////////
/obj/machinery/power/port_gen/pacman/clockwork
name = "clockwork generator"
base_icon = "clockgen"
icon_state = "clockgen_0"
circuit = /obj/item/circuitboard/machine/clockwork/generator
max_sheets = 100
power_gen = 2500
sheet_path = /obj/item/stack/tile/brass
time_per_sheet = 260
/datum/looping_sound/generator/clockwork/soundloop