Merge pull request #6311 from VOREStation/synthpurge

Add synth reagent purge verb
This commit is contained in:
Novacat
2019-12-14 18:01:29 -05:00
committed by GitHub
3 changed files with 18 additions and 0 deletions
@@ -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
@@ -0,0 +1,16 @@
/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"
if(stat == DEAD) return
to_chat(src, "<span class='notice'>Performing reagent purge, please wait...</span>")
sleep(50)
src.bloodstr.clear_reagents()
src.ingested.clear_reagents()
src.touching.clear_reagents()
to_chat(src, "<span class='notice'>Reagents purged!</span>")
return TRUE
+1
View File
@@ -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"