Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Area Editor ➜ General ➜ Putting things in containers

Putting things in containers

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Jokerjfu   (19 posts)  Bio
Date Wed 04 Jul 2001 01:56 AM (UTC)
Message
I made a wooden chest and tried putting that mushroom I made earlier into it, but it said it would not fit, and the capacity of the chest was like 5000, I just wonder though under the stats the flags was set to 1 what do the different number of flags mean, I mean suppose I want to create a backpack wouldn't I make it a container? and then how do I set it so that it knows when it's maximum capacity is filled.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 04 Jul 2001 09:17 PM (UTC)
Message
I found the following list in Herne's SMAUG Building guides (link at the top of the SMAUG -> Running the Server section of the forum).


Item Type|V0        |V1         |V2        |V3        |V4      |V5 
---------|----------|-----------|----------|----------|--------|-------
armor    |current AC|original AC|          |          |        |
container|capacity  |flags      |key vnum  |condition |        | 
drinkcon |capacity  |quantity   |liquid #  |poison?   |        | 
food     |food value|(condition)|          |poison?   |        |
herb     |          |charges    |herb #    |          |        | 
key      |(lock #)  |           |          |          |        |    
lever    |leverflags|vnum/sn    |vnum      |vnum/value|        | 
light    |          |           |hours left|          |        |
money    |# of coins|coin type  |          |          |        | 
pill     |spell lvl |sn 1       |sn 2      |sn 3      |food val|
potion   |spell lvl |sn 1       |sn 2      |sn 3      |        | 
salve    |spell lvl |max charge |charges   |delay     |sn      |sn 
scroll   |spell lvl |sn 1       |sn 2      |sn3       |        | 
staff    |spell lvl |max charges|charges   |sn        |        |
switch   |leverflags|vnum/sn    |vnum      |vnum/value|        | 
trap     |charges   |type       |level     |flags     |        | 
treasure |(type)    |(condition)|          |          |        |
wand     |level     |max charges|charges   |sn        |        | 
weapon   |condition |num dice   |size dice |weapontype|        |



I don't know what all the flags do, however what should work when you make new items is to duplicate an existing one (RH-mouse click on an item and select "duplicate object).

If the original works, the copy should, right? Then you can just change its description to indicate what it is supposed to be.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Dedsune   (1 post)  Bio
Date Reply #2 on Sun 02 Sep 2001 10:02 AM (UTC)
Message
Try setting the WEIGHT of the container to a value less than the v0 (capacity) of the container.

I.e. If your capacity is 1000, then set the weight to 500 (or 1, or 5, or whatever).

Hope that helps. That same issue plagued me for a while...
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,552 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.