diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2010-12-16 01:06:56 +0100 |
---|---|---|
committer | Stefan Beller <stefanbeller@googlemail.com> | 2010-12-16 01:06:56 +0100 |
commit | 705bd5c948b856513a560d085961e2dc2ebea224 (patch) | |
tree | f5ce6d66a4a59343c9eddd487f346f5d63bfa253 /npc/020-1_Nivalis | |
parent | f6e57121b237dd1f84e49885e99cfa18fe087ec5 (diff) | |
download | serverdata-705bd5c948b856513a560d085961e2dc2ebea224.tar.gz serverdata-705bd5c948b856513a560d085961e2dc2ebea224.tar.bz2 serverdata-705bd5c948b856513a560d085961e2dc2ebea224.tar.xz serverdata-705bd5c948b856513a560d085961e2dc2ebea224.zip |
nivalis
Diffstat (limited to 'npc/020-1_Nivalis')
-rwxr-xr-x | npc/020-1_Nivalis/KrickKrackKrock.txt | 20 |
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); |