aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-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>