summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-27 12:48:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-27 12:48:21 +0300
commitb481cd74dfd1629ca7b045cde57562e752c49638 (patch)
treef96df5fd34ed5dba3a615d15fff69fb01903d9c0 /data
parentf91a3ef02da845393dc7df7cf6337d064a1feaa7 (diff)
downloadmv-b481cd74dfd1629ca7b045cde57562e752c49638.tar.gz
mv-b481cd74dfd1629ca7b045cde57562e752c49638.tar.bz2
mv-b481cd74dfd1629ca7b045cde57562e752c49638.tar.xz
mv-b481cd74dfd1629ca7b045cde57562e752c49638.zip
Dehardcode swords, shields and bows for auto switching weapons.
Diffstat (limited to 'data')
-rw-r--r--data/perserver/default/CMakeLists.txt1
-rw-r--r--data/perserver/default/Makefile.am3
-rw-r--r--data/perserver/default/weapons.xml19
3 files changed, 22 insertions, 1 deletions
diff --git a/data/perserver/default/CMakeLists.txt b/data/perserver/default/CMakeLists.txt
index ed7e61e1e..19cf3686d 100644
--- a/data/perserver/default/CMakeLists.txt
+++ b/data/perserver/default/CMakeLists.txt
@@ -4,6 +4,7 @@ SET (FILES
deadmessages.xml
features.xml
gmcommands.txt
+ weapons.xml
)
INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/perserver/default)
diff --git a/data/perserver/default/Makefile.am b/data/perserver/default/Makefile.am
index 8a66984b8..5b478d82d 100644
--- a/data/perserver/default/Makefile.am
+++ b/data/perserver/default/Makefile.am
@@ -5,7 +5,8 @@ default_DATA = \
chatcommands.txt \
deadmessages.xml \
features.xml \
- gmcommands.txt
+ gmcommands.txt \
+ weapons.xml
EXTRA_DIST = \
$(default_DATA) \
diff --git a/data/perserver/default/weapons.xml b/data/perserver/default/weapons.xml
new file mode 100644
index 000000000..051e1f59e
--- /dev/null
+++ b/data/perserver/default/weapons.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<weapons>
+ <swords>
+ <item id="571"/>
+ <item id="570"/>
+ <item id="579"/>
+ <item id="867"/>
+ <item id="536"/>
+ <item id="758"/>
+ </swords>
+ <bows>
+ <item id="545"/>
+ <item id="530"/>
+ </bows>
+ <shields>
+ <item id="601"/>
+ <item id="602"/>
+ </shields>
+</weapons>