summaryrefslogtreecommitdiff
path: root/npc/001-5/worker.txt
diff options
context:
space:
mode:
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;
+
+
+}
+
+