No more original moth wings being set to none (#55672)

Moths that drink a potion of flight have their moth wings set to none, which their handle fire would store as their original, and that would be applied from reconstructive surgery.

Now potions of flight store an original, and handle fire checks to see if something was stored before, so it doesn't overwrite that.
This commit is contained in:
ArcaneDefence
2020-12-24 01:00:36 -08:00
committed by GitHub
parent da6cfc7334
commit 306f2f0da6
2 changed files with 8 additions and 2 deletions
@@ -609,7 +609,11 @@
return
if(exposed_carbon.dna.species.has_innate_wings)
to_chat(exposed_carbon, "<span class='userdanger'>A terrible pain travels down your back as your wings change shape!</span>")
if(!exposed_carbon.dna.features["original_moth_wings"]) //Stores their wings for later possible reconstruction
exposed_carbon.dna.features["original_moth_wings"] = exposed_carbon.dna.features["moth_wings"]
exposed_carbon.dna.features["moth_wings"] = "None"
if(!exposed_carbon.dna.features["original_moth_antennae"]) //Stores their antennae type as well
exposed_carbon.dna.features["original_moth_antennae"] = exposed_carbon.dna.features["moth_antennae"]
exposed_carbon.dna.features["moth_antennae"] = "Regal"
else
to_chat(exposed_carbon, "<span class='userdanger'>A terrible pain travels down your back as wings burst out!</span>")