From 7a8899cf427d858ec524f6b56d5a30d4e425d784 Mon Sep 17 00:00:00 2001 From: Chinsky Date: Fri, 9 Nov 2012 18:03:57 +0400 Subject: [PATCH] Updated admin revive to work with organs and bloodloss --- code/modules/mob/living/carbon/human/human.dm | 17 +++++++++++++++++ config/admins.txt | 2 +- config/moderators.txt | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 0f74acea11f..6d4db2558d8 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -828,3 +828,20 @@ spawn(350) //wait 35 seconds before next volley lastpuke = 0 +/mob/living/carbon/human/revive() + for (var/datum/organ/external/O in organs) + O.status &= ~ORGAN_BROKEN + O.status &= ~ORGAN_BLEEDING + O.status &= ~ORGAN_SPLINTED + O.status &= ~ORGAN_ATTACHABLE + if (!O.amputated) + O.status &= ~ORGAN_DESTROYED + O.wounds.Cut() + + vessel.add_reagent("blood",560-vessel.total_volume) + fixblood() + for (var/obj/item/weapon/organ/head/H in world) + if(H.brainmob.real_name == src.real_name) + + + ..() \ No newline at end of file diff --git a/config/admins.txt b/config/admins.txt index 4467f45452c..753cf8d825b 100644 --- a/config/admins.txt +++ b/config/admins.txt @@ -1,4 +1,4 @@ -abi79 - Game Master +chinsky - Game Master arcalane - Game Admin asanadas - Game Admin bobbehluvspropane - Game Admin diff --git a/config/moderators.txt b/config/moderators.txt index d4874564c24..d956734e232 100644 --- a/config/moderators.txt +++ b/config/moderators.txt @@ -16,7 +16,7 @@ roaper searif sparklysheep themij -chinsky +;chinsky danny220 ; Why u no keep list in alphabetical order?! Lazies! Lazies! -Abi ; Imma best alphabetiser - Erthilo