mob
var
contentsA
contentsB
Stat()
statpanel("Inventory")
stat(usr.contents)
statpanel("Pack")
stat(usr.contentsA)
statpanel("Deck")
stat(usr.contentsB)
Edited...
ID:270035
Dec 19 2005, 1:28 pm (Edited on Dec 19 2005, 1:57 pm)
|
|
Hi, in a game that I am making I need help, the problem is Moving items between statpanels. Well when you buy a item from a shopkeeper it appears in your "Pack" Statpanel from there you can click it again so you can move it to the "Deck" Statpanel, in the "Deck" Stat panel is where you can use that certain item. How would I be able to do this? I have tryed and my code would not work. Help!
mob Edited... |
In response to Kiyo Takamine
|
|
You can't create something inside a list as if it were a location (other than contents, because it's a special list). You have to add it in them.
usr.contentsA += new /obj/C ()
~~> Unknown Person |
How come it doesn't add it to the pack and deck?