From f644db3fc954e2cd1e55b754c2371af21dbc4ae7 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 22 Aug 2017 01:18:57 +0200 Subject: Replace the recurring 'Loc: 768' value in the item_db with a bitmask array Equivalent: `["EQP_HEAD_TOP", "EQP_HEAD_MID"]` Signed-off-by: Haru --- db/pre-re/item_db.conf | 126 ++++++++++++++++++++++++------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) (limited to 'db/pre-re') diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf index 505e7b2a4..6ea32669c 100644 --- a/db/pre-re/item_db.conf +++ b/db/pre-re/item_db.conf @@ -21034,7 +21034,7 @@ item_db: ( Alchemist: true Bard: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 1 }, { @@ -21060,7 +21060,7 @@ item_db: ( Alchemist: true Bard: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 1 }, { @@ -37432,7 +37432,7 @@ item_db: ( Star_Gladiator: true Soul_Linker: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 138 Script: <" bonus bStr,3; @@ -38459,7 +38459,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 35 ViewSprite: 175 }, @@ -38475,7 +38475,7 @@ item_db: ( Priest: true Assassin: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 65 ViewSprite: 176 }, @@ -38492,7 +38492,7 @@ item_db: ( Priest: true Assassin: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 65 ViewSprite: 177 Script: <" bonus bMaxSP,100; "> @@ -38509,7 +38509,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 55 ViewSprite: 178 Script: <" @@ -38531,7 +38531,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 55 ViewSprite: 179 Script: <" @@ -38573,7 +38573,7 @@ item_db: ( Buy: 20 Weight: 400 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 Refine: false ViewSprite: 181 @@ -38905,7 +38905,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 70 ViewSprite: 200 Script: <" @@ -39086,7 +39086,7 @@ item_db: ( Star_Gladiator: true Soul_Linker: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 75 ViewSprite: 202 Script: <" @@ -39309,7 +39309,7 @@ item_db: ( Crusader: true Alchemist: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 ViewSprite: 213 Script: <" @@ -39425,7 +39425,7 @@ item_db: ( Weight: 200 Def: 4 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 220 Script: <" bonus bMdef,3; @@ -39441,7 +39441,7 @@ item_db: ( Buy: 20 Weight: 2000 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 1 ViewSprite: 221 Script: <" @@ -39767,7 +39767,7 @@ item_db: ( Weight: 500 Def: 4 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 40 ViewSprite: 223 Script: <" @@ -39912,7 +39912,7 @@ item_db: ( Weight: 500 Def: 5 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 40 ViewSprite: 231 Script: <" @@ -39977,7 +39977,7 @@ item_db: ( Rogue: true Alchemist: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 ViewSprite: 233 Script: <" bonus bStr,2; "> @@ -40325,7 +40325,7 @@ item_db: ( Buy: 20 Weight: 1000 Def: 3 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 261 Script: <" bonus bAllStats,1; @@ -40490,7 +40490,7 @@ item_db: ( Type: "IT_ARMOR" Weight: 200 Def: 3 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 1 ViewSprite: 268 Script: <" @@ -40694,7 +40694,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 35 ViewSprite: 175 Trade: { @@ -40716,7 +40716,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 55 ViewSprite: 178 Trade: { @@ -41222,7 +41222,7 @@ item_db: ( Weight: 800 Def: 2 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 287 Trade: { nodrop: true @@ -41468,7 +41468,7 @@ item_db: ( Buy: 20 Weight: 100 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 10 ViewSprite: 302 Script: <" @@ -41728,7 +41728,7 @@ item_db: ( Weight: 500 Def: 4 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 221 Script: <" bonus bMdef,3; @@ -41756,7 +41756,7 @@ item_db: ( Buy: 20 Weight: 100 Def: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 305 Script: <" bonus bSpeedRate,25; @@ -41773,7 +41773,7 @@ item_db: ( Buy: 20 Weight: 100 Def: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 306 Script: <" bonus bSpeedRate,25; @@ -41790,7 +41790,7 @@ item_db: ( Buy: 20 Weight: 100 Def: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 307 Script: <" bonus bSpeedRate,25; @@ -41807,7 +41807,7 @@ item_db: ( Buy: 20 Weight: 100 Def: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 308 Script: <" bonus bSpeedRate,25; @@ -42183,7 +42183,7 @@ item_db: ( Buy: 20 Weight: 2400 Def: 4 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] Refine: false ViewSprite: 138 Trade: { @@ -42237,7 +42237,7 @@ item_db: ( Weight: 100 Def: 1 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 307 Script: <" bonus2 bSubEle,Ele_Neutral,5; @@ -42516,7 +42516,7 @@ item_db: ( Weight: 100 Def: 3 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 335 Trade: { nodrop: true @@ -42776,7 +42776,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] Refine: false ViewSprite: 178 Script: <" @@ -43238,7 +43238,7 @@ item_db: ( Star_Gladiator: true Soul_Linker: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 138 Script: <" bonus bStr,3; @@ -43297,7 +43297,7 @@ item_db: ( Buy: 20 Weight: 200 Def: 10 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] Refine: false ViewSprite: 365 Trade: { @@ -43584,7 +43584,7 @@ item_db: ( Buy: 20 Weight: 300 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 377 Trade: { nodrop: true @@ -43628,7 +43628,7 @@ item_db: ( Weight: 300 Def: 2 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 379 Trade: { nodrop: true @@ -43669,7 +43669,7 @@ item_db: ( Weight: 900 Def: 5 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 381 Trade: { nodrop: true @@ -45556,7 +45556,7 @@ item_db: ( Buy: 20 Weight: 800 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 30 ViewSprite: 473 Trade: { @@ -45985,7 +45985,7 @@ item_db: ( All: true Novice: false } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 Refine: false ViewSprite: 490 @@ -46066,7 +46066,7 @@ item_db: ( Type: "IT_ARMOR" Weight: 500 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 1 ViewSprite: 491 Trade: { @@ -46110,7 +46110,7 @@ item_db: ( Buy: 20 Weight: 500 Def: 5 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 70 ViewSprite: 489 Trade: { @@ -46127,7 +46127,7 @@ item_db: ( Type: "IT_ARMOR" Weight: 500 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 ViewSprite: 492 Trade: { @@ -46241,7 +46241,7 @@ item_db: ( Weight: 200 Def: 5 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 30 ViewSprite: 508 Trade: { @@ -46416,7 +46416,7 @@ item_db: ( Type: "IT_ARMOR" Weight: 400 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 1 ViewSprite: 515 Script: <" @@ -46580,7 +46580,7 @@ item_db: ( Weight: 600 Def: 6 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 70 ViewSprite: 523 Trade: { @@ -46747,7 +46747,7 @@ item_db: ( Weight: 600 Def: 2 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 45 Refine: false ViewSprite: 528 @@ -47215,7 +47215,7 @@ item_db: ( Type: "IT_ARMOR" Weight: 500 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 45 Refine: false ViewSprite: 489 @@ -47249,7 +47249,7 @@ item_db: ( Weight: 300 Def: 3 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 85 ViewSprite: 544 Trade: { @@ -47338,7 +47338,7 @@ item_db: ( Weight: 1000 Def: 1 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 549 Script: <" bonus bInt,2; "> }, @@ -47524,7 +47524,7 @@ item_db: ( Weight: 300 Def: 2 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 70 ViewSprite: 558 Trade: { @@ -47655,7 +47655,7 @@ item_db: ( Weight: 400 Def: 1 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 1 ViewSprite: 564 }, @@ -47799,7 +47799,7 @@ item_db: ( Weight: 200 Def: 1 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 1 ViewSprite: 549 }, @@ -48665,7 +48665,7 @@ item_db: ( Crusader: true Alchemist: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 ViewSprite: 213 Script: <" bonus bVit,1; "> @@ -48680,7 +48680,7 @@ item_db: ( Buy: 20 Weight: 400 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 Refine: false ViewSprite: 181 @@ -48696,7 +48696,7 @@ item_db: ( Buy: 20 Weight: 100 Def: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 308 }, */ @@ -49060,7 +49060,7 @@ item_db: ( Weight: 100 Def: 1 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 30 ViewSprite: 598 Trade: { @@ -50001,7 +50001,7 @@ item_db: ( Crusader: true Alchemist: true } - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 ViewSprite: 213 Script: <" bonus bVit,1; "> @@ -50016,7 +50016,7 @@ item_db: ( Buy: 20 Weight: 400 Def: 2 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 50 Refine: false ViewSprite: 181 @@ -50032,7 +50032,7 @@ item_db: ( Buy: 20 Weight: 100 Def: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] ViewSprite: 308 }, */ @@ -50413,7 +50413,7 @@ item_db: ( Hunter: true } Upper: "ITEMUPPER_THIRD" - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 100 ViewSprite: 625 Script: <" @@ -50671,7 +50671,7 @@ item_db: ( Crusader: true } Upper: "ITEMUPPER_THIRD" - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 100 ViewSprite: 634 Script: <" @@ -51188,7 +51188,7 @@ item_db: ( Buy: 20 Weight: 500 Slots: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 45 ViewSprite: 610 }, @@ -52120,7 +52120,7 @@ item_db: ( Type: "IT_ARMOR" Buy: 20 Def: 1 - Loc: 768 + Loc: ["EQP_HEAD_TOP", "EQP_HEAD_MID"] EquipLv: 60 Refine: false ViewSprite: 138 -- cgit v1.2.3-70-g09d2