summaryrefslogtreecommitdiff
path: root/npc/020-1_Nivalis/KrickKrackKrock.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-1_Nivalis/KrickKrackKrock.txt')
-rwxr-xr-xnpc/020-1_Nivalis/KrickKrackKrock.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/020-1_Nivalis/KrickKrackKrock.txt b/npc/020-1_Nivalis/KrickKrackKrock.txt
index 2feb1d15..722847cd 100755
--- a/npc/020-1_Nivalis/KrickKrackKrock.txt
+++ b/npc/020-1_Nivalis/KrickKrackKrock.txt
@@ -17,7 +17,7 @@ L_Main:
mes @NPC_NAME$;
mes "\"Hello " + strcharinfo(0) + ", do you want to play Krick-Krack-Krock?\"";
L_Menu:
- menu
+ menu
"Let's start!", L_Start,
"What's this?", L_info,
"Well, not for the moment.", -;
@@ -68,13 +68,13 @@ L_Item:
getinventorylist;
if (@inventorylist_count == 100) goto L_Full_Inv;
-if( @BET > 50) getitem @ITEM_RAND[rand(1)], 1;
-if( @BET > 200) getitem @ITEM_RAND[1 + rand(1)], 1;
-if( @BET > 500) getitem @ITEM_RAND[2 + rand(1)], 1;
-if( @BET > 1000) getitem @ITEM_RAND[3 + rand(1)], 1;
-if( @BET > 1200) getitem @ITEM_RAND[4 + rand(1)], 1;
-if( @BET > 1500) getitem @ITEM_RAND[5 + rand(1)], 1;
-if( @BET == 2000) getitem @ITEM_RAND[6 + rand(1)], 1;
+ if( @BET > 50) getitem @ITEM_RAND[rand(1)], 1;
+ if( @BET > 200) getitem @ITEM_RAND[1 + rand(1)], 1;
+ if( @BET > 500) getitem @ITEM_RAND[2 + rand(1)], 1;
+ if( @BET > 1000) getitem @ITEM_RAND[3 + rand(1)], 1;
+ if( @BET > 1200) getitem @ITEM_RAND[4 + rand(1)], 1;
+ if( @BET > 1500) getitem @ITEM_RAND[5 + rand(1)], 1;
+ if( @BET == 2000) getitem @ITEM_RAND[6 + rand(1)], 1;
mes @NPC_NAME$;
mes "\"Here it is !\"";
close;
@@ -82,8 +82,8 @@ if( @BET == 2000) getitem @ITEM_RAND[6 + rand(1)], 1;
L_Health_item:
// health item
getinventorylist;
- if (@inventorylist_count == 100) goto L_Full_Inv
-
+ if (@inventorylist_count == 100) goto L_Full_Inv;
+
if( @BET > 50) getitem @ITEM_HEALTH[rand(1)], 1;
if( @BET > 200) getitem @ITEM_HEALTH[ 1 +rand(1)], 1 + rand(1);
if( @BET > 500) getitem @ITEM_HEALTH[2 + rand(1)], 1 + rand(3);