diff options
Diffstat (limited to 'npc/merchants/hair_dyer.txt')
-rw-r--r-- | npc/merchants/hair_dyer.txt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt index f1b72a2b7..db261c215 100644 --- a/npc/merchants/hair_dyer.txt +++ b/npc/merchants/hair_dyer.txt @@ -120,14 +120,14 @@ prt_in,243,168,4 script Jovovich 4_F_02,{ } switch(.@headpalette) { - case 1: delitem 976,1; break; //Lemon_Dyestuffs - case 2: delitem 978,1; break; //Violet_Dyestuffs - case 3: delitem 980,1; break; //Orange_Dyestuffs - case 4: delitem 979,1; break; //Darkgreen_Dyestuffs - case 5: delitem 981,1; break; //Cobaltblue_Dyestuffs - case 6: delitem 982,1; break; //White_Dyestuffs - case 7: delitem 983,1; break; //Black_Dyestuffs - case 8: delitem 975,1; break; //Scarlet_Dyestuffs + case 1: delitem Lemon_Dyestuffs,1; break; + case 2: delitem Cobaltblue_Dyestuffs,1; break; //Violet_Dyestuffs + case 3: delitem Orange_Dyestuffs,1; break; + case 4: delitem Darkgreen_Dyestuffs,1; break; + case 5: delitem Violet_Dyestuffs,1; break; //Cobaltblue_Dyestuffs + case 6: delitem White_Dyestuffs,1; break; + case 7: delitem Black_Dyestuffs,1; break; + case 8: delitem Scarlet_Dyestuffs,1; break; } Zeny -= 1000; setlook VAR_HEADPALETTE,.@headpalette; @@ -285,7 +285,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ next; } else { - if ((.@headpalette == 8) && (countitem(975) == 0)) { + if ((.@headpalette == 8) && (countitem(Scarlet_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -295,7 +295,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 1) && (countitem(976) == 0)) { + else if ((.@headpalette == 1) && (countitem(Lemon_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -305,7 +305,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 2) && (countitem(981) == 0)) { + else if ((.@headpalette == 2) && (countitem(Violet_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -315,7 +315,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 3) && (countitem(980) == 0)) { + else if ((.@headpalette == 3) && (countitem(Orange_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -325,7 +325,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 4) && (countitem(979) == 0)) { + else if ((.@headpalette == 4) && (countitem(Darkgreen_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -337,7 +337,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 5) && (countitem(978) == 0)) { + else if ((.@headpalette == 5) && (countitem(Cobaltblue_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -349,7 +349,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 6) && (countitem(982) == 0)) { + else if ((.@headpalette == 6) && (countitem(White_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -359,7 +359,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 7) && (countitem(983) == 0)) { + else if ((.@headpalette == 7) && (countitem(Black_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -379,14 +379,14 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - if (.@headpalette == 8) delitem 975,1; //Scarlet_Dyestuffs - else if (.@headpalette == 1) delitem 976,1; //Lemon_Dyestuffs - else if (.@headpalette == 2) delitem 981,1; //Violet_Dyestuffs - else if (.@headpalette == 3) delitem 980,1; //Orange_Dyestuffs - else if (.@headpalette == 4) delitem 979,1; //Darkgreen_Dyestuffs - else if (.@headpalette == 5) delitem 978,1; //Cobaltblue_Dyestuffs - else if (.@headpalette == 6) delitem 982,1; //White_Dyestuffs - else if (.@headpalette == 7) delitem 983,1; //Black_Dyestuffs + if (.@headpalette == 8) delitem Scarlet_Dyestuffs,1; + else if (.@headpalette == 1) delitem Lemon_Dyestuffs,1; + else if (.@headpalette == 2) delitem Violet_Dyestuffs,1; + else if (.@headpalette == 3) delitem Orange_Dyestuffs,1; + else if (.@headpalette == 4) delitem Darkgreen_Dyestuffs,1; + else if (.@headpalette == 5) delitem Cobaltblue_Dyestuffs,1; + else if (.@headpalette == 6) delitem White_Dyestuffs,1; + else if (.@headpalette == 7) delitem Black_Dyestuffs,1; Zeny -= 1000; setlook VAR_HEADPALETTE,.@headpalette; .@choose_success = 1; |