summaryrefslogtreecommitdiff
path: root/doc/item_db.txt
diff options
context:
space:
mode:
authorAtlantisRO <atlas@atlantis-ro.net>2017-03-16 14:16:00 -0700
committerHaru <haru@dotalux.com>2017-09-17 17:48:17 +0200
commite25ce3fabf4d73f943aa62b6d5d9d778d488c260 (patch)
treed8f2da34ec41f57b8c55fd25ce52fcbba8f54dee /doc/item_db.txt
parent2b5309e5e393cf3f5fb7678c7e7690aec0511f21 (diff)
downloadhercules-e25ce3fabf4d73f943aa62b6d5d9d778d488c260.tar.gz
hercules-e25ce3fabf4d73f943aa62b6d5d9d778d488c260.tar.bz2
hercules-e25ce3fabf4d73f943aa62b6d5d9d778d488c260.tar.xz
hercules-e25ce3fabf4d73f943aa62b6d5d9d778d488c260.zip
Added Constant SEX_ANY (2) for Male and Female genders.
Replaced Number 1 in Gender for Constant "SEX_MALE" on item_db.conf Signed-off-by: Ragno <ragno@atlantis-ro.net>
Diffstat (limited to 'doc/item_db.txt')
-rw-r--r--doc/item_db.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/item_db.txt b/doc/item_db.txt
index 04f05fb4e..8a33f9c35 100644
--- a/doc/item_db.txt
+++ b/doc/item_db.txt
@@ -59,7 +59,7 @@ item_db: (
}
Job: Job mask (alternate synxtax, int, defaults to all jobs = 0xFFFFFFFF)
Upper: Upper mask (int, defaults to any = 0x3f)
- Gender: Gender (int, defaults to both = 2)
+ Gender: Gender (string, defaults to "SEX_ANY")
Loc: Equip location (int, required value for equipment)
WeaponLv: Weapon Level (int, defaults to 0)
EquipLv: Equip required level (int, defaults to 0)
@@ -200,7 +200,12 @@ Upper: Equippable upper-types. Uses the following bitmasks:
mode. When no value is specified, all classes (mask 0x3f) are able to
equip the item.
-Gender: Gender restriction. 0 is female, 1 is male, 2 for both (default value).
+Gender: Gender restriction.
+ Available genders:
+ SEX_FEMALE: 0
+ SEX_MALE: 1
+ SEX_ANY: 2
+ When not specified, becomes "SEX_ANY".
Loc: Equipment's placement. A value needs to be specified if the item is an
equipment piece. Values are: