CentCom doors are less hackable.

Clamped values on the regeneration superpower
Moved detective work to a modules subfolder
This commit is contained in:
SkyMarshal
2012-02-19 21:09:11 -07:00
parent 54e2142340
commit 37f39de861
7 changed files with 27 additions and 22 deletions
+7 -8
View File
@@ -189,16 +189,15 @@
if (mutations & mRegen)
src.bruteloss -= 2
src.fireloss -= 2
src.oxyloss -= 2
src.toxloss -= 2
adjustBruteLoss(-2)
adjustToxLoss(-2)
adjustOxyLoss(-2)
adjustFireLoss(-2)
for(var/datum/organ/external/org in organs)
org.brute_dam -= 2
org.burn_dam -= 2
org.brute_dam = max(org.brute_dam, 0)
org.burn_dam = max(org.burn_dam, 0)
org.brute_dam = max(org.brute_dam - 2, 0)
org.burn_dam = max(org.burn_dam - 2, 0)
updatehealth()
if(!(/mob/living/carbon/human/proc/morph in src.verbs))
if(mutations & mMorph)
@@ -550,7 +550,7 @@
var/obj/machinery/machine = src.cable.machine
dat += "<font color=#55FF55>Connected</font> <br>"
if(!istype(machine, /obj/machinery/door))
if(!istype(machine, /obj/machinery/door) || istype(machine, /obj/machinery/door/airlock/secure/centcom))
dat += "Connected device's firmware does not appear to be compatible with Airlock Jack protocols.<br>"
return dat
// var/obj/machinery/airlock/door = machine