diff options
Diffstat (limited to 'world/map/npc/020-2')
-rw-r--r-- | world/map/npc/020-2/_mobs.txt | 3 | ||||
-rw-r--r-- | world/map/npc/020-2/baktar.txt | 99 | ||||
-rw-r--r-- | world/map/npc/020-2/banker.txt | 6 | ||||
-rw-r--r-- | world/map/npc/020-2/furquest.txt | 4 | ||||
-rw-r--r-- | world/map/npc/020-2/shops.txt | 6 |
5 files changed, 62 insertions, 56 deletions
diff --git a/world/map/npc/020-2/_mobs.txt b/world/map/npc/020-2/_mobs.txt index 01a67c89..8d1af8c3 100644 --- a/world/map/npc/020-2/_mobs.txt +++ b/world/map/npc/020-2/_mobs.txt @@ -3,6 +3,7 @@ -020-2.gat,0,0,0|script|Mob020-2|-1,{ +020-2.gat,0,0,0|script|Mob020-2|-1, +{ end; } diff --git a/world/map/npc/020-2/baktar.txt b/world/map/npc/020-2/baktar.txt index c6603d43..2ac3cec6 100644 --- a/world/map/npc/020-2/baktar.txt +++ b/world/map/npc/020-2/baktar.txt @@ -31,7 +31,8 @@ //# bit 0 knows the name/location of the opponent //# bit 1 killed the ugly opponent //#========================= -020-2.gat,70,61,0|script|Baktar|191,{ +020-2.gat,70,61,0|script|Baktar|191, +{ set @npcname$, "[Baktar]"; set @Q_MASK, BYTE_0_MASK; @@ -98,7 +99,7 @@ L_KnowAlready: mes @npcname$; mes "\"I love Tulimshar's stuff. I'm collecting souvenirs from Tulimshar to help remind me of all the great times I had there. If you give me an interesting item from the area, I'll give you a nice reward. So, you have a new item?\""; goto L_startitem; -close; + close; L_exotic: mes @npcname$; @@ -183,76 +184,76 @@ L_NeverMind: L_DesertHat_Item: if(@Q_status & (1<<@BIT_DESERTHAT)) goto L_havealready; if (countitem("DesertHat") < 1) goto L_Noitem; - delitem "DesertHat", 1; - set Zeny, Zeny + @MONEY_DESERTHAT; - getexp @XP_DESERTHAT,0; - set @Q_status, @Q_status | (1<<@BIT_DESERTHAT); - callsub S_Update_Var; + delitem "DesertHat", 1; + set Zeny, Zeny + @MONEY_DESERTHAT; + getexp @XP_DESERTHAT,0; + set @Q_status, @Q_status | (1<<@BIT_DESERTHAT); + callsub S_Update_Var; close; L_DesertShirt_Item: if(@Q_status & (1<<@BIT_DESERTSHIRT)) goto L_havealready; if (countitem("DesertShirt") < 1) goto L_Noitem; - delitem "DesertShirt", 1; - set Zeny, Zeny + @MONEY_DESERTSHIRT; - getexp @XP_DESERTSHIRT,0; - set @Q_status, @Q_status | (1<<@BIT_DESERTSHIRT); - callsub S_Update_Var; + delitem "DesertShirt", 1; + set Zeny, Zeny + @MONEY_DESERTSHIRT; + getexp @XP_DESERTSHIRT,0; + set @Q_status, @Q_status | (1<<@BIT_DESERTSHIRT); + callsub S_Update_Var; close; L_SerfHat_Item: if(@Q_status & (1<<@BIT_SERFHAT)) goto L_havealready; if (countitem("SerfHat") < 1) goto L_Noitem; - delitem "SerfHat", 1; - set Zeny, Zeny + @MONEY_SERFHAT; - getexp @XP_SERFHAT,0; - set @Q_status, @Q_status | (1<<@BIT_SERFHAT); - callsub S_Update_Var; + delitem "SerfHat", 1; + set Zeny, Zeny + @MONEY_SERFHAT; + getexp @XP_SERFHAT,0; + set @Q_status, @Q_status | (1<<@BIT_SERFHAT); + callsub S_Update_Var; close; L_tongue_Item: if(@Q_status & (1<<@BIT_MS_TONGUE)) goto L_havealready; if (countitem("MountainSnakeTongue") < 1) goto L_Noitem; - delitem "MountainSnakeTongue", 1; - set Zeny, Zeny + @MONEY_MS_TONGUE; - getexp @XP_MS_TONGUE,0; - set @Q_status, @Q_status | (1<<@BIT_MS_TONGUE); - callsub S_Update_Var; -close; + delitem "MountainSnakeTongue", 1; + set Zeny, Zeny + @MONEY_MS_TONGUE; + getexp @XP_MS_TONGUE,0; + set @Q_status, @Q_status | (1<<@BIT_MS_TONGUE); + callsub S_Update_Var; + close; L_egg_Item: if(@Q_status & (1<<@BIT_MS_EGG)) goto L_havealready; if (countitem("MountainSnakeEgg") < 1) goto L_Noitem; - delitem "MountainSnakeEgg", 1; - set Zeny, Zeny + @MONEY_MS_EGG; - getexp @XP_MS_EGG,0; - set @Q_status, @Q_status | (1<<@BIT_MS_EGG); - callsub S_Update_Var; -close; + delitem "MountainSnakeEgg", 1; + set Zeny, Zeny + @MONEY_MS_EGG; + getexp @XP_MS_EGG,0; + set @Q_status, @Q_status | (1<<@BIT_MS_EGG); + callsub S_Update_Var; + close; L_skin_Item: if(@Q_status & (1<<@BIT_SNAKESKIN)) goto L_havealready; if (countitem("SnakeSkin") < 1) goto L_Noitem; - delitem "SnakeSkin", 1; - set Zeny, Zeny + @MONEY_SNAKESKIN; - getexp @XP_SNAKESKIN,0; - set @Q_status, @Q_status | (1<<@BIT_SNAKESKIN); - callsub S_Update_Var; -close; + delitem "SnakeSkin", 1; + set Zeny, Zeny + @MONEY_SNAKESKIN; + getexp @XP_SNAKESKIN,0; + set @Q_status, @Q_status | (1<<@BIT_SNAKESKIN); + callsub S_Update_Var; + close; L_BugLegItem: if(@Q_status & (1<<@BIT_BUGLEG)) goto L_havealready; if (countitem("BugLeg") < 1) goto L_Noitem; - delitem "BugLeg", 1; - set Zeny, Zeny + @MONEY_BUGLEG; - getexp @XP_BUGLEG,0; - set @Q_status, @Q_status | (1<<@BIT_BUGLEG); - callsub S_Update_Var; -close; + delitem "BugLeg", 1; + set Zeny, Zeny + @MONEY_BUGLEG; + getexp @XP_BUGLEG,0; + set @Q_status, @Q_status | (1<<@BIT_BUGLEG); + callsub S_Update_Var; + close; L_Noitem: mes @npcname$; mes "\"Well, if you happen to get items from Tulimshar, see me first before you sell anything.\""; -close; + close; L_havealready: mes @npcname$; mes "\"I already collected what you can offer me.\""; -close; + close; S_Update_Var: set QUEST_Nivalis_state, @@ -293,7 +294,7 @@ L_2_init: next; set @Q_status2, 1; callsub S_Update_Var2; -close; + close; L_2_talk1: mes @npcname$; @@ -313,7 +314,7 @@ L_2_talk1: mes "\"Ok.\""; set @Q_status2, 2; callsub S_Update_Var2; -close; + close; L_2_talk2: mes @npcname$; @@ -336,7 +337,7 @@ L_2_talk2: mes "\"I WANT YOU TO KILL THAT BASTARD!!\""; set @Q_status2, 3; callsub S_Update_Var2; -close; + close; L_2_talk3: menu "Ok, I am a professional in doing such things", L_2_professional, @@ -346,7 +347,7 @@ L_2_talk3: "Nevermind", -; mes @npcname$; mes "\"Get out of my way, prank!\""; -close; + close; L_2_professional: mes @npcname$; @@ -374,7 +375,7 @@ L_2_name: "They call me Mistakes. I am a professional killer as well. You heard about that business in the terranite cave?", -; mes @npcname$; mes "\"Alright, I see. Ok maybe I really need to calm down. Please leave me alone... I will try to calm down, ok?\""; -close; + close; S_Update_Var2: set QUEST_Nivalis_state, @@ -383,6 +384,6 @@ S_Update_Var2: set QUEST_Nivalis_state, (QUEST_Nivalis_state & ~(@Q_MASK2_BITS) | (@Q_status2_bits << @Q_SHIFT2_BITS)); -return; + return; } diff --git a/world/map/npc/020-2/banker.txt b/world/map/npc/020-2/banker.txt index 9bbdd86d..7fb3b511 100644 --- a/world/map/npc/020-2/banker.txt +++ b/world/map/npc/020-2/banker.txt @@ -1,11 +1,13 @@ -020-2.gat,122,64,0|script|Ben|193,{ +020-2.gat,122,64,0|script|Ben|193, +{ callfunc "ClearVariables"; set @npcname$, "Ben"; callfunc "Banker"; close; } -020-2.gat,127,63,0|script|Maria|190,{ +020-2.gat,127,63,0|script|Maria|190, +{ mes "[Maria]"; mes "\"Hello!"; mes "\"Isn't it great?\""; diff --git a/world/map/npc/020-2/furquest.txt b/world/map/npc/020-2/furquest.txt index 81bb245e..0f0b2957 100644 --- a/world/map/npc/020-2/furquest.txt +++ b/world/map/npc/020-2/furquest.txt @@ -3,8 +3,8 @@ //################################################################################# // Tulimshar Crafting Workshop - Agostine, The Legendary Tailor -020-2.gat,27,26,0|script|Agostine|137,{ - +020-2.gat,27,26,0|script|Agostine|137, +{ set @CUTFUR_EXP, 10; set @FINEDRESS_COTTON_CLOTHS, 20; set @FINEDRESS_GP, 20000; diff --git a/world/map/npc/020-2/shops.txt b/world/map/npc/020-2/shops.txt index 3cb03c7d..80399668 100644 --- a/world/map/npc/020-2/shops.txt +++ b/world/map/npc/020-2/shops.txt @@ -1,7 +1,8 @@ // Snow town shops // About the Area NPC -020-2.gat,75,28,0|script|Taylor|137,{ +020-2.gat,75,28,0|script|Taylor|137, +{ mes "[Taylor]"; mes "\"While it can be dangerous up here in Kaizei, I take comfort that Nivalis is not surrounded by the Yeti like Thermin is. What a weird town.\""; next; @@ -18,7 +19,8 @@ 020-2.gat,75,24,0|shop|Mede|103,CactusDrink :-1, CactusPotion :-1, IronPotion :-1, ConcentrationPotion :-1 // INN -020-2.gat,111,23,0|script|Kane|120,{ +020-2.gat,111,23,0|script|Kane|120, +{ set @npcname$, "Kane the Inn Keeper"; set @cost, 100; |