summaryrefslogtreecommitdiff
path: root/npc/012-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-07 11:15:53 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-07 11:15:53 -0300
commit00824b32e69a9c5c65778c620ae42be37104b134 (patch)
treec1bcdca11de02b4ab65b223474b50291024a02d1 /npc/012-7
parentecbc5b1f07235511392e21db1e3ee39c859649e9 (diff)
downloadserverdata-00824b32e69a9c5c65778c620ae42be37104b134.tar.gz
serverdata-00824b32e69a9c5c65778c620ae42be37104b134.tar.bz2
serverdata-00824b32e69a9c5c65778c620ae42be37104b134.tar.xz
serverdata-00824b32e69a9c5c65778c620ae42be37104b134.zip
Clean up this faulty machine from unused code
Diffstat (limited to 'npc/012-7')
-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;