Merge pull request #15161 from timothyteakettle/prefbreaking-is-bad
the mind transfer spell now releases people from vore bellies prior to the mind transfer
This commit is contained in:
@@ -44,6 +44,13 @@
|
||||
to_chat(user, "<span class='warning'>The devilish contract doesn't include the 'mind swappable' package, please try again another lifetime.</span>")
|
||||
return
|
||||
|
||||
// lets not have people be mindswapped to/from people who have people currently in their vore bellies
|
||||
if(has_vore_belly(user))
|
||||
user.release_vore_contents(include_absorbed = TRUE, silent = TRUE)
|
||||
|
||||
if(has_vore_belly(victim))
|
||||
victim.release_vore_contents(include_absorbed = TRUE, silent = TRUE)
|
||||
|
||||
//MIND TRANSFER BEGIN
|
||||
var/mob/dead/observer/ghost = victim.ghostize()
|
||||
user.mind.transfer_to(victim)
|
||||
|
||||
Reference in New Issue
Block a user