From b481cd74dfd1629ca7b045cde57562e752c49638 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Feb 2014 12:48:21 +0300 Subject: Dehardcode swords, shields and bows for auto switching weapons. --- data/perserver/default/CMakeLists.txt | 1 + data/perserver/default/Makefile.am | 3 ++- data/perserver/default/weapons.xml | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 data/perserver/default/weapons.xml (limited to 'data/perserver/default') 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 @@ + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2