summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 21:22:41 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 21:22:41 -0200
commit5b09b447d3497bd925a865dfb0c81c8966f9e3c9 (patch)
tree9bb4cdd53ed980538aed3710bb0b3bdd9a2725b6 /npc
parent6d1caada82d507e2fdb2156d180305fdbf656cc3 (diff)
downloadserverdata-5b09b447d3497bd925a865dfb0c81c8966f9e3c9.tar.gz
serverdata-5b09b447d3497bd925a865dfb0c81c8966f9e3c9.tar.bz2
serverdata-5b09b447d3497bd925a865dfb0c81c8966f9e3c9.tar.xz
serverdata-5b09b447d3497bd925a865dfb0c81c8966f9e3c9.zip
Rewrite Slot Machines
Diffstat (limited to 'npc')
-rw-r--r--npc/003-10/slots.txt2
-rw-r--r--npc/017-3/slots.txt24
2 files changed, 1 insertions, 25 deletions
diff --git a/npc/003-10/slots.txt b/npc/003-10/slots.txt
index bed1027b0..1a1d5e6f4 100644
--- a/npc/003-10/slots.txt
+++ b/npc/003-10/slots.txt
@@ -95,7 +95,7 @@ OnInit:
.distance = 4;
tradertype(NST_CUSTOM);
- sellitem WoodenSword, 940;
+ sellitem MercBoxA, 940;
sellitem JeansShorts, 820;
sellitem ElixirOfLife, 150;
sellitem PoisonArrow, 30;
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;
-
}