From 00824b32e69a9c5c65778c620ae42be37104b134 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 7 Oct 2019 11:15:53 -0300 Subject: Clean up this faulty machine from unused code --- npc/012-7/slots.txt | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) (limited to 'npc/012-7') 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; -- cgit v1.2.3-70-g09d2