summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-08-22 01:17:54 +0200
committerHaru <haru@dotalux.com>2017-09-17 17:49:04 +0200
commitb6a220fe86ddc6a270fa0bb758e672f25eb1fde3 (patch)
tree4c320d90ba29799d51699786cf6b80b90c3d11f6 /db
parente203b690c0c42d349da85ec978efb0934dd22029 (diff)
downloadhercules-b6a220fe86ddc6a270fa0bb758e672f25eb1fde3.tar.gz
hercules-b6a220fe86ddc6a270fa0bb758e672f25eb1fde3.tar.bz2
hercules-b6a220fe86ddc6a270fa0bb758e672f25eb1fde3.tar.xz
hercules-b6a220fe86ddc6a270fa0bb758e672f25eb1fde3.zip
Replace the recurring 'Loc: 513' value in the item_db with a bitmask array
Equivalent: `["EQP_HEAD_LOW", "EQP_HEAD_MID"]` Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'db')
-rw-r--r--db/pre-re/item_db.conf50
-rw-r--r--db/re/item_db.conf68
2 files changed, 59 insertions, 59 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index 48e2a7979..505e7b2a4 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -21921,7 +21921,7 @@ item_db: (
Buy: 60
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 65
},
@@ -21961,7 +21961,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 68
},
@@ -22064,7 +22064,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 75
},
@@ -22121,7 +22121,7 @@ item_db: (
Blacksmith: true
Alchemist: true
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 79
@@ -22197,7 +22197,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 84
},
@@ -37142,7 +37142,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 91
Script: <" bonus2 bResEff,Eff_Poison,3000; ">
@@ -38394,7 +38394,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 170
Script: <" bonus2 bResEff,Eff_Blind,5000; ">
@@ -38407,7 +38407,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 171
},
@@ -38419,7 +38419,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 172
},
@@ -38431,7 +38431,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 173
},
@@ -38443,7 +38443,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 174
},
@@ -39891,7 +39891,7 @@ item_db: (
Buy: 30000
Weight: 100
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 230
@@ -40297,7 +40297,7 @@ item_db: (
Buy: 20
Weight: 200
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 253
Script: <" bonus bSpeedRate,25; ">
@@ -41743,7 +41743,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 253
Script: <" bonus3 bAutoSpell,SM_PROVOKE,5,50; ">
@@ -42537,7 +42537,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 336
@@ -42856,7 +42856,7 @@ item_db: (
Name: "Loki Mask"
Type: "IT_ARMOR"
Weight: 200
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 20
Refine: false
ViewSprite: 346
@@ -45543,7 +45543,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 472
},
@@ -45693,7 +45693,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 480
@@ -46667,7 +46667,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 70
Refine: false
ViewSprite: 403
@@ -47268,7 +47268,7 @@ item_db: (
Name: "Dragon Arhat Mask"
Type: "IT_ARMOR"
Def: 5
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 1
Refine: false
ViewSprite: 545
@@ -47290,7 +47290,7 @@ item_db: (
Name: "Tiger Arhat Mask"
Type: "IT_ARMOR"
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 1
Refine: false
ViewSprite: 546
@@ -47965,7 +47965,7 @@ item_db: (
Buy: 20
Weight: 300
Slots: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 530
@@ -50614,7 +50614,7 @@ item_db: (
Assassin: true
}
Upper: "ITEMUPPER_THIRD"
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 100
ViewSprite: 632
Script: <"
@@ -51143,7 +51143,7 @@ item_db: (
Type: "IT_ARMOR"
Buy: 20
Weight: 100
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 666
@@ -51172,7 +51172,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 3
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 667
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 0542a089d..a9de6cdf9 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -27450,7 +27450,7 @@ item_db: (
Buy: 60
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 65
},
@@ -27490,7 +27490,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 68
},
@@ -27594,7 +27594,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 75
},
@@ -27651,7 +27651,7 @@ item_db: (
Blacksmith: true
Alchemist: true
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 79
@@ -27727,7 +27727,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 84
},
@@ -52851,7 +52851,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 91
Script: <" bonus2 bResEff,Eff_Poison,3000; ">
@@ -54095,7 +54095,7 @@ item_db: (
All: true
Novice: false
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 170
Script: <" bonus2 bResEff,Eff_Blind,5000; ">
@@ -54108,7 +54108,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 171
},
@@ -54120,7 +54120,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 172
},
@@ -54132,7 +54132,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 173
},
@@ -54144,7 +54144,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 174
},
@@ -55626,7 +55626,7 @@ item_db: (
Buy: 30000
Weight: 100
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 230
@@ -56037,7 +56037,7 @@ item_db: (
Buy: 20
Weight: 200
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 253
Script: <" bonus bSpeedRate,25; ">
@@ -57266,7 +57266,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 253
Script: <" bonus3 bAutoSpell,SM_PROVOKE,5,50; ">
@@ -58044,7 +58044,7 @@ item_db: (
Type: "IT_ARMOR"
Buy: 20
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 336
@@ -58436,7 +58436,7 @@ item_db: (
Type: "IT_ARMOR"
Weight: 200
Def: 2
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 20
Refine: false
ViewSprite: 346
@@ -60985,7 +60985,7 @@ item_db: (
Type: "IT_ARMOR"
Buy: 20
Weight: 100
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 472
},
@@ -61113,7 +61113,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 480
Trade: {
@@ -61985,7 +61985,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 70
Refine: false
ViewSprite: 403
@@ -62549,7 +62549,7 @@ item_db: (
Type: "IT_ARMOR"
Buy: 40000
Def: 5
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 545
Script: <" bonus2 bAddRace,RC_DemiPlayer,10; ">
@@ -62561,7 +62561,7 @@ item_db: (
Type: "IT_ARMOR"
Buy: 40000
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
Refine: false
ViewSprite: 546
Script: <" bonus2 bAddRace,RC_DemiPlayer,2; ">
@@ -63226,7 +63226,7 @@ item_db: (
Buy: 20
Weight: 300
Slots: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 530
@@ -65758,7 +65758,7 @@ item_db: (
Assassin: true
}
Upper: ["ITEMUPPER_THIRD", "ITEMUPPER_THIRDUPPER", "ITEMUPPER_THIRDBABY"]
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 100
Refine: false
ViewSprite: 632
@@ -66380,7 +66380,7 @@ item_db: (
Type: "IT_ARMOR"
Buy: 20
Weight: 100
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 666
@@ -66423,7 +66423,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 3
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 667
@@ -131319,7 +131319,7 @@ item_db: (
Buy: 20
Weight: 700
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 689
@@ -131425,7 +131425,7 @@ item_db: (
Type: "IT_ARMOR"
Buy: 20
Weight: 100
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 693
@@ -131580,7 +131580,7 @@ item_db: (
Buy: 20
Weight: 1000
Def: 3
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 10
Refine: false
ViewSprite: 714
@@ -132583,7 +132583,7 @@ item_db: (
Buy: 10
Weight: 30
Slots: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 782
@@ -132618,7 +132618,7 @@ item_db: (
Buy: 20
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 30
Refine: false
ViewSprite: 767
@@ -133318,7 +133318,7 @@ item_db: (
Buy: 10
Weight: 100
Def: 1
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
ViewSprite: 802
},
{
@@ -135372,7 +135372,7 @@ item_db: (
Blacksmith: true
Alchemist: true
}
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
Refine: false
ViewSprite: 79
@@ -135575,7 +135575,7 @@ item_db: (
Buy: 20
Weight: 200
Def: 5
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 50
ViewSprite: 336
Script: <"
@@ -136233,7 +136233,7 @@ item_db: (
Name: "Mask Of Bankrupt"
Type: "IT_ARMOR"
Weight: 490
- Loc: 513
+ Loc: ["EQP_HEAD_LOW", "EQP_HEAD_MID"]
EquipLv: 49
Refine: false
ViewSprite: 936