this is wats going on
2 Problems
1)
this is my inventory panel code
mob
Stat()
statpanel("Inventory",contents)
Note : i have all the contents on my new inventory panel... but i want only ITEMS on it!! but my Techniques on my inventory panel. i would like to know how to get rid of the Technique from my inventory panel!
2)
hmm i was trying to make a code for my game...and its not working right!!!!!
i want to change my item's icon and use the new icon...as a item..
i can see the icon changed but..when i wearing them it change back to old item..how do i make a code to keep the Overlay of my edited icon on my charactor...
i was trying to code this two for 6 days! -_-''
-Dtroys!
thanks alot people
ID:174183
Sep 21 2003, 1:36 am
|
|
In response to Dtroys
|
|
INFO: Dont bump unless the thread is 1 day old and is not on the first page!
Anywho... 1) mob/Stat() for(var/obj/O in src) if(O.item) statpanel("Inventory",O) Create a new var for obj's, "item". obj/var/item = 0 //set default to 0 For anything that is an item, make its item variable 1, so it will put it in the stat panel "Inventory". 2) Can you be more clear? im not sure if im just having problems, but I just dont seem to know what you mean. Can you show me your code? |
In response to JackGuy
|
|
Anywho...
1) mob/Stat() for(var/obj/O in src) if(O.item) statpanel("Inventory",O) Create a new var for obj's, "item". obj/var/item = 0 //set default to 0 For anything that is an item, make its item variable 1, so it will put it in the stat panel "Inventory". Note: so i just have to copy paste the above and make var for obj. then i have to add usr.item = 1 or src.item i am little confused could you explain to me please ty in advance |
In response to Dtroys
|
|
I think what he means is for every item that you want to show up in your statspanel, just include item = 1, in the items statistics.
|
ty-Dtroys