summaryrefslogtreecommitdiff
path: root/npc/003-9
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-9')
-rw-r--r--npc/003-9/gambler.txt29
1 files changed, 2 insertions, 27 deletions
diff --git a/npc/003-9/gambler.txt b/npc/003-9/gambler.txt
index dcd7e9f7c..31dad9f60 100644
--- a/npc/003-9/gambler.txt
+++ b/npc/003-9/gambler.txt
@@ -2,7 +2,7 @@
// Author:
// Jesusalva
// Description:
-// Tulimshar Inn Recepcionist
+// Tulimshar Inn Receptionist
003-9,42,123,0 script Gambler Master NPC_LOF_NOBLEMAN,{
mesn;
@@ -14,15 +14,12 @@
{
next;
select
- l("I want to turn over my Casino Coins."),
l("How does Gambling works?"),
l("How can I obtain casino coins?"),
l("Nothing, thanks.");
mes "";
switch (@menu) {
case 1:
- goto L_Trade;
- case 2:
mesn;
mesq l("You find a slot machine or another gambler, and make a bet!");
next;
@@ -35,7 +32,7 @@
mesn;
mesq l("If you're afraid of losing everything, then DEFINITELY do not gamble. %%2");
break;
- case 3:
+ case 2:
mesn;
mesq l("I dunno. I don't think they're sold anywhere.");
next;
@@ -49,31 +46,9 @@
} while (@menu != 4);
close;
-L_Trade:
- openshop;
- closedialog;
- close;
-
OnInit:
.sex = G_MALE;
.distance = 5;
- tradertype(NST_CUSTOM);
-
- sellitem MercBoxA, 940;
- sellitem JeansShorts, 820;
- sellitem ElixirOfLife, 150;
- sellitem PoisonArrow, 30;
end;
-
-OnCountFunds:
- setcurrency(countitem(CasinoCoins));
- end;
-
-OnPayFunds:
- if( countitem(CasinoCoins) < @price )
- end;
- delitem CasinoCoins,@price;
- purchaseok();
- end;
}