… | |
… | |
1541 | container classes. |
1541 | container classes. |
1542 | </attribute> |
1542 | </attribute> |
1543 | <attribute arch="slaying" editor="key string" type="string"> |
1543 | <attribute arch="slaying" editor="key string" type="string"> |
1544 | If <key string> is set, only players with a special key |
1544 | If <key string> is set, only players with a special key |
1545 | of matching <key string> are able to open the container. |
1545 | of matching <key string> are able to open the container. |
|
|
1546 | |
|
|
1547 | When the key string starts with "match ", then it is expected to |
|
|
1548 | be a match expression, which will be applied to the player, so |
|
|
1549 | you can use e.g. (match type=POTION in inv). Note that the matched |
|
|
1550 | object will be removed. |
1546 | </attribute> |
1551 | </attribute> |
1547 | <attribute arch="container" editor="maximum weight" type="int"> |
1552 | <attribute arch="container" editor="maximum weight" type="int"> |
1548 | The container can hold a maximum total weight of the given value |
1553 | The container can hold a maximum total weight of the given value |
1549 | in gram. Note that this weight limit is calculated *after* the |
1554 | in gram. Note that this weight limit is calculated *after* the |
1550 | weight reduction (<reduce weight>) has been applied. |
1555 | weight reduction (<reduce weight>) has been applied. |