Containers

Posted by Tahakki on Thu 01 May 2008 09:19 PM — 8 posts, 31,807 views.

#0
I've put an object into a container, with a reset so it goes back there, but when I examine the crate in-game it shows it as empty.

I don't really understand containers, what am I doing wrong?
USA #1
This would probably be much easier for someone to respond to if you told us, in a bit more detail, what you're doing rather than asking us what you're doing wrong..
#2
Okay...
I've got an item called a crate, which is set to type 'container'. I have an item called Short Sword, which is set as a weapon. I have a reset that puts the sword into the box. However, it doesn't show up when I use EXAM CRATE in-game.
USA #3
Can you paste the reset in here for us? (go to the room and do
redit rlist
then paste here for us what the mud returns)

Have you reset the area before you examine the crate to see if the sword is in it? (try
goto <room vnum>
purge
reset area
exam crate

and see if that works)
#4
Examine the crate? Don't you have to 'look in' the container to see its contents?

Regards,
JFK
USA #5
Nope, do_examine uses calls to do_look so you could get the same results by doing look in crate as you would from examine crate but you don't have to use look in.
#6
Reset didn't work...

I tried redit rlist, and got this.

1) (object) Wooden Crate (9900) -> Basic Traning - Room One Room: 10304 [1]

Which is odd, because the reset for the weapon shows up in AreaEditor. It's called:

Put #9901 short sword => #9900 A wooden crate

Suggestions?
Japan #7
what are the values on the crate?

is the crate prototype when you set these values, or did you set these values after removing the prototype flag?

ostat the crate and sword both before and after reset for me, wouldja?