/atom/get_examine_text(var/mob/examiner)
var/obj/faketype = type
world.log << "IT IS TIME FOR [initial(faketype.name)]."
world.log << "Hi, my name is [name]."
world.log << "Hi, my initial name is [initial(name)]."
return ..()
Output:
IT IS TIME FOR . Hi, my name is true mask. Hi, my initial name is .
Problem description:
On my project, calling initial(name) on any object returns null or "" regardless of the atom's initial name and I don't know why. initial() works for other variables I tested but for some reason it doesn't work for name
If you define
initial(name) doesn't work.