diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-01 22:33:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-02 00:06:13 +0300 |
commit | d37ddaddbfb7e936fbe1994273d4d4ac58358a26 (patch) | |
tree | 1bf51f37ca8ee6889ab3fabfab8af54cd7a35aee /src/defaults.cpp | |
parent | ff53770b5a3d4c9911ffba93f9a62697dd5b6d81 (diff) | |
download | plus-d37ddaddbfb7e936fbe1994273d4d4ac58358a26.tar.gz plus-d37ddaddbfb7e936fbe1994273d4d4ac58358a26.tar.bz2 plus-d37ddaddbfb7e936fbe1994273d4d4ac58358a26.tar.xz plus-d37ddaddbfb7e936fbe1994273d4d4ac58358a26.zip |
Add support for configurable item stat fields.
This fields defined in itemfields.xml
Can be used in items.xml
All default fields removed from ManaPlus. If need use it, please add
fields to itemfields.xml in client data.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index f2af50b84..8c33ba5ea 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -576,6 +576,9 @@ DefaultsData* getPathsDefaults() AddDEF("itemsFile", "items.xml"); AddDEF("itemsPatchFile", "items_patch.xml"); AddDEF("itemsPatchDir", "items.d"); + AddDEF("itemFieldsFile", "itemfields.xml"); + AddDEF("itemFieldsPatchFile", "itemfields_patch.xml"); + AddDEF("itemFieldsPatchDir", "itemfields.d"); AddDEF("avatarsFile", "avatars.xml"); AddDEF("avatarsPatchFile", "avatars_patch.xml"); AddDEF("avatarsPatchDir", "avatars.d"); |