aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-25 21:11:43 +0100
committerNao Pross <naopross@thearcway.org>2018-02-25 21:11:43 +0100
commit20b958c69451dd8251a8899cf7264d5c92ed7c60 (patch)
tree440ec68a189efdf42a21a9d621b6de2c04305fb5 /src/main/resources
parentUpdate CMakeLists and Makefile (diff)
downloadSubconscious-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.xml4
-rw-r--r--src/main/resources/effects/effects_template.xml12
-rw-r--r--src/main/resources/items/items_template.xml76
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>