datum/mind var/key var/mob/current var/memory var/assigned_role var/special_role var/list/datum/objective/objectives = list() proc/transfer_to(mob/new_character) if(current) current.mind = null new_character.mind = src current = new_character new_character.key = key proc/store_memory(new_text) memory += "[new_text]
" proc/show_memory(mob/recipient) var/output = "[current.real_name]'s Memory
" output += memory if(objectives.len>0) output += "
Objectives:" var/obj_count = 1 for(var/datum/objective/objective in objectives) output += "Objective #[obj_count]: [objective.explanation_text]" obj_count++ recipient << browse(output,"window=memory")