summaryrefslogtreecommitdiff
path: root/data
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
parent7929cda3c6a65f8707b753e7190a4ca89891fd7e (diff)
downloadplus-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.tar.gz
plus-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.tar.bz2
plus-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.tar.xz
plus-10cf52b5ab6a9e1bb8328d9859b11d885fd5eef9.zip
Add limits for creating chars (hair color, hair style, stats).
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt1
-rw-r--r--data/Makefile.am2
-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
7 files changed, 28 insertions, 1 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 968d926b3..0435f6e35 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -4,6 +4,7 @@ ADD_SUBDIRECTORY(fonts)
ADD_SUBDIRECTORY(graphics)
ADD_SUBDIRECTORY(help)
ADD_SUBDIRECTORY(icons)
+ADD_SUBDIRECTORY(perserver)
ADD_SUBDIRECTORY(sfx)
ADD_SUBDIRECTORY(themes)
diff --git a/data/Makefile.am b/data/Makefile.am
index 5531c610f..302f0feae 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS = fonts graphics help icons sfx themes
+SUBDIRS = fonts graphics help icons perserver sfx themes
EXTRA_DIST = CMakeLists.txt items.xsd
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>