diff --git a/code/game/machinery/computer/law.dm b/code/game/machinery/computer/law.dm index b77e4832..0e36349e 100644 --- a/code/game/machinery/computer/law.dm +++ b/code/game/machinery/computer/law.dm @@ -29,6 +29,12 @@ user << "\red Unable to establish a connection: \black You're too far away from the station!" return if(istype(O, /obj/item/weapon/aiModule)) + if(stat & NOPOWER) + usr << "The upload computer has no power!" + return + if(stat & BROKEN) + usr << "The upload computer is broken!" + return var/obj/item/weapon/aiModule/M = O M.install(src) else @@ -63,6 +69,12 @@ attackby(obj/item/weapon/aiModule/module as obj, mob/user as mob) if(istype(module, /obj/item/weapon/aiModule)) + if(stat & NOPOWER) + usr << "The upload computer has no power!" + return + if(stat & BROKEN) + usr << "The upload computer is broken!" + return module.install(src) else return ..() diff --git a/code/modules/mob/living/carbon/monkey/monkey.dm b/code/modules/mob/living/carbon/monkey/monkey.dm index 4fdcf5d4..7c9ba8e5 100644 --- a/code/modules/mob/living/carbon/monkey/monkey.dm +++ b/code/modules/mob/living/carbon/monkey/monkey.dm @@ -532,3 +532,9 @@ message = capitalize(trim_left(message)) ..(message, speaking, verb, alt_name, italics, message_range, used_radios) + +/mob/living/carbon/monkey/can_use_vents() + if(mind.changeling) + return + else + return "You can't fit into that vent." \ No newline at end of file diff --git a/html/changelog.html b/html/changelog.html index d6b9b03e..3c371fc5 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -67,6 +67,9 @@ should be listed in the changelog upon commit though. Thanks. -->