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.
Putting things in containers
Posted by Jokerjfu on Wed 04 Jul 2001 01:56 AM — 3 posts, 15,620 views.
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).
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.
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.
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...
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...