Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
9047b6c
Add item subtype (weapon/ammunition type) constants
MishimaHaruna Sep 4, 2016
a10c6d2
Replace W_DAGGER in the item database applicable entries
MishimaHaruna Sep 4, 2016
6cb7039
Replace W_1HSWORD in the item database applicable entries
MishimaHaruna Sep 4, 2016
c633997
Replace W_2HSWORD in the item database applicable entries
MishimaHaruna Sep 4, 2016
9433bf0
Replace W_1HSPEAR in the item database applicable entries
MishimaHaruna Sep 4, 2016
fdebf87
Replace W_2HSPEAR in the item database applicable entries
MishimaHaruna Sep 4, 2016
05e7c4f
Replace W_1HAXE in the item database applicable entries
MishimaHaruna Sep 4, 2016
550b70f
Replace W_2HAXE in the item database applicable entries
MishimaHaruna Sep 4, 2016
61075c5
Replace W_MACE in the item database applicable entries
MishimaHaruna Sep 4, 2016
bca1a51
Replace W_STAFF in the item database applicable entries
MishimaHaruna Sep 4, 2016
3fa951c
Replace W_BOW in the item database applicable entries
MishimaHaruna Sep 4, 2016
0aa7f78
Replace W_KNUCKLE in the item database applicable entries
MishimaHaruna Sep 4, 2016
5cc248a
Replace W_MUSICAL in the item database applicable entries
MishimaHaruna Sep 4, 2016
eb700fb
Replace W_WHIP in the item database applicable entries
MishimaHaruna Sep 4, 2016
73c48b6
Replace W_BOOK in the item database applicable entries
MishimaHaruna Sep 4, 2016
a7803aa
Replace W_KATAR in the item database applicable entries
MishimaHaruna Sep 4, 2016
4d04e1b
Replace W_REVOLVER in the item database applicable entries
MishimaHaruna Sep 4, 2016
3ba1028
Replace W_RIFLE in the item database applicable entries
MishimaHaruna Sep 4, 2016
0f40dc3
Replace W_GATLING in the item database applicable entries
MishimaHaruna Sep 4, 2016
6d20606
Replace W_SHOTGUN in the item database applicable entries
MishimaHaruna Sep 4, 2016
8358139
Replace W_GRENADE in the item database applicable entries
MishimaHaruna Sep 4, 2016
4a13098
Replace W_HUUMA in the item database applicable entries
MishimaHaruna Sep 4, 2016
1ec84bd
Replace W_2HSTAFF in the item database applicable entries
MishimaHaruna Sep 4, 2016
611131c
Replace A_ARROW in the item database applicable entries
MishimaHaruna Sep 4, 2016
cdc3591
Replace A_DAGGER in the item database applicable entries
MishimaHaruna Sep 4, 2016
c431e0c
Replace A_BULLET in the item database applicable entries
MishimaHaruna Sep 4, 2016
f43603b
Replace A_GRENADE in the item database applicable entries
MishimaHaruna Sep 4, 2016
b03360b
Replace A_SHURIKEN in the item database applicable entries
MishimaHaruna Sep 4, 2016
bb08c54
Replace A_KUNAI in the item database applicable entries
MishimaHaruna Sep 4, 2016
4cdcc81
Replace A_CANNONBALL in the item database applicable entries
MishimaHaruna Sep 4, 2016
1ff0de4
Replace A_THROWWEAPON in the item database applicable entries
MishimaHaruna Sep 4, 2016
0057059
Reimplement getiteminfo/setiteminfo in a safer and more maintainable way
MishimaHaruna Sep 4, 2016
a98b2d9
Split 'View' in two different fields in the item database
MishimaHaruna Sep 4, 2016
8843fa5
Item DB SQL Update
MishimaHaruna Aug 22, 2017
a31f5f9
Update item DB (View -> Subtype)
MishimaHaruna Sep 4, 2016
513ccda
Update item DB (View -> ViewSprite)
MishimaHaruna Sep 4, 2016
c675ac5
Fix an error in an AegisName
MishimaHaruna Nov 28, 2016
9a7536d
Item DB SQL Update
MishimaHaruna Aug 22, 2017
a681d75
Differentiate variables that hold a ViewSprite and a weapon Subtype
MishimaHaruna Dec 3, 2016
20caa41
Differentiate variables that hold a ViewSprite and a Subtype (part 2)
MishimaHaruna Dec 3, 2016
2b5309e
Move other view-related variables to `sd->status.look`
MishimaHaruna Dec 3, 2016
e25ce3f
Added Constant SEX_ANY (2) for Male and Female genders.
AtlantisRO Mar 16, 2017
4099aa8
Replaced Number 0 in Gender for Constant "SEX_FEMALE" on item_db.conf
AtlantisRO Mar 16, 2017
146e86e
Replaced Number 0 in Type for Constant "IT_HEALING" on item_db.conf
AtlantisRO Mar 16, 2017
250ac82
Replaced Number 2 in Type for Constant "IT_USABLE" on item_db.conf
AtlantisRO Mar 16, 2017
710c04c
Removed type 3 values from pre-re/item_db.conf since type 3 (IT_ETC) …
AtlantisRO Mar 16, 2017
74e1248
Replaced Number 4 in Type for Constant "IT_WEAPON" on item_db.conf
AtlantisRO Mar 16, 2017
f77a553
Replaced Number 5 in Type for Constant "IT_ARMOR" on item_db.conf
AtlantisRO Mar 16, 2017
2e6081e
Replaced Number 6 in Type for Constant "IT_CARD" on item_db.conf
AtlantisRO Mar 16, 2017
f36705e
Replaced Number 7 in Type for Constant "IT_PETEGG" on item_db.conf
AtlantisRO Mar 16, 2017
1018c77
Replaced Number 8 in Type for Constant "IT_PETARMOR" on item_db.conf
AtlantisRO Mar 16, 2017
1603773
Replaced Number 10 in Type for Constant "IT_AMMO" on item_db.conf
AtlantisRO Mar 16, 2017
0cdf33d
Replaced Number 11 in Type for Constant "IT_DELAYCONSUME" on item_db.…
AtlantisRO Mar 16, 2017
0509b2e
Replaced Number 18 in Type for Constant "IT_CASH" on item_db.conf
AtlantisRO Mar 16, 2017
05d4281
Fixes wrong Type values on db\re\item_db.conf
AtlantisRO Mar 22, 2017
015f276
Item DB SQL Update
MishimaHaruna Aug 22, 2017
fd610ef
Add support for parsing arrays of constants as bitmasks in the item_db
MishimaHaruna Aug 21, 2017
39cbf60
HPM Hooks Update
MishimaHaruna Aug 21, 2017
3745f16
Fix a typo in the constant ITEMUPPER_THIRDUPPER
MishimaHaruna Aug 21, 2017
926cff0
Add support for bitmask arrays in the item_db Upper field
MishimaHaruna Aug 21, 2017
4ce566f
Replace 2 with "ITEMUPPER_UPPER" in the item_db Upper field
MishimaHaruna Aug 21, 2017
d1451e8
Replace 8 with "ITEMUPPER_THIRD" in the item_db Upper field
MishimaHaruna Aug 21, 2017
79a510d
Remove redundant 'Upper: 63' (ITEMUPPER_ALL) values from the item_db
MishimaHaruna Aug 21, 2017
f1503f6
Replace the recurring 'Upper: 58' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
5a0c108
Replace the recurring 'Upper: 56' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
05cedc9
Replace 1 with "ITEMUPPER_NORMAL" in the item_db Upper field
MishimaHaruna Aug 21, 2017
2b76ef7
Replace the recurring 'Upper: 47' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
a7a8efb
Replace the remaining numbers in the item_db Upper field with bitmask…
MishimaHaruna Aug 21, 2017
78a007d
Add support for bitmask arrays in the item_db Loc field
MishimaHaruna Aug 21, 2017
9314900
Replace 1 with "EQP_HEAD_LOW" in the item_db Loc field
MishimaHaruna Aug 21, 2017
9a15789
Replace 2 with "EQP_WEAPON" in the item_db Loc field
MishimaHaruna Aug 21, 2017
0c82a9a
Replace 4 with "EQP_GARMENT" in the item_db Loc field
MishimaHaruna Aug 21, 2017
f47f823
Replace 16 with "EQP_ARMOR" in the item_db Loc field
MishimaHaruna Aug 21, 2017
09c5dba
Replace 32 with "EQP_SHIELD" in the item_db Loc field
MishimaHaruna Aug 21, 2017
c1a0289
Replace 64 with "EQP_SHOES" in the item_db Loc field
MishimaHaruna Aug 21, 2017
e0f87b8
Replace 256 with "EQP_HEAD_TOP" in the item_db Loc field
MishimaHaruna Aug 21, 2017
c911b38
Replace 512 with "EQP_HEAD_MID" in the item_db Loc field
MishimaHaruna Aug 21, 2017
042acfe
Replace 1024 with "EQP_COSTUME_HEAD_TOP" in the item_db Loc field
MishimaHaruna Aug 21, 2017
1bf129f
Replace 2048 with "EQP_COSTUME_HEAD_MID" in the item_db Loc field
MishimaHaruna Aug 21, 2017
95b00bd
Replace 4096 with "EQP_COSTUME_HEAD_LOW" in the item_db Loc field
MishimaHaruna Aug 21, 2017
b32e8d7
Replace 8192 with "EQP_COSTUME_GARMENT" in the item_db Loc field
MishimaHaruna Aug 21, 2017
7b703f5
Replace 32768 with "EQP_AMMO" in the item_db Loc field
MishimaHaruna Aug 21, 2017
20e5f84
Replace 65536 with "EQP_SHADOW_ARMOR" in the item_db Loc field
MishimaHaruna Aug 21, 2017
da43c2a
Replace 131072 with "EQP_SHADOW_WEAPON" in the item_db Loc field
MishimaHaruna Aug 21, 2017
c802b78
Replace 262144 with EQP_SHADOW_SHIELD in the item_db Loc field
MishimaHaruna Aug 21, 2017
9694ecc
Replace 524288 with EQP_SHADOW_SHOES in the item_db Loc field
MishimaHaruna Aug 21, 2017
8a2352f
Replace 1048576 with EQP_SHADOW_ACC_R in the item_db Loc field
MishimaHaruna Aug 21, 2017
cb4c234
Replace 2097152 with EQP_SHADOW_ACC_L in the item_db Loc field
MishimaHaruna Aug 21, 2017
abe10bf
Replace recurring value 43 with "EQP_ARMS" in the item_db Loc field
MishimaHaruna Aug 21, 2017
98bf5a5
Replace recurring value 136 with "EQP_ACC" in the item_db Loc field
MishimaHaruna Aug 21, 2017
e203b69
Replace the recurring 'Loc: 257' value in the item_db with a bitmask …
MishimaHaruna Aug 21, 2017
b6a220f
Replace the recurring 'Loc: 513' value in the item_db with a bitmask …
MishimaHaruna Aug 21, 2017
f644db3
Replace the recurring 'Loc: 768' value in the item_db with a bitmask …
MishimaHaruna Aug 21, 2017
f92bdce
Replace the recurring 'Loc: 769' value in the item_db with a bitmask …
MishimaHaruna Aug 21, 2017
37756b5
Replace the recurring 'Loc: 3072' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
dbf92ff
Replace the recurring 'Loc: 5120' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
776a33b
Replace the recurring 'Loc: 6144' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
ed19d99
Replace the recurring 'Loc: 7168' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
a966739
Replace the recurring 'Loc: 1023' value in the item_db with a bitmask…
MishimaHaruna Aug 21, 2017
5e23e50
Add a FIXME comment next to an unknown 'Loc: 16384' value in the item_db
MishimaHaruna Aug 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions db/constants.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3772,14 +3772,14 @@ constants_db: {
UNITTYPE_HOM: 4
UNITTYPE_MER: 5
UNITTYPE_ELEM: 6

comment__: "Unit AI Types"
AI_NONE: 0 //0: Normal mob.
AI_ATTACK: 1 //1: Standard summon, attacks mobs.
AI_SPHERE: 2 //2: Alchemist Marine Sphere
AI_FLORA: 3 //3: Alchemist Summon Flora
AI_ZANZOU: 4 //4: Summon Zanzou

comment__: "Colors"
C_AQUA: 0x00FFFF
C_BLACK: 0x000000
Expand All @@ -3804,8 +3804,9 @@ constants_db: {
C_VIOLET: 0xEE82EE

comment__: "Genders"
SEX_FEMALE: 0
SEX_MALE: 1
SEX_FEMALE: 0
SEX_MALE: 1
SEX_ANY: 2

comment__: "Script Unit Data Types"
UDT_TYPE: 0
Expand Down
59 changes: 30 additions & 29 deletions db/item_db2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,15 @@ item_db: (
Rebellion: true/false (boolean, defaults to false)
}
Job: Job mask (alternate format, int, defaults to all jobs = 0xFFFFFFFF)
Upper: Upper mask (int, defaults to any = 0x3f)
Upper: Upper mask (bitmask array, string or int, defaults to "ITEMUPPER_ALL")
Gender: Gender (int, defaults to both = 2)
Loc: Equip location (int, required value for equipment)
Loc: Equip location (bitmask array, string or int, required value for equipment)
WeaponLv: Weapon Level (int, defaults to 0)
EquipLv: Equip required level (int, defaults to 0)
EquipLv: [min, max] (alternative syntax with min / max level)
Refine: Refineable (boolean, defaults to true)
View: View ID (int, defaults to 0)
Subtype: Item Subtype (int, defaults to 0)
ViewSprite: Sprite view ID (int, defaults to 0)
BindOnEquip: true/false (boolean, defaults to false)
ForceSerial: true/false (boolean, defaults to false)
BuyingStore: true/false (boolean, defaults to false)
Expand Down Expand Up @@ -199,7 +200,7 @@ item_db: (
Type: 5
Buy: 20
Weight: 100
Loc: 136
Loc: "EQP_ACC"
Refine: false
Script: <" bonus bAllStats,3; ">
},
Expand All @@ -213,8 +214,8 @@ item_db: (
Buy: 20
Weight: 200
Def: 2
Loc: 256
View: 206
Loc: "EQP_HEAD_TOP"
ViewSprite: 206
Script: <" bonus2 bSubRace,RC_Demon,5; ">
},
*/
Expand All @@ -227,8 +228,8 @@ item_db: (
Buy: 20
Weight: 100
Def: 3
Loc: 256
View: 20
Loc: "EQP_HEAD_TOP"
ViewSprite: 20
Script: <"
bonus bMdef,1;
bonus bLuk,1;
Expand All @@ -245,8 +246,8 @@ item_db: (
Type: 5
Buy: 10
Weight: 100
Loc: 256
View: 89
Loc: "EQP_HEAD_TOP"
ViewSprite: 89
Script: <" bonus bAllStats,3; ">
},
*/
Expand All @@ -259,8 +260,8 @@ item_db: (
Buy: 0
Weight: 200
Def: 3
Loc: 256
View: 216
Loc: "EQP_HEAD_TOP"
ViewSprite: 216
Script: <" bonus2 bExpAddRace, RC_All, 50; ">
},
*/
Expand All @@ -273,8 +274,8 @@ item_db: (
Buy: 20
Weight: 300
Def: 3
Loc: 256
View: 144
Loc: "EQP_HEAD_TOP"
ViewSprite: 144
Script: <" bonus bAllStats,3; ">
},
*/
Expand All @@ -287,8 +288,8 @@ item_db: (
Buy: 20
Weight: 200
Def: 2
Loc: 256
View: 206
Loc: "EQP_HEAD_TOP"
ViewSprite: 206
Script: <"
bonus bAllStats,2;
bonus2 bSubRace,RC_Demon,5;
Expand All @@ -304,9 +305,9 @@ item_db: (
Type: 5
Buy: 20
Weight: 100
Loc: 1
Loc: "EQP_HEAD_LOW"
Refine: false
View: 49
ViewSprite: 49
Script: <"
bonus2 bResEff,Eff_Blind,3000;
bonus2 bAddMonsterDropItem,12130,30;
Expand All @@ -322,8 +323,8 @@ item_db: (
Buy: 20
Weight: 500
Def: 4
Loc: 256
View: 304
Loc: "EQP_HEAD_TOP"
ViewSprite: 304
Script: <" bonus bAllStats,2; ">
},
*/
Expand All @@ -336,8 +337,8 @@ item_db: (
Buy: 20
Weight: 200
Def: 2
Loc: 256
View: 206
Loc: "EQP_HEAD_TOP"
ViewSprite: 206
Script: <"
bonus bAllStats,2;
bonus2 bSubRace,RC_Demon,5;
Expand All @@ -354,9 +355,9 @@ item_db: (
Buy: 20
Weight: 100
Def: 5
Loc: 1
Loc: "EQP_HEAD_LOW"
Refine: false
View: 25
ViewSprite: 25
Script: <" bonus2 bSubRace,RC_Brute,5; ">
},
*/
Expand Down Expand Up @@ -547,7 +548,7 @@ item_db: (
Type: 5
Buy: 10
Def: 3
Loc: 136
Loc: "EQP_ACC"
Refine: false
Script: <"
bonus bAtkRate,3;
Expand All @@ -573,8 +574,8 @@ item_db: (
Type: 5
Buy: 20
Def: 5
Loc: 256
View: 206
Loc: "EQP_HEAD_TOP"
ViewSprite: 206
Script: <"
bonus bMdef,5;
bonus2 bAddMonsterDropItem,12192,2500;
Expand Down Expand Up @@ -613,7 +614,7 @@ item_db: (
All: true
Novice: false
}
Loc: 16
Loc: "EQP_ARMOR"
OnEquipScript: <" sc_start SC_WEDDING,-1,0; ">
OnUnequipScript: <" sc_end SC_WEDDING; ">
},
Expand All @@ -631,7 +632,7 @@ item_db: (
Novice: false
}
Gender: 1
Loc: 16
Loc: "EQP_ARMOR"
OnEquipScript: <" sc_start SC_WEDDING,-1,0; ">
OnUnequipScript: <" sc_end SC_WEDDING; ">
},
Expand Down
Loading