diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-25 21:11:43 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-25 21:11:43 +0100 |
commit | 20b958c69451dd8251a8899cf7264d5c92ed7c60 (patch) | |
tree | 440ec68a189efdf42a21a9d621b6de2c04305fb5 /src/main/resources | |
parent | Update CMakeLists and Makefile (diff) | |
download | Subconscious-old-20b958c69451dd8251a8899cf7264d5c92ed7c60.tar.gz Subconscious-old-20b958c69451dd8251a8899cf7264d5c92ed7c60.zip |
Better management of stats and skill of actors and items
Diffstat (limited to '')
-rw-r--r-- | src/main/resources/definitions.xml | 4 | ||||
-rw-r--r-- | src/main/resources/effects/effects_template.xml | 12 | ||||
-rw-r--r-- | src/main/resources/items/items_template.xml | 76 |
3 files changed, 47 insertions, 45 deletions
diff --git a/src/main/resources/definitions.xml b/src/main/resources/definitions.xml new file mode 100644 index 0000000..5157d99 --- /dev/null +++ b/src/main/resources/definitions.xml @@ -0,0 +1,4 @@ +<item> + <name></name> + <maxAmount></maxAmount> +</item> diff --git a/src/main/resources/effects/effects_template.xml b/src/main/resources/effects/effects_template.xml index fe577b0..3b74e3a 100644 --- a/src/main/resources/effects/effects_template.xml +++ b/src/main/resources/effects/effects_template.xml @@ -3,9 +3,9 @@ Available modifications: - speed - attackDamage --!> - -<effect modifies=""> - <name></name> - <value></value> -</effect> - +<effects> + <effect modifies=""> + <name></name> + <value></value> + </effect> +</effects> diff --git a/src/main/resources/items/items_template.xml b/src/main/resources/items/items_template.xml index 19c9264..afd3c72 100644 --- a/src/main/resources/items/items_template.xml +++ b/src/main/resources/items/items_template.xml @@ -5,55 +5,53 @@ Available item types: - medicine - food --> +<items> + <item type=""> + <name></name> + <maxAmount></maxAmount> + </item> -<item type=""> - <name></name> - <maxAmount></maxAmount> -</item> + <item type="stick"> + <!-- item --> + <name></name> + <maxAmount></maxAmount> + <!-- stick --> + <requiredLevel></reqiredLevel> + <requiredClass>Wizard</requiredClass> + </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="medicine"> - <!-- item --> - <name></name> - <maxAmount></maxAmount> + <item type="food"> + <!-- item --!> + <name></name> + <maxAmount></maxAmount> - <!-- medicine --> - <heal></heal> - <requiredLevel></reqiredLevel> -</item> + <!-- food --!> + <heal></heal> + <\item> -<item type="food"> - <!-- item --!> - <name></name> - <maxAmount></maxAmount> + <item type="weapon"> + <!-- item --!> + <name></name> + <maxAmount></maxAmount> - <!-- food --!> - <heal></heal> -<\item> - - - -<item type="weapon"> - <!-- item --!> - <name></name> - <maxAmount></maxAmount> - - <!-- weapon --!> - <damage></damage> - <requiredLevel></reqiredLevel> -</item> + <!-- weapon --!> + <damage></damage> + <requiredLevel></reqiredLevel> + </item> +</items> |