Im make a var that I can set an obj inside, then be able to paste this obj into another var. But I run into this problem.
usr.Copy = o
mob/verb/Paste(obj/o in world)
o.contents += o
Lets say I edit the objected that I pasted. And changed its name to Test, Then the original objects name will become Test aswell. I have also tried:
mob/verb/Copy(obj/o in world)
var/obj/s = new/obj
s.name= o.name
s.icon= o.icon
s.contents= o.contents
usr.Copy = s
Put if I paste two of these then the two new objects are linked together the same as the problem above.
Another problem I have encountered is, It will only let me paste the copied object once in contents unless I go copy a while diffrent object and paste.
Anyone know how to help?
~Texter