mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Merge pull request #6311 from VOREStation/synthpurge
Add synth reagent purge verb
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user