ID:266398
 
How do i make an inventory with picutes of objects and and when you click on them they equip?

Thanks for helpin!
Well first you need to make the inventory. Since the default 'inventory' is usr.contents, then make a stat panel that displays it. Then, just add things to usr.contents. Example:
obj
my_obj
icon = 'icon.dmi'
mob
verb
Add_My_Obj()
new/obj/my_obj(usr) // add my_obj to the user.

It will automaticly display the icon next to it. As for the equip, just under the objects Click() proc, put your equip code.

-Rcet

[Please understand, i EXPLAINED how to make it, not told. Im trying to let these people learn, not just give them the code.]
You can modify My weapon system.