diff options
author | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-10-03 22:41:08 -0300 |
---|---|---|
committer | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-10-19 17:46:21 -0300 |
commit | 875418a5a42bacc86d4ea9ba8c944423dc10e7b6 (patch) | |
tree | cdb2dc0bb88984e3b924244d40046b70b7a0f329 /conf/common/map-index.conf | |
parent | 7d25827001493a82a8f75cfc6a0b956164b44f05 (diff) | |
download | hercules-875418a5a42bacc86d4ea9ba8c944423dc10e7b6.tar.gz hercules-875418a5a42bacc86d4ea9ba8c944423dc10e7b6.tar.bz2 hercules-875418a5a42bacc86d4ea9ba8c944423dc10e7b6.tar.xz hercules-875418a5a42bacc86d4ea9ba8c944423dc10e7b6.zip |
Dehardcodes db/map_index.txt file path
A new config file "conf/common/map-index.conf" is added to set the file path
Diffstat (limited to 'conf/common/map-index.conf')
-rw-r--r-- | conf/common/map-index.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/conf/common/map-index.conf b/conf/common/map-index.conf new file mode 100644 index 000000000..b3a1b4e8f --- /dev/null +++ b/conf/common/map-index.conf @@ -0,0 +1,34 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2019 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Map Index configuration file. +//========================================================================= + +mapindex_configuration: { + // Full path to the map_index.txt file + // Default: db/map_index.txt + file_path: "db/map_index.txt" +} |