mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
OOC notes panel
This commit is contained in:
@@ -40,7 +40,11 @@
|
||||
var/datum/mind/user_mind = user.mind
|
||||
var/datum/mind/prey_mind = M.mind
|
||||
var/target_ooc_notes = M.ooc_notes
|
||||
var/target_likes = M.ooc_notes_likes
|
||||
var/target_dislikes = M.ooc_notes_dislikes
|
||||
var/user_ooc_notes = user.ooc_notes
|
||||
var/user_likes = user.ooc_notes_likes
|
||||
var/user_dislikes = user.ooc_notes_dislikes
|
||||
M.ghostize()
|
||||
usr.ghostize()
|
||||
usr.mind = null
|
||||
@@ -52,7 +56,11 @@
|
||||
prey_mind.active = TRUE
|
||||
prey_mind.transfer_to(user)
|
||||
M.ooc_notes = user_ooc_notes //Let's keep their OOC notes over to their new body.
|
||||
M.ooc_notes_likes = user_likes
|
||||
M.ooc_notes_dislikes = user_dislikes
|
||||
user.ooc_notes = target_ooc_notes
|
||||
user.ooc_notes_likes = target_likes
|
||||
user.ooc_notes_dislikes = target_dislikes
|
||||
usr.sleeping = 10 //Device knocks out both the user and the target.
|
||||
usr.eye_blurry = 30 //Blurry vision while they both get used to their new body's vision
|
||||
usr.slurring = 50 //And let's also have them slurring while they attempt to get used to using their new body.
|
||||
|
||||
@@ -18,6 +18,8 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
|
||||
var/datum/mind/stored_mind
|
||||
|
||||
var/ooc_notes = null //For holding prefs
|
||||
var/ooc_notes_likes = null
|
||||
var/ooc_notes_dislikes = null
|
||||
|
||||
// Resleeving database this machine interacts with. Blank for default database
|
||||
// Needs a matching /datum/transcore_db with key defined in code
|
||||
@@ -32,11 +34,15 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
|
||||
/obj/item/device/sleevemate/proc/clear_mind()
|
||||
stored_mind = null
|
||||
ooc_notes = null
|
||||
ooc_notes_likes = null
|
||||
ooc_notes_dislikes = null
|
||||
update_icon()
|
||||
|
||||
/obj/item/device/sleevemate/proc/get_mind(mob/living/M)
|
||||
ASSERT(M.mind)
|
||||
ooc_notes = M.ooc_notes
|
||||
ooc_notes_likes = M.ooc_notes_likes
|
||||
ooc_notes_dislikes = M.ooc_notes_dislikes
|
||||
stored_mind = M.mind
|
||||
M.ghostize()
|
||||
stored_mind.current = null
|
||||
@@ -46,6 +52,8 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
|
||||
stored_mind.active = TRUE
|
||||
stored_mind.transfer_to(M)
|
||||
M.ooc_notes = ooc_notes
|
||||
M.ooc_notes_likes = ooc_notes_likes
|
||||
M.ooc_notes_dislikes = ooc_notes_dislikes
|
||||
clear_mind()
|
||||
|
||||
|
||||
@@ -300,4 +308,4 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
|
||||
if(stored_mind)
|
||||
icon_state = "[initial(icon_state)]_on"
|
||||
else
|
||||
icon_state = initial(icon_state)
|
||||
icon_state = initial(icon_state)
|
||||
|
||||
Reference in New Issue
Block a user