From b7ee14cadb1e5675f7e36565aec1fe39e55ccc34 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Jan 2014 14:47:39 +0300 Subject: add ability to inlude config parts from subdirs for items, monsters, npcs. --- src/defaults.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/defaults.cpp') 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"); -- cgit v1.2.3-70-g09d2