From fee0e560fd584ef469db60fdb00a63c171c2c093 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 22 Aug 2020 10:23:01 -0400 Subject: add card groups for dyes --- db/re/item_db.conf | 24 ++++++++++++++++++++++-- db/re/item_group.conf | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 2 deletions(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index e2154da9..63969f1c 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -37,7 +37,7 @@ item_db: ( AegisName: "Aegis_Name" (string) Name: "Item Name" (string) // ================ Optional fields =============================== - Type: Item Type (string, defaults to "IT_ETC") + Type: Item Type (string, defaults to "IT_ETC"; use "IT_VIRTUAL" for fake items) Buy: Buy Price (int, defaults to Sell * 2) Sell: Sell Price (int, defaults to Buy / 2) Weight: Item Weight (int, defaults to 0) @@ -155,7 +155,8 @@ item_db: ( 3200 3499 = Neck Armors 3500 3999 = Weapons 4000 4999 = Pets -5000 5999 = Cards +5000 5499 = Cards +5500 5999 = Card Groups (using item_group.conf) 6000 6999 = Bows 7000 7999 = Arrows 8000 8499 = LEGACY merge items, generic or usable @@ -5225,6 +5226,25 @@ item_db: ( Sell: 80 Loc: ["EQP_HEAD_TOP","EQP_HEAD_MID","EQP_SHOES","EQP_GARMENT","EQP_HEAD_LOW"] }, +// Card Groups (using item_group.conf) +{ + Id: 5500 + AegisName: "BasicSilkDyes" + Name: "Basic Silk Dyes" + Type: "IT_VIRTUAL" +}, +{ + Id: 5501 + AegisName: "ExtendedSilkDyes" + Name: "Extended Silk Dyes" + Type: "IT_VIRTUAL" +}, +{ + Id: 5502 + AegisName: "BasicCottonDyes" + Name: "Basic Cotton Dyes" + Type: "IT_VIRTUAL" +}, // Bows { Id: 6000 diff --git a/db/re/item_group.conf b/db/re/item_group.conf index e6351128..a1fffa25 100644 --- a/db/re/item_group.conf +++ b/db/re/item_group.conf @@ -17,3 +17,47 @@ ("Item_Name",Repeat_Count) ) */ + +BasicSilkDyes: ( + "PitchBlackSilkDye", + "ChocolateSilkDye", + "CrimsonSilkDye", +) + +ExtendedSilkDyes: ( + "PitchBlackSilkDye", + "ChocolateSilkDye", + "CrimsonSilkDye", + "TomatoSilkDye", + "GoldenrodSilkDye", + "SunflowerSilkDye", + "OliveSilkDye", + "SeaGreenSilkDye", + "MintSilkDye", + "MidnightBlueSilkDye", + "SlatBlueSilkDye", + "OrchidSilkDye", + "PinkiePinkSilkDye", +) + +BasicCottonDyes: ( + "BlackCottonDye", + "SilverCottonDye", + "CamelCottonDye", + "BrownCottonDye", + "OrangeCottonDye", + "DarkRedCottonDye", + "RedCottonDye", + "FuschiaCottonDye", + "PinkCottonDye", + "MauveCottonDye", + "PurpleCottonDye", + "NavyBlueCottonDye", + "BlueGrayCottonDye", + "BlueCottonDye", + "TealCottonDye", + "GreenCottonDye", + "LimeCottonDye", + "KhakiCottonDye", + "YellowCottonDye", +) -- cgit v1.2.3-60-g2f50 From 4e89f73db9909a9a247c00f7c97a578552612c66 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 22 Aug 2020 10:30:48 -0400 Subject: update items to use dye groups --- db/re/item_db.conf | 308 ++++------------------------------------------------- 1 file changed, 18 insertions(+), 290 deletions(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 63969f1c..1dce23e9 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2345,9 +2345,7 @@ item_db: ( ViewSprite: 1301 BindOnEquip: false AllowCards: { - id5000: 1 - id5001: 1 - id5002: 1 + id5500: 1 // BasicSilkDyes } }, { @@ -2367,25 +2365,7 @@ item_db: ( ViewSprite: 1302 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -2481,19 +2461,7 @@ item_db: ( bonus bMatk, 30; "> AllowCards: { - id5000: 1 - id5001: 1 - id5002: 1 - id5034: 1 - id5035: 1 - id5036: 1 - id5037: 1 - id5038: 1 - id5039: 1 - id5040: 1 - id5041: 1 - id5042: 1 - id5043: 1 + id5501: 1 // ExtendedSilkDyes } }, { @@ -2513,25 +2481,7 @@ item_db: ( ViewSprite: 1308 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -2619,25 +2569,7 @@ item_db: ( ViewSprite: 1312 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -2725,25 +2657,7 @@ item_db: ( ViewSprite: 1317 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -2884,25 +2798,7 @@ item_db: ( ViewSprite: 1801 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -3050,19 +2946,7 @@ item_db: ( BindOnEquip: false BuyingStore: true AllowCards: { - id5000: 1 - id5001: 1 - id5002: 1 - id5034: 1 - id5035: 1 - id5036: 1 - id5037: 1 - id5038: 1 - id5039: 1 - id5040: 1 - id5041: 1 - id5042: 1 - id5043: 1 + id5501: 1 // ExtendedSilkDyes } }, { @@ -3153,25 +3037,7 @@ item_db: ( ViewSprite: 2003 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -3278,19 +3144,7 @@ item_db: ( ViewSprite: 2009 BindOnEquip: false AllowCards: { - id5000: 1 - id5001: 1 - id5002: 1 - id5034: 1 - id5035: 1 - id5036: 1 - id5037: 1 - id5038: 1 - id5039: 1 - id5040: 1 - id5041: 1 - id5042: 1 - id5043: 1 + id5501: 1 // ExtendedSilkDyes } }, @@ -3366,19 +3220,7 @@ item_db: ( ViewSprite: 2203 BindOnEquip: false AllowCards: { - id5000: 1 - id5001: 1 - id5002: 1 - id5034: 1 - id5035: 1 - id5036: 1 - id5037: 1 - id5038: 1 - id5039: 1 - id5040: 1 - id5041: 1 - id5042: 1 - id5043: 1 + id5501: 1 // ExtendedSilkDyes } }, { @@ -3398,25 +3240,7 @@ item_db: ( ViewSprite: 2204 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -4047,25 +3871,7 @@ item_db: ( noselltonpc: true } AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -4151,25 +3957,7 @@ item_db: ( ViewSprite: 2926 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -4191,25 +3979,7 @@ item_db: ( ViewSprite: 2927 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -4256,19 +4026,7 @@ item_db: ( ViewSprite: 2929 BindOnEquip: false AllowCards: { - id5000: 1 - id5001: 1 - id5002: 1 - id5034: 1 - id5035: 1 - id5036: 1 - id5037: 1 - id5038: 1 - id5039: 1 - id5040: 1 - id5041: 1 - id5042: 1 - id5043: 1 + id5501: 1 // ExtendedSilkDyes } }, { @@ -4290,25 +4048,7 @@ item_db: ( ViewSprite: 2930 BindOnEquip: false AllowCards: { - id5003: 1 - id5004: 1 - id5005: 1 - id5006: 1 - id5007: 1 - id5008: 1 - id5009: 1 - id5010: 1 - id5011: 1 - id5012: 1 - id5013: 1 - id5014: 1 - id5015: 1 - id5016: 1 - id5017: 1 - id5018: 1 - id5019: 1 - id5020: 1 - id5021: 1 + id5502: 1 // BasicCottonDyes } }, { @@ -4368,19 +4108,7 @@ item_db: ( ViewSprite: 2933 BindOnEquip: false AllowCards: { - id5000: 1 - id5001: 1 - id5002: 1 - id5034: 1 - id5035: 1 - id5036: 1 - id5037: 1 - id5038: 1 - id5039: 1 - id5040: 1 - id5041: 1 - id5042: 1 - id5043: 1 + id5501: 1 // ExtendedSilkDyes } }, -- cgit v1.2.3-60-g2f50