Adjusted lung health.

This commit is contained in:
Fermi
2019-05-31 04:26:41 +01:00
parent adeffe0c47
commit d0811e5be6
2 changed files with 9 additions and 8 deletions
+5 -4
View File
@@ -1,4 +1,4 @@
#define LUNGS_MAX_HEALTH 450
#define LUNGS_MAX_HEALTH 300
/obj/item/organ/lungs
name = "lungs"
@@ -61,7 +61,8 @@
var/damage = 0
//TODO: lung health affects lung function
/obj/item/organ/lungs/proc/adjustLungLoss(damage_mod, mob/living/carbon/M)
/obj/item/organ/lungs/proc/adjustLungLoss(damage_mod, mob/living/carbon/M) //damage might be too low atm.
message_admins("[M] lung damage: [damage_mod], damage: [damage]")
if (maxHealth == "plasma")
return
if(damage+damage_mod < 0)
@@ -452,7 +453,7 @@
desc = "A cybernetic version of the lungs found in traditional humanoid entities. It functions the same as an organic lung and is merely meant as a replacement."
icon_state = "lungs-c"
synthetic = TRUE
maxHealth = 600
maxHealth = 400
/obj/item/organ/lungs/cybernetic/emp_act()
. = ..()
@@ -472,7 +473,7 @@
cold_level_1_threshold = 200
cold_level_2_threshold = 140
cold_level_3_threshold = 100
maxHealth = 750
maxHealth = 550
/obj/item/organ/lungs/ashwalker
name = "ash lungs"
+4 -4
View File
@@ -1,4 +1,4 @@
#define TONGUE_MAX_HEALTH 50
#define TONGUE_MAX_HEALTH 560
/obj/item/organ/tongue
name = "tongue"
@@ -74,7 +74,7 @@
icon_state = "tonguelizard"
say_mod = "hisses"
taste_sensitivity = 10 // combined nose + tongue, extra sensitive
maxHealth = 35 //extra sensitivity means tongue is more susceptible to damage
maxHealth = 40 //extra sensitivity means tongue is more susceptible to damage
/obj/item/organ/tongue/lizard/TongueSpeech(var/message)
var/regex/lizard_hiss = new("s+", "g")
@@ -133,7 +133,7 @@
icon_state = "tonguezombie"
say_mod = "moans"
taste_sensitivity = 32
maxHealth = 60 //Stop! It's already dead...!
maxHealth = 65 //Stop! It's already dead...!
/obj/item/organ/tongue/zombie/TongueSpeech(var/message)
var/list/message_list = splittext(message, " ")
@@ -157,7 +157,7 @@
icon_state = "tonguexeno"
say_mod = "hisses"
taste_sensitivity = 10 // LIZARDS ARE ALIENS CONFIRMED
maxHealth = "alien"
maxHealth = "alien" //Their blood is acid, so, no, though a tongueless xeno might be funny
var/static/list/languages_possible_alien = typecacheof(list(
/datum/language/xenocommon,
/datum/language/common,