ID:268666
Oct 6 2004, 8:51 am
|
|
Or do I just have to make a process to update the object?
|
In response to Foomer
|
|
I was thinking something like...
atom =/ |
In response to Hell Ramen
|
|
Even the built-in suffix var doesn't do that. What you want is to modify the name, and the only way to do that is to modify the name!
<code>atom var/real_name proc/Suffix(suffix) if(suffix) name = "[suffix] [real_name]" else name = real_name return obj/stick name = "stick" real_name = "stick"</code> That's all you can do, really. |
In response to Foomer
|
|
x.x
Thanks |
<code>atom/var/prefix mob/Stat() if(statpanel("Inventory")) for(var/obj/O in src.contents) stat(O.prefix, O)</code>