mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Removes the mob "memory" var (#20814)
* Removes the mob "memory" var * MEMERY
This commit is contained in:
+2
-16
@@ -418,7 +418,7 @@ var/next_mob_id = 0
|
||||
if(mind)
|
||||
mind.show_memory(src)
|
||||
else
|
||||
src << "The game appears to have misplaced your mind datum, so we can't show you your notes."
|
||||
src << "You don't have a mind datum for some reason, so you can't look at your notes, if you had any."
|
||||
|
||||
/mob/verb/add_memory(msg as message)
|
||||
set name = "Add Note"
|
||||
@@ -430,21 +430,7 @@ var/next_mob_id = 0
|
||||
if(mind)
|
||||
mind.store_memory(msg)
|
||||
else
|
||||
src << "The game appears to have misplaced your mind datum, so we can't show you your notes."
|
||||
|
||||
/mob/proc/store_memory(msg as message, popup, sane = 1)
|
||||
msg = copytext(msg, 1, MAX_MESSAGE_LEN)
|
||||
|
||||
if (sane)
|
||||
msg = sanitize(msg)
|
||||
|
||||
if (length(memory) == 0)
|
||||
memory += msg
|
||||
else
|
||||
memory += "<BR>[msg]"
|
||||
|
||||
if (popup)
|
||||
memory()
|
||||
src << "You don't have a mind datum for some reason, so you can't add a note to it."
|
||||
|
||||
/mob/verb/abandon_mob()
|
||||
set name = "Respawn"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
var/attack_log = list( )
|
||||
var/obj/machinery/machine = null
|
||||
var/other_mobs = null
|
||||
var/memory = ""
|
||||
var/disabilities = 0 //Carbon
|
||||
|
||||
var/atom/movable/pulling = null
|
||||
|
||||
Reference in New Issue
Block a user