diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-16 19:06:14 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-16 19:06:14 +0100 |
commit | 0bb4b12a7ed47619dff6fd748dc0d57d0b67f79c (patch) | |
tree | 3b1eef64691511de82ad858463f2160ea5b0f92a /src/main/resources/items | |
parent | Add RangedWeapon, MeleeWeapon (diff) | |
download | Subconscious-old-0bb4b12a7ed47619dff6fd748dc0d57d0b67f79c.tar.gz Subconscious-old-0bb4b12a7ed47619dff6fd748dc0d57d0b67f79c.zip |
Add resources xml templates, call Scene::click on mouseclick
Diffstat (limited to 'src/main/resources/items')
-rw-r--r-- | src/main/resources/items/items_template.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/main/resources/items/items_template.xml b/src/main/resources/items/items_template.xml new file mode 100644 index 0000000..0810f45 --- /dev/null +++ b/src/main/resources/items/items_template.xml @@ -0,0 +1,55 @@ +<!-- ITEMS +Available item types: + - stick + - weapon + - medicine + - food +--!> + +<item type=""> + <name></name> + <maxAmount></maxAmount> +</item> + + +<item type="stick"> + <!-- item --!> + <name></name> + <maxAmount></maxAmount> + + <!-- stick --!> + <requiredLevel></reqiredLevel> + <requiredClass>Wizard</requiredClass> +</item> + + +<item type="medicine"> + <!-- item --!> + <name></name> + <maxAmount></maxAmount> + + <!-- medicine --!> + <heal></heal> + <requiredLevel></reqiredLevel> +</item> + + +<item type="food"> + <!-- item --!> + <name></name> + <maxAmount></maxAmount> + + <!-- food --!> + <heal></heal> +<\item> + + +<item type="weapon"> + <!-- item --!> + <name></name> + <maxAmount></maxAmount> + + <!-- weapon --!> + <damage></damage> + <requiredLevel></reqiredLevel> +</item> |