Furranium fixes.

This commit is contained in:
Fermi
2019-08-01 03:38:06 +01:00
parent a9330b784a
commit 18b03f9053
6 changed files with 34 additions and 8 deletions
@@ -171,15 +171,15 @@
T.Remove(M)
nT.Insert(M)
T.moveToNullspace()//To valhalla
to_chat(M, "<span class='notice'>Youw tongue feews... weally fwuffy!!</span>")
to_chat(M, "<span class='notice'>Your tongue feels... weally fwuffy!!</span>")
if(17 to INFINITY)
if(prob(10))
if(prob(5))
to_chat(M, "You find yourself unable to supress the desire to meow!")
M.emote("nya")
if(prob(10))
if(prob(5))
to_chat(M, "You find yourself unable to supress the desire to howl!")
M.emote("awoo")
if(prob(20))
if(prob(5))
var/list/seen = viewers(5, get_turf(M))//Sound and sight checkers
for(var/victim in seen)
if((istype(victim, /mob/living/simple_animal/pet/)) || (victim == M) || (!isliving(victim)))
@@ -189,7 +189,7 @@
..()
/datum/reagent/fermi/furranium/on_mob_delete(mob/living/carbon/M)
if(purity < 0.9)//Only permanent if you're a good chemist.
if(purity < 1)//Only permanent if you're a good chemist.
nT = M.getorganslot(ORGAN_SLOT_TONGUE)
nT.Remove(M)
qdel(nT)
@@ -199,6 +199,7 @@
else
log_game("FERMICHEM: [M] ckey: [M.key]'s tongue has been made permanent")
///////////////////////////////////////////////////////////////////////////////////////////////
//Nanite removal
//Writen by Trilby!! Embellsished a little by me.
@@ -22,6 +22,19 @@
C.adjustOxyLoss(-2)
else
C.adjustOxyLoss(-10)
if(T)
if(T.name == "fluffy tongue")
var/obj/item/organ/tongue/nT
if(C.dna && C.dna.species && C.dna.species.mutanttongue)
nT = new C.dna.species.mutanttongue()
else
nT = new()
T.Remove(C)
qdel(T)
nT.Insert(C)
to_chat(C, "<span class='notice'>You feel your tongue.... unfluffify...?</span>")
holder.remove_reagent(src.id, "10")
..()
/datum/reagent/fermi/yamerol/overdose_process(mob/living/carbon/C)
@@ -40,7 +53,6 @@
else
if((oT.name == "fluffy tongue") && (purity == 1))
var/obj/item/organ/tongue/T
if(C.dna && C.dna.species && C.dna.species.mutanttongue)
T = new C.dna.species.mutanttongue()
else