diff options
-rwxr-xr-x | npc/020-1_Nivalis/KrickKrackKrock.txt | 5 | ||||
-rwxr-xr-x | npc/020-1_Nivalis/rockscissor.txt | 12 | ||||
-rw-r--r-- | npc/020-2_Nivalis/_import.txt | 1 |
3 files changed, 12 insertions, 6 deletions
diff --git a/npc/020-1_Nivalis/KrickKrackKrock.txt b/npc/020-1_Nivalis/KrickKrackKrock.txt index e2f4746c..c35ed798 100755 --- a/npc/020-1_Nivalis/KrickKrackKrock.txt +++ b/npc/020-1_Nivalis/KrickKrackKrock.txt @@ -16,6 +16,7 @@ L_Main: mes @NPC_NAME$; mes "\"Hello " + strcharinfo(0) + ", do you want to play Krick-Krack-Krock?\""; +L_Menu: menu "Let's start!", L_Start, "What's this?", L_info, "Well, not for the moment.", -; @@ -104,6 +105,8 @@ L_No_Money: L_info: mes @NPC_NAME$; mes "\"Well, if you want to play Krick Krack Krock with me, you need to bet some money. We will both say a word (Krack, Krick or Krock). If we say the same, you can win the double of your money or an item worth of what you bet. \""; - goto L_Main; + next; + mes "\"So, do you want to play? \""; + goto L_Menu; } diff --git a/npc/020-1_Nivalis/rockscissor.txt b/npc/020-1_Nivalis/rockscissor.txt index db813518..ac46a773 100755 --- a/npc/020-1_Nivalis/rockscissor.txt +++ b/npc/020-1_Nivalis/rockscissor.txt @@ -52,8 +52,8 @@ L_Start: @CHOOSE_PC$[2], -; set @CHOSEN, @menu -1; - mes @CHOOSE_PC$[@CHOOSE_NPCID]; - mes strcharinfo(0)+" " + strcharinfo(0)+ ":" +@CHOOSE_PC$[@CHOSEN]; + mes "Gobmal: " + @CHOOSE_PC$[@CHOOSE_NPCID]; + mes strcharinfo(0)+" " + strcharinfo(0)+ ": " +@CHOOSE_PC$[@CHOSEN]; if(@CHOSEN == @CHOOSE_NPCID) goto L_Start; if(@CHOSEN == 0 && @CHOOSE_NPCID == 2) goto L_Lost; if(@CHOSEN == 1 && @CHOOSE_NPCID == 0) goto L_Lost; @@ -62,6 +62,8 @@ L_Win: set @PC_point, @PC_point + 1; set @gamblerun, @gamblerun + 1; mes "Oh no! I have lost."; + mes ""; + next; goto L_Start; L_poor: @@ -73,16 +75,18 @@ L_Lost: set @NPC_point, @NPC_point + 1; set @gamblerun, @gamblerun + 1; mes "I have won!"; + mes ""; + next; goto L_Start; L_finish: if(@PC_point > @NPC_point ) goto L_Won; mes @NPC_name$; - mes "\"Nice ! I have won, give your gp!\""; + mes "\"Nice! I have won, give me your gp!\""; close; L_Won: mes @NPC_name$; - mes "\"Here is my money\""; + mes "\"Here is my money.\""; set zeny, zeny + @MONEY_BET*2; close; } diff --git a/npc/020-2_Nivalis/_import.txt b/npc/020-2_Nivalis/_import.txt index 05c69004..04feb1ae 100644 --- a/npc/020-2_Nivalis/_import.txt +++ b/npc/020-2_Nivalis/_import.txt @@ -4,4 +4,3 @@ npc: npc/020-2_Nivalis/_warps.txt npc: npc/020-2_Nivalis/baktar.txt npc: npc/020-2_Nivalis/mapflags.txt npc: npc/020-2_Nivalis/shops.txt -npc: npc/020-2_Nivalis/taro.txt |