unshit some nif shit (#19053)

* unshit some nif shit

* actually should be cached

* wtf

* .

* .
This commit is contained in:
Kashargul
2026-01-18 18:55:07 +01:00
committed by GitHub
parent 77cb2c8507
commit 46bc24a23c
4 changed files with 16 additions and 10 deletions
@@ -23,6 +23,7 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
var/ooc_notes_maybes = null
var/ooc_notes_dislikes = null
var/ooc_notes_style = FALSE
var/soulcatcher_pref_flags = NONE
// Resleeving database this machine interacts with. Blank for default database
// Needs a matching /datum/transcore_db with key defined in code
@@ -52,6 +53,7 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
ooc_notes_maybes = M.ooc_notes_maybes
ooc_notes_style = M.ooc_notes_style
stored_mind = M.mind
soulcatcher_pref_flags = M.soulcatcher_pref_flags
M.ghostize()
stored_mind.current = null
update_icon()
@@ -65,6 +67,7 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
M.ooc_notes_favs = ooc_notes_favs
M.ooc_notes_maybes = ooc_notes_maybes
M.ooc_notes_style = ooc_notes_style
M.soulcatcher_pref_flags = soulcatcher_pref_flags
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_RESLEEVED_MIND, M, stored_mind)
clear_mind()
@@ -290,6 +293,10 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
if(!sleevemate_mob)
sleevemate_mob = new()
if(!(soulcatcher_pref_flags & SOULCATCHER_ALLOW_CAPTURE))
to_chat(usr,span_notice("[sleevemate_mob] can't be transferred!"))
return
put_mind(sleevemate_mob)
SC.catch_mob(sleevemate_mob)
to_chat(usr,span_notice("Mind transferred into Soulcatcher!"))