mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
aheals, suggested logic cleanup
This commit is contained in:
@@ -72,3 +72,12 @@
|
||||
var/datum/gas_mixture/current = H.loc.return_air()
|
||||
if(current && (current.return_pressure() >= ONE_ATMOSPHERE*0.85)) //as long as there's reasonable pressure and no gravity, flight is possible
|
||||
return TRUE
|
||||
|
||||
|
||||
/datum/species/moth/spec_fully_heal(mob/living/carbon/human/H)
|
||||
. = ..()
|
||||
if(H.dna.features["original_moth_wings"] != null)
|
||||
H.dna.features["moth_wings"] = H.dna.features["original_moth_wings"]
|
||||
if(H.dna.features["original_moth_wings"] == null && H.dna.features["moth_wings"] == "Burnt Off")
|
||||
H.dna.features["moth_wings"] = "Plain"
|
||||
handle_mutant_bodyparts(H)
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"<span class='notice'>[user] completes the surgery on [target]'s wings.</span>")
|
||||
if(H.dna.features["original_moth_wings"] != null)
|
||||
H.dna.features["moth_wings"] = H.dna.features["original_moth_wings"]
|
||||
if(H.dna.features["original_moth_wings"] == null)
|
||||
else
|
||||
H.dna.features["moth_wings"] = "Plain"
|
||||
H.update_mutant_bodyparts()
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user