2 Things
- How do i make an inventory.
- How do i add pictures of the objects in the inventory.
An example would be great,
Thanks for your time and help.
ID:261379
Feb 10 2002, 10:30 am
|
|
I looked in the help and found no way of doing this.
2 Things
|
In response to Super16
|
|
I get these two errors.
objs.dm:83:error:"items":duplicate definition objs.dm:83:error:contents:duplicate definition |
In response to Devil Man
|
|
I am sorry about bumping my post but this is the only problem i have...
Thank you for your time. - Devil Man |
In response to Devil Man
|
|
Look up these three things in the F1 help:
Stat statpanel stat |
In response to English
|
|
I did, but i did not get what it meant, the example showed me more than the F1 help did, how can i overcome these errors?
|
In response to Devil Man
|
|
The code looked fine to me but just to be sure I copied and pasted it into my test program (where I test any code I'm not sure of) and it compiled and worked fine.
Where did you put the code? Just try copying and pasting it into you code, it should work. |
obj/moo
icon='moo.dmi'
verb
Get()
set src in usr.loc
Move(usr)
mob
Stat()
statpanel("items",contents)
The Move(usr) moves the item to the inventory. The set src in usr.loc makes it so when the item is on the ground, you get the get verb.