mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Soul catcher sanity (#8685)
This commit is contained in:
@@ -156,6 +156,7 @@
|
|||||||
own_mind = brainmob.mind
|
own_mind = brainmob.mind
|
||||||
remove_verb(brainmob, /mob/proc/enter_soulcatcher) //No recursive self capturing...
|
remove_verb(brainmob, /mob/proc/enter_soulcatcher) //No recursive self capturing...
|
||||||
add_verb(brainmob, /mob/living/carbon/brain/caught_soul/vore/proc/transfer_self)
|
add_verb(brainmob, /mob/living/carbon/brain/caught_soul/vore/proc/transfer_self)
|
||||||
|
add_verb(brainmob, /mob/living/carbon/brain/caught_soul/vore/proc/reenter_body)
|
||||||
|
|
||||||
//If they have these values, apply them
|
//If they have these values, apply them
|
||||||
if(isliving(M))
|
if(isliving(M))
|
||||||
@@ -331,7 +332,7 @@
|
|||||||
to_chat(CS, span_notice("[transit_message]") + "\n[inside_flavor]")
|
to_chat(CS, span_notice("[transit_message]") + "\n[inside_flavor]")
|
||||||
|
|
||||||
/obj/soulgem/proc/return_to_body(var/datum/mind)
|
/obj/soulgem/proc/return_to_body(var/datum/mind)
|
||||||
if(!own_mind == mind)
|
if(own_mind != mind)
|
||||||
to_chat(src, span_warning("You aren't in your own soulcatcher!"))
|
to_chat(src, span_warning("You aren't in your own soulcatcher!"))
|
||||||
return
|
return
|
||||||
var/mob/self = null
|
var/mob/self = null
|
||||||
|
|||||||
@@ -162,7 +162,7 @@
|
|||||||
if(eyeobj)
|
if(eyeobj)
|
||||||
to_chat(src, span_warning("You can't do that while AR projecting!"))
|
to_chat(src, span_warning("You can't do that while AR projecting!"))
|
||||||
return
|
return
|
||||||
if(!gem.own_mind == mind)
|
if(gem.own_mind != mind)
|
||||||
to_chat(src, span_warning("You aren't in your own soulcatcher!"))
|
to_chat(src, span_warning("You aren't in your own soulcatcher!"))
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
var/obj/item/target = tgui_input_list(src, "Select where you want to store your own mind into.", "Mind Transfer Target", valid_objects)
|
var/obj/item/target = tgui_input_list(src, "Select where you want to store your own mind into.", "Mind Transfer Target", valid_objects)
|
||||||
gem.transfer_mob(src, target)
|
gem.transfer_mob(src, target)
|
||||||
|
|
||||||
/mob/living/carbon/brain/caught_soul/vore/verb/reenter_body()
|
/mob/living/carbon/brain/caught_soul/vore/proc/reenter_body()
|
||||||
set name = "Re-enter Body"
|
set name = "Re-enter Body"
|
||||||
set desc = "Return to your body after self capturing."
|
set desc = "Return to your body after self capturing."
|
||||||
set category = "Soulcatcher"
|
set category = "Soulcatcher"
|
||||||
|
|||||||
Reference in New Issue
Block a user