ITEM CONTAINER: Difference between revisions

From AddictHelp
Jump to navigation Jump to search
Kahlan (talk | contribs)
No edit summary
Kahlan (talk | contribs)
No edit summary
Line 19: Line 19:
loaded closed and locked. (1 + 2 + 4 = 7)
loaded closed and locked. (1 + 2 + 4 = 7)


See also: OEDIT, OSET, ITEM_TYPES
See also: [[OEDIT]], [[OSET]], [[ITEM_TYPES]]
 
 
[[CATEGORY:OLC]]

Revision as of 13:14, 19 November 2008

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