From 8b20df838db9b97eedcba7793a0a0775b75451b3 Mon Sep 17 00:00:00 2001
From: Fermi <>
Date: Tue, 10 Sep 2019 18:15:04 +0100
Subject: [PATCH] Just testing now.
---
.../chemistry/reagents/fermi_reagents.dm | 22 ++++++++++++++++---
.../reagents/chemistry/reagents/healing.dm | 12 ----------
2 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/modular_citadel/code/modules/reagents/chemistry/reagents/fermi_reagents.dm b/modular_citadel/code/modules/reagents/chemistry/reagents/fermi_reagents.dm
index 4faf64eccf..4a319c405c 100644
--- a/modular_citadel/code/modules/reagents/chemistry/reagents/fermi_reagents.dm
+++ b/modular_citadel/code/modules/reagents/chemistry/reagents/fermi_reagents.dm
@@ -441,7 +441,7 @@
if(H.InCritical())
perma = TRUE
volume = 10
- metabolization_rate = 0
+ //metabolization_rate = 0
H.stat = DEAD
catto.origin = H
@@ -458,8 +458,7 @@
/datum/reagent/fermi/secretcatchem/on_mob_delete(mob/living/carbon/H)
if(perma)
-
- //to_chat(H, "You feel your body settle into it's new form. You won't be able to shift back on death anymore.")
+ to_chat(H, "You feel your body settle into it's new form. You won't be able to shift back on death anymore.")
return
var/words = "Your body shifts back to normal."
H.forceMove(catto.loc)
@@ -470,3 +469,20 @@
to_chat(H, "[words]")
qdel(catto)
log_game("FERMICHEM: [H] ckey: [H.key] has returned to normal")
+
+
+/datum/reagent/fermi/secretcatchem/reaction_mob(var/mob/living/L)
+ if(istype(L, /mob/living/simple_animal/pet/cat/custom_cat) && cached_purity => 0.95)
+ var/mob/living/simple_animal/pet/cat/custom_cat/catto = L
+ if(catto.origin)
+ var/mob/living/carbon/human/H = catto.origin
+ H.stat = CONSCIOUS
+ log_game("FERMICHEM: [catto] ckey: [catto.key] has returned to normal.")
+ to_chat(catto, "Your body shifts back to normal!")
+ H.forceMove(catto.loc)
+ catto.mind.transfer_to(H)
+ if(!L.mind) //Just in case
+ qdel(L)
+ else //This should never happen, but just in case, so their game isn't ruined.
+ catto.icon_state = "custom_cat"
+ catto.health = 50
diff --git a/modular_citadel/code/modules/reagents/chemistry/reagents/healing.dm b/modular_citadel/code/modules/reagents/chemistry/reagents/healing.dm
index 9c64b214c1..8ea946d1fb 100644
--- a/modular_citadel/code/modules/reagents/chemistry/reagents/healing.dm
+++ b/modular_citadel/code/modules/reagents/chemistry/reagents/healing.dm
@@ -72,18 +72,6 @@
C.adjustOxyLoss(-3)
..()
-/datum/reagent/fermi/yamerol/reaction_mob(var/mob/living/L)
- if(istype(L, /mob/living/simple_animal/pet/cat/custom_cat) && cached_purity == 1)
- var/mob/living/simple_animal/pet/cat/custom_cat/catto = L
- if(catto.origin)
- var/mob/living/carbon/human/H = catto.origin
- H.stat = CONSCIOUS
- log_game("FERMICHEM: [catto] ckey: [catto.key] has returned to normal from Yamerol.")
- to_chat(catto, "Your body shifts back to normal from the Yamerol.")
- H.forceMove(catto.loc)
- catto.mind.transfer_to(H)
- qdel(L)
-
/datum/reagent/fermi/yamerol_tox
name = "Yamerol"
id = "yamerol_tox"