summaryrefslogtreecommitdiff
path: root/npc/020-1_Nivalis
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2010-12-15 18:40:11 +0100
committerStefan Beller <stefanbeller@googlemail.com>2010-12-15 18:40:11 +0100
commit70ea12a375c8bb69cc3d645aba0463c5653f5327 (patch)
tree08abc20201a226e2ddd56a8ce41005a12934fae0 /npc/020-1_Nivalis
parent7627d41a035a1bcee94a063e96e201f7c0402757 (diff)
downloadserverdata-70ea12a375c8bb69cc3d645aba0463c5653f5327.tar.gz
serverdata-70ea12a375c8bb69cc3d645aba0463c5653f5327.tar.bz2
serverdata-70ea12a375c8bb69cc3d645aba0463c5653f5327.tar.xz
serverdata-70ea12a375c8bb69cc3d645aba0463c5653f5327.zip
minor npc fixes nivalis
Diffstat (limited to 'npc/020-1_Nivalis')
-rwxr-xr-xnpc/020-1_Nivalis/KrickKrackKrock.txt5
-rwxr-xr-xnpc/020-1_Nivalis/rockscissor.txt12
2 files changed, 12 insertions, 5 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;
}