Put things in a container

Posted by Alkarindil on Thu 07 Jun 2007 02:35 AM — 12 posts, 49,530 views.

Brazil #0
Ok, I saw a messge with the same title.
Horever, I am doing a new area, so there is no container to duplicate.
I have a chest, container, and I have some clothes to put in this container. Ho do I put these damn clothes in the chest!?
I am creating the object, using a reset thing with the "put" option and nothing happents.
Can somebody help-me?
USA #1
http://www.gammon.com.au/smaugeditor/resets.htm

Pick the Put option. That should work.
Brazil #2
Thanks Zeno, but it doesn't work.
Amended on Thu 07 Jun 2007 03:17 AM by Alkarindil
USA #3
Why not, what's wrong?
Brazil #4
Good question.
Here's what I have done:

object #10329 - a shirt - type: armor
Weight: 1 pound, cost 2
Current AC 2, Original AC 2
Layers 0 Rent 0
Wear flags: Body, take
-------------------------

object #10337 - a big chest - type: container
Weight: 80 pounds, cost 200
Capacity 200, Flags 0 No key
Layers 0 Rent 20
-------------------------

Reset Put:#10329 => #10337
Limit: 1 Extra: 1
-------------------------

Reset Object:#10337 => #10307
Limit: 1 Extra: 0
-------------------------

The room is working, every references are right.
If I try to delete the chest, it warns me that the shirt will be deleted to.

When I run the mud, enter the room and use 'exa chest', it returns 'nothing'.
USA #5
You might need the chest-to-room reset before the obj-to-chest reset. Not sure, though.
Brazil #6
But how do I do this?
Edit-->
I just realize that a small key doesn't fit the chest. How to change it, I don't know yet.
Amended on Thu 07 Jun 2007 04:32 AM by Alkarindil
USA #7
Maybe the area editor has a reset ordering tool; I really don't know, I haven't played with it very much.

You could try manually reordering them in the .are file, too.
Brazil #8
I just realize that a small key doesn't fit the chest. How to change it, I don't know yet.
USA #9
I thought we were talking about making the reset put the shirt into the chest. Has something changed in the meantime? Are you not able to manually put the shirt in the chest? I'm just trying to figure out why you're talking about the key now.
Brazil #10
Alright, I found a way!
The key were another object into the chest.
First I used a flag in the chest, number 8.
I don't know why, but it works.
Second I've done what you said:
First deleted all chest and shirt resets, then I created again the chest's reset and then, selecting this object reset, I made a put reset. This way the put comes after the object.

Now it works fine!

Thanks!

But.... I've got a new problem! \o/

Now the clothes in the chest are level 6+, but a level 1 player need to use it!
How do I change this thing!?
Amended on Thu 07 Jun 2007 04:59 AM by Alkarindil
USA #11
Make sure the item is prototype, and then change the obj level.