ID:156200
![]() Dec 7 2010, 1:39 pm
|
|
Well my game has a window inventory made by grids and what i want to do is that when a usr talks to a npc he recieves a shirt and jeans right to their inventory... i have tried adding set src in oview(1) but it gets me an error can someone help me plz?
|
![]() Dec 7 2010, 1:41 pm
|
|
If you have a proc to "update" the inventory, call it.
|
u can try out muy coding if i want it works but it might not be intraly right
mob Stat() statpanel("Inventory",contents) obj akasuki_suit mob Hidan verb Talk() set src in oview(1) switch(input("here you go, you are now an akasuki.")) if("") usr.contents += new/obj/akasuki_suit obj akasuki_suit icon = 'Akasuki Coat.dmi' layer = MOB_LAYER + 5 verb wear() switch(alert("How do you wish to wear it?", "Clothing", "Classic", "Uchiha")) if("Uchiha") icon_state = "Uchiha" usr.overlays += src if("Classic") icon_state = "Classic" usr.overlays += src |