summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-06 14:47:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-06 14:47:39 +0300
commitb7ee14cadb1e5675f7e36565aec1fe39e55ccc34 (patch)
treed92328178a64cd15891802ced4a0db5a0a751e11 /src/defaults.cpp
parent3cb15a8f777bd9907d8dc4ba57774c762ec1f67f (diff)
downloadplus-b7ee14cadb1e5675f7e36565aec1fe39e55ccc34.tar.gz
plus-b7ee14cadb1e5675f7e36565aec1fe39e55ccc34.tar.bz2
plus-b7ee14cadb1e5675f7e36565aec1fe39e55ccc34.tar.xz
plus-b7ee14cadb1e5675f7e36565aec1fe39e55ccc34.zip
add ability to inlude config parts from subdirs for items, monsters, npcs.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 98195d214..5e55ff98b 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -490,12 +490,15 @@ DefaultsData* getPathsDefaults()
AddDEF("soundsFile", "sounds.xml");
AddDEF("itemsFile", "items.xml");
AddDEF("itemsPatchFile", "items_patch.xml");
+ AddDEF("itemsPatchDir", "items.d");
AddDEF("avatarsFile", "avatars.xml");
AddDEF("npcsFile", "npcs.xml");
AddDEF("npcsPatchFile", "npcs_patch.xml");
+ AddDEF("npcsPatchDir", "npcs.d");
AddDEF("petsFile", "pets.xml");
AddDEF("monstersFile", "monsters.xml");
AddDEF("monstersPatchFile", "monsters_patch.xml");
+ AddDEF("monstersPatchDir", "monsters.d");
AddDEF("mapsRemapFile", "maps/remap.xml");
AddDEF("mapsFile", "maps.xml");
AddDEF("deadMessagesFile", "deadmessages.xml");