summaryrefslogtreecommitdiff
path: root/npc/012-7/slots.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-7/slots.txt')
-rw-r--r--npc/012-7/slots.txt27
1 files changed, 4 insertions, 23 deletions
diff --git a/npc/012-7/slots.txt b/npc/012-7/slots.txt
index ee6ff506b..b3256a776 100644
--- a/npc/012-7/slots.txt
+++ b/npc/012-7/slots.txt
@@ -6,7 +6,7 @@
// Rare Reward: Paper Bag
012-7,53,31,0 script Slot Machine#012-7a NPC_SLOTMACHINE,{
- function symbol{
+ function symbol {
switch (getarg(0)) {
case 1:
mesn "%%A";
@@ -36,6 +36,7 @@
mesn "%%@";
break;
}
+ return;
}
L_Menu:
@@ -46,8 +47,8 @@ L_Menu:
menu
rif(countitem(CasinoCoins) >= 1, l("Spin!")), L_Spin,
l("Prizes"), L_Info,
- l("Trade"), L_Trade,
- l("Leave"), L_Quit;
+ l("Leave"), -;
+ close;
L_Info:
mes "";
@@ -86,29 +87,9 @@ L_Spin:
next;
goto L_Menu;
-L_Trade:
- openshop;
- closedialog;
- close;
-
-L_Quit:
- close;
-
OnInit:
.sex = G_OTHER;
.distance = 4;
- tradertype(NST_CUSTOM);
-
-
-OnCountFunds:
- setcurrency(countitem(CasinoCoins));
- end;
-
-OnPayFunds:
- if( countitem(CasinoCoins) < @price )
- end;
- delitem CasinoCoins,@price;
- purchaseok();
end;