ID:175794
 
I checked and there is no pre-defined "prefix" var. Anyone know if I can make a prefix or something on the opposite side of an object's suffix, or so that I can add something to the object's name, like If I had a sword and I wanted an Enchanted flag, it would appear like this: (Enchanted) Sword Anyone know how to do this?
obj
var
prefix

obj
New()
..()
if(prefix)
src.name = "([prefix]) [src.name]"
else
return
sword
prefix = "Enchanted"
In response to Nadrew
It doesn't really work. How will it work if the item is displayed in your inventory AND its enchanted after being created?
In response to Ryuo
Just make an update() that works just like New().
In response to Nadrew
And how do I make a proc that works like that?
In response to Ryuo
If you don't know what, I suggest reading the FAQ/Reference a few more times.