summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-08-31 16:40:06 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-08-31 16:40:06 +0000
commitcbe403636f83dcc23ce34094394e6265e5e093aa (patch)
tree9e7554d51194916e2a5f5579b65863cd900913f3 /npc
parent3751fdb7bc6392e782a38c2c195b075b90889cdf (diff)
downloadserverdata-cbe403636f83dcc23ce34094394e6265e5e093aa.tar.gz
serverdata-cbe403636f83dcc23ce34094394e6265e5e093aa.tar.bz2
serverdata-cbe403636f83dcc23ce34094394e6265e5e093aa.tar.xz
serverdata-cbe403636f83dcc23ce34094394e6265e5e093aa.zip
Some fixes
Diffstat (limited to 'npc')
-rw-r--r--npc/tulimshar/bank.txt17
-rw-r--r--npc/tulimshar/casino.txt12
2 files changed, 8 insertions, 21 deletions
diff --git a/npc/tulimshar/bank.txt b/npc/tulimshar/bank.txt
index 88ebe394..7cd4a2b3 100644
--- a/npc/tulimshar/bank.txt
+++ b/npc/tulimshar/bank.txt
@@ -1,16 +1 @@
-new_3-1.gat,27,73,0 script Banker 107,{
-mes "[Banker]";
-mes "Welcome to the bank!";
-mes "How can I help you?";
-next;
-menu "Deposite",L_Dep,"Withdraw",L_With,"Nevermind that",L_Nev;
-L_Dep:
- mes "Sorry, but were still moving inventory!";
- close;
-L_With:
- mes "Sorry, but were still moving inventory!";
- close;
-L_Nev:
- mes "Goodbye then";
- close;
-}
+new_3-1.gat,27,73,0 script Banker 107,{mes "[Banker]";mes "Welcome to the bank!";mes "How can I help you?";next;menu "Deposite",L_Dep,"Withdraw",L_With,"Nevermind that",L_Nev;L_Dep: mes "Sorry, but we're still moving inventory!"; close;L_With: mes "Sorry, but we're still moving inventory!"; close;L_Nev: mes "Goodbye then"; close;} \ No newline at end of file
diff --git a/npc/tulimshar/casino.txt b/npc/tulimshar/casino.txt
index 0dbb0a89..792c018f 100644
--- a/npc/tulimshar/casino.txt
+++ b/npc/tulimshar/casino.txt
@@ -1,6 +1,6 @@
// Warps room 1
new_8-1.gat,45,24 warp upstairs 0,2,new_8-1.gat,65,25
-new_8-1.gat,25,35 warp outside 0,2,new_3-1.gat,33,73
+new_8-1.gat,25,36 warp outside 0,2,new_3-1.gat,33,73
// Warps room 2
new_8-1.gat,64,25 warp downstairs 0,1,new_8-1.gat,42,25
new_8-1.gat,68,22 warp tocasino 2,0,new_8-1.gat,32,72
@@ -137,8 +137,8 @@ new_8-1.gat,28,63,0 script BlackJack 107,{
L_Yes:
if(countitem(503) < 5) goto L_NoCoin;
delitem 503,5;
- set @croupier,rand(4);
- set @croupier, croupier + 17;
+ set @croupier,rand(3);
+ set @croupier, croupier + 18;
set @player,rand(20);
set @player,@player+1;
@@ -153,8 +153,8 @@ L_Another:
set @card,@card+1;
set @player,@player+@card;
- mes "You got " + @player + " with your cards.";
- if (@player > 21) goto L_Lost;
+ if (@player > 21) goto L_Lost;
+ mes "You got " + @player + " with your cards.";
mes "Do you want another card?";
next;
@@ -177,5 +177,7 @@ L_NoCoin:
L_Lost:
mes "I'm sorry but you lost";
+ mes "You got " + @player + " with your cards.";
+ mes "I had " + @croupier + "";
close;
}