ITEM CONTAINER
Jump to navigation
Jump to search
Containers are used to carry things around.
v0 = weight capacity v1 = container flag: (bitvectors) 1 CLOSABLE Container is closable 2 PICKPROOF If locked, the container cannot be picked 4 CLOSED Container is closed when loaded 8 LOCKED Container is locked when loaded v2 = Vnum of key to unlock or -1 if not closable v3 = reserved for internal use DO NOT SET TO OTHER THEN 0
Bitvectors are added like so: a value of 7 means that the container is closeable, and is loaded closed and locked. (1 + 2 + 4 = 7)
See also: OEDIT, OSET, ITEM_TYPES