Add a new "rechargeable" flag to items
A way to set this flag is not yet exposed in the scenario editor. The flag is intended only for non-stackable items, but this currently isn't enforced. Items now have a maximum number of charges, which is equal to their default number set in the item record. Enchanted items with charges are now rechargeable.
This commit is contained in:
@@ -391,8 +391,8 @@ arrows, bolts, thrown missiles, or missiles with no ammo).
|
||||
`help-one`, `harm-all`, `help-all`.
|
||||
* `<properties>` - Contains several boolean subtags specifying properties of this item.
|
||||
Recognized subtags are `<identified>` (indicating it is _always_ identified), `<magic>`,
|
||||
`<cursed>`, `<concealed>`, `<enchanted>`, `<unsellable>`. Note that the editor UI gives no
|
||||
access to the `<enchanted>` flag.
|
||||
`<cursed>`, `<concealed>`, `<enchanted>`, `<unsellable>`, `<rechargeable>`.
|
||||
Note that the editor UI gives no access to the `<enchanted>` flag.
|
||||
* `<description>` - A description of the item. The scenario editor wraps the contents of
|
||||
this element in a `CDATA` declaration.
|
||||
|
||||
|
Reference in New Issue
Block a user