Binder/Snatcher OOC Escape (#9501)

This commit is contained in:
Eli
2024-11-20 05:15:25 +11:00
committed by GitHub
parent 7a9911273f
commit b4e5bbdaf8
5 changed files with 89 additions and 28 deletions

View File

@@ -92,6 +92,14 @@
user.ooc_notes_favs = target_favs
user.ooc_notes_maybes = target_maybes
user.ooc_notes_style = target_style
if(M.tf_mob_holder == user)
M.tf_mob_holder = null
else
M.tf_mob_holder = user
if(user.tf_mob_holder == M)
user.tf_mob_holder = null
else
user.tf_mob_holder = M
//CHOMPEdit End
user.ooc_notes = target_ooc_notes
user.ooc_notes_likes = target_likes

View File

@@ -15,6 +15,7 @@
new_voice.transfer_identity(candidate) //Now make the voice mob load from the ghost's active character in preferences.
new_voice.mind = candidate.mind //Transfer the mind, if any.
new_voice.ckey = candidate.ckey //Finally, bring the client over.
candidate.mind = null //CHOMPAdd - Remove the mind from the mob to avoid issues with multi TF interactions
new_voice.tf_mob_holder = candidate_original_form //Save what mob they are! We'll need this for OOC escape and transformation back to their normal form.
if(candidate_name) //Were we given a candidate_name? Great! Name them that.
new_voice.name = "[candidate_name]"