From 6f9c931efe5227b59b34939209b8bafd4d4e9c85 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Sat, 1 Feb 2020 16:20:25 +0100 Subject: [PATCH] Fixed wrong equip descriptions in refiners (#4581) Fixes #4577 Thanks to @reunite-ro and @Atemo --- npc/re/merchants/advanced_refiner.txt | 20 +++++++------- npc/re/merchants/blessed_refiner.txt | 20 +++++++------- npc/re/merchants/hd_refiner.txt | 40 +++++++++++++-------------- npc/re/merchants/refine.txt | 20 +++++++------- 4 files changed, 50 insertions(+), 50 deletions(-) diff --git a/npc/re/merchants/advanced_refiner.txt b/npc/re/merchants/advanced_refiner.txt index 38ab5dd66d..3257f00713 100644 --- a/npc/re/merchants/advanced_refiner.txt +++ b/npc/re/merchants/advanced_refiner.txt @@ -29,31 +29,31 @@ malangdo,221,174,6 script Holink#mal_cash 559,{ if (!getequipisequiped(.@part)) { mes "[Holink]"; switch(.@part) { - case 1: + case EQI_HEAD_TOP: mes "My teacher Aragam said meow~"; mes "There's no cure for stupidity..."; break; - case 2: + case EQI_ARMOR: mes "There's nothing to see here, meow!!"; break; - case 3: + case EQI_HAND_L: mes "Meow? What do you want me to do with this left hand...?"; break; - case 4: + case EQI_HAND_R: mes "Meow? What do you want me to do with this right hand...?"; break; - case 5: + case EQI_GARMENT: mes "Meow? You don't have anything on."; break; - case 6: + case EQI_SHOES: mes "Kyang~! Do not mess with my sensitive olfactory, meow~."; break; - case 7: - case 8: + case EQI_ACC_L: + case EQI_ACC_R: mes "Meow? Where is the accessory?"; break; - case 9: - case 10: + case EQI_HEAD_MID: + case EQI_HEAD_LOW: mes "Meow? You talking about the other head parts, meow?~"; break; } diff --git a/npc/re/merchants/blessed_refiner.txt b/npc/re/merchants/blessed_refiner.txt index 82d37c692b..3d4f9aa946 100644 --- a/npc/re/merchants/blessed_refiner.txt +++ b/npc/re/merchants/blessed_refiner.txt @@ -34,30 +34,30 @@ if (!getequipisequiped(.@part)) { mes "[Blacksmith Dister]"; switch(.@part) { - case 1: + case EQI_HEAD_TOP: mes "I'm a blacksmith, not a hairstylist."; break; - case 2: + case EQI_ARMOR: mes "With my hammer, I will make you a star of the sky."; break; - case 3: - case 4: + case EQI_HAND_L: + case EQI_HAND_R: mes "Making artificial hands is not my specialty."; break; - case 5: + case EQI_GARMENT: mes "Bring out the item so I can refine it!"; break; - case 6: + case EQI_SHOES: mes "Where is this weird smell coming from?"; break; - case 7: - case 8: + case EQI_ACC_L: + case EQI_ACC_R: mes "Where is the accessory?"; break; - case 9: + case EQI_HEAD_MID: mes "What do you want me to refine?"; break; - case 10: + case EQI_HEAD_LOW: mes "Huh? What do you want me to do?"; break; } diff --git a/npc/re/merchants/hd_refiner.txt b/npc/re/merchants/hd_refiner.txt index 4ea85c3e44..ed1160e1d2 100644 --- a/npc/re/merchants/hd_refiner.txt +++ b/npc/re/merchants/hd_refiner.txt @@ -34,30 +34,30 @@ if (!getequipisequiped(.@part)) { mes "[Blacksmith Mighty Hammer]"; switch(.@part) { - case 1: + case EQI_HEAD_TOP: mes "I'm a blacksmith, not a hairstylist."; break; - case 2: + case EQI_ARMOR: mes "With my hammer, I will make you a star of the sky."; break; - case 3: - case 4: + case EQI_HAND_L: + case EQI_HAND_R: mes "Making artificial hands is not my specialty."; break; - case 5: + case EQI_GARMENT: mes "Bring out the item so I can refine it!"; break; - case 6: + case EQI_SHOES: mes "Where is this foot odor coming from?"; break; - case 7: - case 8: + case EQI_ACC_L: + case EQI_ACC_R: mes "Where is the accessory?"; break; - case 9: + case EQI_HEAD_MID: mes "What do you want me to refine?"; break; - case 10: + case EQI_HEAD_LOW: mes "Huh? What do you want me to do?"; break; } @@ -171,30 +171,30 @@ lhz_in02,280,19,3 duplicate(MightyHammer) Mighty Hammer#lhz 826 if (!getequipisequiped(.@part)) { mes "[Basta]"; switch(.@part) { - case 1: + case EQI_HEAD_TOP: mes "Is your head an equipment?"; break; - case 2: + case EQI_ARMOR: mes "What do you want me to do?"; break; - case 3: - case 4: + case EQI_HAND_L: + case EQI_HAND_R: mes "Making artificial hands is not my specialty."; break; - case 5: + case EQI_GARMENT: mes "Do you even know what a robe is?"; break; - case 6: + case EQI_SHOES: mes "If you want to refine your feet, don't come to me, try running a marathon."; break; - case 7: - case 8: + case EQI_ACC_L: + case EQI_ACC_R: mes "Where is the accessory?"; break; - case 9: + case EQI_HEAD_MID: mes "Well... I don't see any equipment worth refining."; break; - case 10: + case EQI_HEAD_LOW: mes "I can't make you smart. Go see a school teacher for that."; break; } diff --git a/npc/re/merchants/refine.txt b/npc/re/merchants/refine.txt index 57972379d7..8fd70e3668 100644 --- a/npc/re/merchants/refine.txt +++ b/npc/re/merchants/refine.txt @@ -406,30 +406,30 @@ malangdo,224,172,6 script Clink#mal_normal 544,{ if (!getequipisequiped(.@part)) { mes "[Clink]"; switch(.@part) { - case 1: + case EQI_HEAD_TOP: mes "Dad said. There's no cure for stupidity..."; break; - case 2: + case EQI_ARMOR: mes "There's nothing to see here!!"; break; - case 3: + case EQI_HAND_L: mes "What an arrogant left hand this is!"; break; - case 4: + case EQI_HAND_R: mes "What an arrogant right hand this is!"; break; - case 5: + case EQI_GARMENT: mes "Get that dirty thing off my face!!"; break; - case 6: + case EQI_SHOES: mes "Kyaong~! Do not provoke me."; break; - case 7: - case 8: + case EQI_ACC_L: + case EQI_ACC_R: mes "Where is the accessory?"; break; - case 9: - case 10: + case EQI_HEAD_MID: + case EQI_HEAD_LOW: mes "Are you talking about the other head part?"; break; }