summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-17Replace 2 with "EQP_WEAPON" in the item_db Loc fieldHaru2-1377/+1377
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace 1 with "EQP_HEAD_LOW" in the item_db Loc fieldHaru3-189/+189
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add support for bitmask arrays in the item_db Loc fieldHaru6-27/+42
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace the remaining numbers in the item_db Upper field with bitmask arraysHaru1-10/+10
Replaced: - 3 -> ["ITEMUPPER_NORMAL", "ITEMUPPER_UPPER"] - 7 -> ["ITEMUPPER_NORMAL", "ITEMUPPER_UPPER", "ITEMUPPER_BABY"] Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace the recurring 'Upper: 47' value in the item_db with a bitmask arrayHaru1-43/+43
Equivalent: `["ITEMUPPER_NORMAL", "ITEMUPPER_UPPER", "ITEMUPPER_BABY", "ITEMUPPER_THIRD", "ITEMUPPER_THIRDBABY"]` Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace 1 with "ITEMUPPER_NORMAL" in the item_db Upper fieldHaru1-108/+108
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace the recurring 'Upper: 56' value in the item_db with a bitmask arrayHaru2-243/+243
Equivalent: `["ITEMUPPER_THIRD", "ITEMUPPER_THIRDUPPER", "ITEMUPPER_THIRDBABY"]` Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace the recurring 'Upper: 58' value in the item_db with a bitmask arrayHaru1-182/+182
Equivalent: `["ITEMUPPER_UPPER", "ITEMUPPER_THIRD", "ITEMUPPER_THIRDUPPER", "ITEMUPPER_THIRDBABY"]` Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Remove redundant 'Upper: 63' (ITEMUPPER_ALL) values from the item_dbHaru2-14/+0
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace 8 with "ITEMUPPER_THIRD" in the item_db Upper fieldHaru2-87/+87
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace 2 with "ITEMUPPER_UPPER" in the item_db Upper fieldHaru2-158/+158
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add support for bitmask arrays in the item_db Upper fieldHaru7-16/+27
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Fix a typo in the constant ITEMUPPER_THIRDUPPERHaru2-2/+2
Was: ITEMUPPER_THURDUPPER Signed-off-by: Haru <haru@dotalux.com>
2017-09-17HPM Hooks UpdateHaru4-0/+34
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add support for parsing arrays of constants as bitmasks in the item_dbHaru2-7/+64
Fields marked as constant bitmasks will support the following syntaxes: Field: 10 // Decimal value Field: 0xA // Hexadecimal value Field: "FOO" // Constant Field: [2, 8] // Array of decimal values Field: [0x2, 0x8] // Array of hexadecimal values Field: ["FOO", "BAR"] // Array of constants Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Item DB SQL UpdateHaru1-27/+27
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Fixes wrong Type values on db\re\item_db.confAtlantisRO1-26/+27
- Adds Subtype "A_SHURIKEN" to 13295 - Light_Shuriken - Changes "IT_WEAPON" to "IT_ARMOR" in some armors, shoes and accessory for Summoner Class. Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 18 in Type for Constant "IT_CASH" on item_db.confAtlantisRO2-1914/+1914
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 11 in Type for Constant "IT_DELAYCONSUME" on item_db.confAtlantisRO2-269/+269
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 10 in Type for Constant "IT_AMMO" on item_db.confAtlantisRO2-186/+186
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 8 in Type for Constant "IT_PETARMOR" on item_db.confAtlantisRO2-77/+77
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 7 in Type for Constant "IT_PETEGG" on item_db.confAtlantisRO2-118/+118
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 6 in Type for Constant "IT_CARD" on item_db.confAtlantisRO2-1545/+1545
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 5 in Type for Constant "IT_ARMOR" on item_db.confAtlantisRO2-4773/+4773
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 4 in Type for Constant "IT_WEAPON" on item_db.confAtlantisRO2-1795/+1795
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Removed type 3 values from pre-re/item_db.conf since type 3 (IT_ETC) is ↵AtlantisRO1-1631/+0
default value. Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 2 in Type for Constant "IT_USABLE" on item_db.confAtlantisRO2-1665/+1665
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 0 in Type for Constant "IT_HEALING" on item_db.confAtlantisRO2-628/+628
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Replaced Number 0 in Gender for Constant "SEX_FEMALE" on item_db.confAtlantisRO1-19/+19
Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Added Constant SEX_ANY (2) for Male and Female genders.AtlantisRO4-90/+96
Replaced Number 1 in Gender for Constant "SEX_MALE" on item_db.conf Signed-off-by: Ragno <ragno@atlantis-ro.net>
2017-09-17Move other view-related variables to `sd->status.look`Haru6-78/+80
The following variables are now moved to `sd->status.look` (from `sd->status`): `head_top`, `head_mid`, `head_bottom`, `robe` Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a Subtype (part 2)Haru8-22/+36
`sd->status.shield` is renamed to `sd->status.look.shield` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->has_shield`, of boolean type (to detect the presence of a shield) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a weapon SubtypeHaru9-82/+94
`sd->status.weapon` is renamed to `sd->status.look.weapon` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->weapontype` (holding the currently equipped weapon type, considering both hands at once) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Item DB SQL UpdateHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Fix an error in an AegisNameHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Update item DB (View -> ViewSprite)Haru3-3289/+3289
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Update item DB (View -> Subtype)Haru2-1954/+1954
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Item DB SQL UpdateHaru3-16224/+16227
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Split 'View' in two different fields in the item databaseHaru15-85/+124
- The field was used both for sprite view IDs and for weapon or ammunition subtypes. Now the fields 'ViewSprite' and 'Subtype' are used respectively. Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Reimplement getiteminfo/setiteminfo in a safer and more maintainable wayHaru2-61/+113
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_THROWWEAPON in the item database applicable entriesHaru2-62/+62
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_CANNONBALL in the item database applicable entriesHaru2-10/+10
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_KUNAI in the item database applicable entriesHaru2-14/+14
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_SHURIKEN in the item database applicable entriesHaru2-11/+11
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_GRENADE in the item database applicable entriesHaru2-12/+12
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_BULLET in the item database applicable entriesHaru2-26/+26
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_DAGGER in the item database applicable entriesHaru2-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace A_ARROW in the item database applicable entriesHaru2-48/+48
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace W_2HSTAFF in the item database applicable entriesHaru2-27/+27
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Replace W_HUUMA in the item database applicable entriesHaru2-30/+30
Signed-off-by: Haru <haru@dotalux.com>