From b207694f2d6e60224eb9b86a76de5b7ef3f8730a Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Sat, 14 Dec 2019 14:28:46 -0500 Subject: [PATCH 1/3] Add synth reagent purge verb Allows synths to purge reagents in them. Not really a balance issue since the reagents can't affect them, pretty much just affects vore. And flavoring I guess! Probably works? Probably. ... Probably. --- .../mob/living/carbon/human/human_helpers.dm | 1 + .../mob/living/carbon/human/human_powers_vr.dm | 16 ++++++++++++++++ vorestation.dme | 1 + 3 files changed, 18 insertions(+) create mode 100644 code/modules/mob/living/carbon/human/human_powers_vr.dm diff --git a/code/modules/mob/living/carbon/human/human_helpers.dm b/code/modules/mob/living/carbon/human/human_helpers.dm index 8c4eba8a33c..446c399c9ac 100644 --- a/code/modules/mob/living/carbon/human/human_helpers.dm +++ b/code/modules/mob/living/carbon/human/human_helpers.dm @@ -97,6 +97,7 @@ var/obj/item/organ/external/T = organs_by_name[BP_TORSO] if(T && T.robotic >= ORGAN_ROBOT) src.verbs += /mob/living/carbon/human/proc/self_diagnostics + src.verbs += /mob/living/carbon/human/proc/reagent_purge //VOREStation Add var/datum/robolimb/R = all_robolimbs[T.model] synthetic = R return synthetic diff --git a/code/modules/mob/living/carbon/human/human_powers_vr.dm b/code/modules/mob/living/carbon/human/human_powers_vr.dm new file mode 100644 index 00000000000..cb96a95ac83 --- /dev/null +++ b/code/modules/mob/living/carbon/human/human_powers_vr.dm @@ -0,0 +1,16 @@ +/mob/living/carbon/human/proc/purge_reagents() + set name = "Purge Reagents" + set desc = "Empty yourself of any reagents you may have consumed or come into contact with." + set category = "IC" + + if(stat == DEAD) return + + to_chat(src, "Performing reagent purge, please wait...") + sleep(50) + src.bloodstr.clear_reagents() + src.ingested.clear_reagents() + src.touching.clear_reagents() + to_chat(src, "Reagents purged!") + + return true + \ No newline at end of file diff --git a/vorestation.dme b/vorestation.dme index e4e32015ae8..f8833be230b 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -2258,6 +2258,7 @@ #include "code\modules\mob\living\carbon\human\human_movement.dm" #include "code\modules\mob\living\carbon\human\human_organs.dm" #include "code\modules\mob\living\carbon\human\human_powers.dm" +#include "code\modules\mob\living\carbon\human\human_powers_vr.dm" #include "code\modules\mob\living\carbon\human\human_resist.dm" #include "code\modules\mob\living\carbon\human\human_species.dm" #include "code\modules\mob\living\carbon\human\human_species_vr.dm" From 72572b206ec74c0827dc6c027ba5b88b837bc9f6 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Sat, 14 Dec 2019 14:29:55 -0500 Subject: [PATCH 2/3] Typo! --- code/modules/mob/living/carbon/human/human_powers_vr.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_powers_vr.dm b/code/modules/mob/living/carbon/human/human_powers_vr.dm index cb96a95ac83..abfc92d0042 100644 --- a/code/modules/mob/living/carbon/human/human_powers_vr.dm +++ b/code/modules/mob/living/carbon/human/human_powers_vr.dm @@ -1,4 +1,4 @@ -/mob/living/carbon/human/proc/purge_reagents() +/mob/living/carbon/human/proc/reagent_purge() set name = "Purge Reagents" set desc = "Empty yourself of any reagents you may have consumed or come into contact with." set category = "IC" @@ -13,4 +13,4 @@ to_chat(src, "Reagents purged!") return true - \ No newline at end of file + From 8b857b545d11ba001a7d2e9a7272e1d1ef8aac8b Mon Sep 17 00:00:00 2001 From: Novacat <35587478+Novacat@users.noreply.github.com> Date: Sat, 14 Dec 2019 17:31:25 -0500 Subject: [PATCH 3/3] try to fix travis --- code/modules/mob/living/carbon/human/human_powers_vr.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_powers_vr.dm b/code/modules/mob/living/carbon/human/human_powers_vr.dm index abfc92d0042..1d1954ac331 100644 --- a/code/modules/mob/living/carbon/human/human_powers_vr.dm +++ b/code/modules/mob/living/carbon/human/human_powers_vr.dm @@ -12,5 +12,5 @@ src.touching.clear_reagents() to_chat(src, "Reagents purged!") - return true + return TRUE