summaryrefslogtreecommitdiff
path: root/npc/001-5/worker.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-04-30 17:00:52 -0300
committerJesusaves <cpntb1@ymail.com>2018-04-30 17:00:52 -0300
commite32fda927b3d1530f987a4771065902b50e29389 (patch)
tree6cdb6ec2945f6e533527c164d468cc61ce81cd1f /npc/001-5/worker.txt
parentf17df0c88d81dd00ee3b76b3c3d1f3bc23e11003 (diff)
downloadserverdata-e32fda927b3d1530f987a4771065902b50e29389.tar.gz
serverdata-e32fda927b3d1530f987a4771065902b50e29389.tar.bz2
serverdata-e32fda927b3d1530f987a4771065902b50e29389.tar.xz
serverdata-e32fda927b3d1530f987a4771065902b50e29389.zip
Missing files for previous commit
Diffstat (limited to 'npc/001-5/worker.txt')
-rw-r--r--npc/001-5/worker.txt58
1 files changed, 58 insertions, 0 deletions
diff --git a/npc/001-5/worker.txt b/npc/001-5/worker.txt
new file mode 100644
index 000000000..8db90a582
--- /dev/null
+++ b/npc/001-5/worker.txt
@@ -0,0 +1,58 @@
+// TMW2 Script
+// Author: Jesusalva
+// Workers from Worker Day
+
+001-5,23,73,0 script Soren NPC_CONSTR_WORKER,{
+ mesn;
+ mesq l("You can get @@ anywhere, although here is a little easier to get.", getitemlink(Pearl));
+ next;
+ mesn;
+ mesq l("You can trade them for quite nice items with my friend over there.");
+ close;
+}
+
+001-5,75,69,0 script Simon NPC_CONSTR_WORKER,{
+ mesn;
+ mesq l("Hey dude. During this event you can trade one @@ for more... useful items.", getitemlink(Pearl));
+ if (countitem(Pearl) == 0)
+ close;
+ next;
+ select(
+ l("Nothing right now."),
+ l("5x Strange Coins"),
+ l("2x Snake Egg"),
+ l("1x Bronze Gift"),
+ l("800 GP"),
+ rif(countitem(Pearl) >= 2, l("Trade 2 Pearl for a Silver Gift")),
+ l("Nothing right now.")
+ );
+ switch (@menu) {
+ case 1:
+ delitem Pearl, 1;
+ getitem StrangeCoin, 5;
+ break;
+ case 2:
+ delitem Pearl, 1;
+ getitem SnakeEgg, 2;
+ break;
+ case 3:
+ delitem Pearl, 1;
+ getitem BronzeGift, 1;
+ break;
+ case 4:
+ delitem Pearl, 1;
+ Zeny=Zeny+800;
+ break;
+ case 5:
+ delitem Pearl, 2;
+ getitem SilverGift, 1;
+ break;
+
+ }
+
+ close;
+
+
+}
+
+