Here's what I have so far,
mob/var
contents
weapons
armor
statpanel("Weapons and Armor")
stat(usr.weapons)
stat(usr.armor)
statpanel("Inventory")
stat(usr.contents)
//The normal stuff now for an object.
obj/Potion
name = "Potion"
desc = "Heals up to 20-30 HP."
icon = 'potion.gif'
How would I have it so that when a usr buys that item, it get puts into the Statpanel labeled "Inventory", do you put addtypesof+=verbs or something or what?
Look up statpanel() and Stat() in the reference.
To add an itme to a player's contents, you just need to move it into the player, or create it right in their contents.