summaryrefslogtreecommitdiff
path: root/data/perserver
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-19 21:49:38 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-19 21:52:21 +0300
commit10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9 (patch)
tree0bbedbb7883e08901d4a787cac2f2dc6902f1279 /data/perserver
parent7929cda3c6a65f8707b753e7190a4ca89891fd7e (diff)
downloadmv-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.tar.gz
mv-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.tar.bz2
mv-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.tar.xz
mv-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.zip
Add limits for creating chars (hair color, hair style, stats).
Diffstat (limited to 'data/perserver')
-rw-r--r--data/perserver/CMakeLists.txt1
-rw-r--r--data/perserver/Makefile.am3
-rw-r--r--data/perserver/default/CMakeLists.txt5
-rw-r--r--data/perserver/default/Makefile.am8
-rw-r--r--data/perserver/default/charcreation.xml9
5 files changed, 26 insertions, 0 deletions
diff --git a/data/perserver/CMakeLists.txt b/data/perserver/CMakeLists.txt
new file mode 100644
index 000000000..8b86a84b0
--- /dev/null
+++ b/data/perserver/CMakeLists.txt
@@ -0,0 +1 @@
+ADD_SUBDIRECTORY(default)
diff --git a/data/perserver/Makefile.am b/data/perserver/Makefile.am
new file mode 100644
index 000000000..b754c27f8
--- /dev/null
+++ b/data/perserver/Makefile.am
@@ -0,0 +1,3 @@
+SUBDIRS = default
+
+EXTRA_DIST = CMakeLists.txt
diff --git a/data/perserver/default/CMakeLists.txt b/data/perserver/default/CMakeLists.txt
new file mode 100644
index 000000000..61bd98df1
--- /dev/null
+++ b/data/perserver/default/CMakeLists.txt
@@ -0,0 +1,5 @@
+SET (FILES
+ charcreation.xml
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/perserver/default)
diff --git a/data/perserver/default/Makefile.am b/data/perserver/default/Makefile.am
new file mode 100644
index 000000000..7ab87da67
--- /dev/null
+++ b/data/perserver/default/Makefile.am
@@ -0,0 +1,8 @@
+defaultdir = $(pkgdatadir)/data/perserver/default
+
+default_DATA = \
+ charcreation.xml
+
+EXTRA_DIST = \
+ $(default_DATA) \
+ CMakeLists.txt
diff --git a/data/perserver/default/charcreation.xml b/data/perserver/default/charcreation.xml
new file mode 100644
index 000000000..a7cb1a091
--- /dev/null
+++ b/data/perserver/default/charcreation.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author : 4144
+(C) ManaPlus Developers 2011. -->
+
+<chars>
+ <haircolor min="0" max="11" />
+ <hairstyle min="0" max="19" />
+ <stat min="1" max="9" sum="30" />
+</chars>