From 5b09b447d3497bd925a865dfb0c81c8966f9e3c9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Dec 2018 21:22:41 -0200 Subject: Rewrite Slot Machines --- npc/017-3/slots.txt | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'npc/017-3') diff --git a/npc/017-3/slots.txt b/npc/017-3/slots.txt index ae74cd9e0..d77761d72 100644 --- a/npc/017-3/slots.txt +++ b/npc/017-3/slots.txt @@ -42,7 +42,6 @@ L_Menu: menu rif(countitem(CasinoCoins) >= 2, l("Spin!")), L_Spin, l("Prizes"), L_Info, - l("Trade"), L_Trade, l("Leave"), L_Quit; L_Info: @@ -101,37 +100,14 @@ L_Spin: next; goto L_Menu; -L_Trade: - openshop; - closedialog; - close; - L_Quit: close; OnInit: .sex = G_OTHER; .distance = 4; - tradertype(NST_CUSTOM); - - sellitem WoodenSword, 940; - sellitem JeansShorts, 820; - sellitem ElixirOfLife, 150; - sellitem PoisonArrow, 30; - sellitem StrangeCoin, 5; end; -OnCountFunds: - setcurrency(countitem(CasinoCoins)); - end; - -OnPayFunds: - if( countitem(CasinoCoins) < @price ) - end; - delitem CasinoCoins,@price; - purchaseok(); - end; - } -- cgit v1.2.3-70-g09d2