From 705bd5c948b856513a560d085961e2dc2ebea224 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Thu, 16 Dec 2010 01:06:56 +0100 Subject: nivalis --- npc/020-1_Nivalis/KrickKrackKrock.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'npc/020-1_Nivalis') 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); -- cgit v1.2.3-70-g09d2