From 86eb450c567ccef9743e7207ff681b33d9d0619a Mon Sep 17 00:00:00 2001
From: TDSSS <32099540+TDSSS@users.noreply.github.com>
Date: Wed, 11 Sep 2019 07:48:45 +0200
Subject: [PATCH 1/2] Fix really silly mistake
---
code/modules/reagents/chemistry/reagents/medicine.dm | 1 +
code/modules/ruins/lavalandruin_code/fountain_hall.dm | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/code/modules/reagents/chemistry/reagents/medicine.dm b/code/modules/reagents/chemistry/reagents/medicine.dm
index 09ee8cb3948..0f8c5e42dab 100644
--- a/code/modules/reagents/chemistry/reagents/medicine.dm
+++ b/code/modules/reagents/chemistry/reagents/medicine.dm
@@ -292,6 +292,7 @@
/datum/reagent/medicine/omnizine/godblood
name = "Godblood"
+ id = "godblood"
description = "Slowly heals all damage types. Has a rather high overdose threshold. Glows with mysterious power."
overdose_threshold = 150
diff --git a/code/modules/ruins/lavalandruin_code/fountain_hall.dm b/code/modules/ruins/lavalandruin_code/fountain_hall.dm
index 917ea4e4bd0..5a232286558 100644
--- a/code/modules/ruins/lavalandruin_code/fountain_hall.dm
+++ b/code/modules/ruins/lavalandruin_code/fountain_hall.dm
@@ -38,7 +38,7 @@
return
last_process = world.time
to_chat(user, "The water feels warm and soothing as you touch it. The fountain immediately dries up shortly afterwards.")
- user.reagents.add_reagent(/datum/reagent/medicine/omnizine/godblood, 20)
+ user.reagents.add_reagent("godblood", 20) //why is add_reagent so stupid ?!?
update_icon()
addtimer(CALLBACK(src, .proc/update_icon), time_between_uses)
From f02cbc4e60ae5a3dcd50ba2110ee2bf111a6b0f8 Mon Sep 17 00:00:00 2001
From: TDSSS <32099540+TDSSS@users.noreply.github.com>
Date: Wed, 11 Sep 2019 12:05:47 +0200
Subject: [PATCH 2/2] [Comment redacted]
---
code/modules/reagents/chemistry/reagents/medicine.dm | 12 ++++++------
.../modules/ruins/lavalandruin_code/fountain_hall.dm | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/code/modules/reagents/chemistry/reagents/medicine.dm b/code/modules/reagents/chemistry/reagents/medicine.dm
index 0f8c5e42dab..b379386801d 100644
--- a/code/modules/reagents/chemistry/reagents/medicine.dm
+++ b/code/modules/reagents/chemistry/reagents/medicine.dm
@@ -290,12 +290,6 @@
addiction_chance = 5
taste_description = "health"
-/datum/reagent/medicine/omnizine/godblood
- name = "Godblood"
- id = "godblood"
- description = "Slowly heals all damage types. Has a rather high overdose threshold. Glows with mysterious power."
- overdose_threshold = 150
-
/datum/reagent/medicine/omnizine/on_mob_life(mob/living/M)
var/update_flags = STATUS_UPDATE_NONE
update_flags |= M.adjustToxLoss(-1*REAGENTS_EFFECT_MULTIPLIER, FALSE)
@@ -963,6 +957,12 @@
metabolization_rate = 0.1
taste_description = "faint hope"
+/datum/reagent/medicine/omnizine_diluted/godblood
+ name = "Godblood"
+ id = "godblood"
+ description = "Slowly heals all damage types. Has a rather high overdose threshold. Glows with mysterious power."
+ overdose_threshold = 150
+
/datum/reagent/medicine/omnizine_diluted/on_mob_life(mob/living/M)
var/update_flags = STATUS_UPDATE_NONE
update_flags |= M.adjustToxLoss(-0.5*REAGENTS_EFFECT_MULTIPLIER, FALSE)
diff --git a/code/modules/ruins/lavalandruin_code/fountain_hall.dm b/code/modules/ruins/lavalandruin_code/fountain_hall.dm
index 5a232286558..3de758ac0c9 100644
--- a/code/modules/ruins/lavalandruin_code/fountain_hall.dm
+++ b/code/modules/ruins/lavalandruin_code/fountain_hall.dm
@@ -38,7 +38,7 @@
return
last_process = world.time
to_chat(user, "The water feels warm and soothing as you touch it. The fountain immediately dries up shortly afterwards.")
- user.reagents.add_reagent("godblood", 20) //why is add_reagent so stupid ?!?
+ user.reagents.add_reagent("godblood", 20)
update_icon()
addtimer(CALLBACK(src, .proc/update_icon), time_between_uses)