mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-16 18:36:54 +01:00
Some changes
This commit is contained in:
@@ -581,6 +581,12 @@ The reactor CHEWS through moderator. It does not do this slowly. Be very careful
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/link_to_reactor), 10 SECONDS)
|
||||
|
||||
/obj/machinery/computer/reactor/wrench_act(mob/living/user, obj/item/I)
|
||||
to_chat(user, "<span class='notice'>You start [anchored ? "un" : ""]securing [name]...</span>")
|
||||
if(I.use_tool(src, user, 40, volume=75))
|
||||
to_chat(user, "<span class='notice'>You [anchored ? "un" : ""]secure [name].</span>")
|
||||
setAnchored(!anchored)
|
||||
|
||||
/obj/machinery/computer/reactor/proc/link_to_reactor()
|
||||
for(var/obj/machinery/atmospherics/components/trinary/nuclear_reactor/asdf in GLOB.machines)
|
||||
if(asdf.id && asdf.id == id)
|
||||
|
||||
@@ -15,9 +15,10 @@
|
||||
/obj/machinery/atmospherics/components/trinary/nuclear_reactor/cargo // easier on the brain
|
||||
|
||||
/obj/machinery/atmospherics/components/trinary/nuclear_reactor/cargo/New()
|
||||
id = rand(1, 9999999) // cmon, what are the chances?
|
||||
. = ..()
|
||||
id = rand(1, 9999999) // cmon, what are the chances? The chances are... Very low friend... But maybe we can make this a bit better.
|
||||
|
||||
// Cargo varients can be wrenched down and don't start linked to the default RMBK reactor
|
||||
// Cargo variants can be wrenched down and don't start linked to the default RMBK reactor
|
||||
|
||||
/obj/machinery/computer/reactor/control_rods/cargo
|
||||
anchored = FALSE
|
||||
|
||||
Reference in New Issue
Block a user