* adding a 'rejuvinate' function to organs that fixes all types of damage

* adding a 'restore_all_organs' function to living creatures
* adding a 'restore_blood_loss' function to humans
* fixing changeling stasis power to heal organ and blood damage
* fixing adming rejuvinate verb to fix organ and blood damage

Conflicts:
	code/modules/mob/living/carbon/human/human_damage.dm
	code/modules/organs/organ_external.dm
	html/changelog.html
This commit is contained in:
jack-fractal
2014-03-22 02:50:44 -04:00
committed by ZomgPonies
parent 45e93458f2
commit cf8348c25d
5 changed files with 74 additions and 12 deletions
+2
View File
@@ -210,6 +210,7 @@ This function completely restores a damaged organ to perfect condition.
for(var/datum/organ/internal/current_organ in internal_organs)
current_organ.rejuvenate()
// remove embedded objects and drop them on the floor
for(var/obj/implanted_object in implants)
if(!istype(implanted_object,/obj/item/weapon/implant)) // We don't want to remove REAL implants. Just shrapnel etc.
@@ -219,6 +220,7 @@ This function completely restores a damaged organ to perfect condition.
owner.updatehealth()
update_icon()
/datum/organ/external/proc/createwound(var/type = CUT, var/damage)
if(damage == 0) return
+1 -1
View File
@@ -157,4 +157,4 @@
if(is_bruised())
owner.eye_blurry = 20
if(is_broken())
owner.eye_blind = 20
owner.eye_blind = 20