From db16af261afbcf2802bbce1bf1b52d5e958e0244 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Sun, 24 Dec 2017 23:40:34 -0500 Subject: [PATCH] Improves NIFSoft heatsink for synths Wow, this ran out super fast. You get like 2 minutes of use, jeez. This makes it much longer. You also get a % heat sunk thing next to it in the NIF menu so you can see how far along you are. --- code/modules/nifsoft/software/15_misc.dm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/code/modules/nifsoft/software/15_misc.dm b/code/modules/nifsoft/software/15_misc.dm index 1e284159b81..ad9fb9b230a 100644 --- a/code/modules/nifsoft/software/15_misc.dm +++ b/code/modules/nifsoft/software/15_misc.dm @@ -71,8 +71,8 @@ activate() if((. = ..())) - if(used >= 50) - nif.notify("Heat sinks not safe to operate again yet!",TRUE) + if(used >= 1500) + nif.notify("Heat sinks not safe to operate again yet! Max 75% on activation.",TRUE) spawn(0) deactivate() return FALSE @@ -82,6 +82,9 @@ if((. = ..())) nif.clear_flag(NIF_O_HEATSINKS,NIF_FLAGS_OTHER) + stat_text() + return "[active ? "Active" : "Disabled"] (Stored Heat: [Floor(used/20)]%)" + life() if((. = ..())) //Not being used, all clean. @@ -89,7 +92,7 @@ return TRUE //Being used, and running out. - else if(active && ++used == 100) + else if(active && ++used == 2000) nif.notify("Heat sinks overloaded! Shutting down!",TRUE) deactivate()