summaryrefslogtreecommitdiff
path: root/npc/007-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-17 23:52:34 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-17 23:52:34 -0300
commitc35966a7eb2466daeef18e469187cacab3a52b5c (patch)
tree173ed3b2b553c7a310d2b574a30e0cc236470caa /npc/007-1
parentb252c4e956b952d5fc4b3526aa6100ec3332a9d0 (diff)
downloadserverdata-c35966a7eb2466daeef18e469187cacab3a52b5c.tar.gz
serverdata-c35966a7eb2466daeef18e469187cacab3a52b5c.tar.bz2
serverdata-c35966a7eb2466daeef18e469187cacab3a52b5c.tar.xz
serverdata-c35966a7eb2466daeef18e469187cacab3a52b5c.zip
(Untested) Naem's Quest. You can now acquire the Miner Tank Top.
This tanktop will be the most powerful armor you can get "normally". Everything else relies on crafting.
Diffstat (limited to 'npc/007-1')
-rw-r--r--npc/007-1/naem.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/npc/007-1/naem.txt b/npc/007-1/naem.txt
index 2ad91cc8c..ed1f479d7 100644
--- a/npc/007-1/naem.txt
+++ b/npc/007-1/naem.txt
@@ -5,12 +5,50 @@
// Naem is... I'm not sure.
007-1,180,46,2 script Naem NPC_PLAYER,0,0,{
+ .@q = getq(MineQuest_Naem);
mesn;
mesq l("My name is Naem and I guard the tunnels in this direction. You shall not pass. Now leave.");
+ if (BaseLevel < 28)
+ close;
+ if (.@q < 2)
+ close;
+ if (.@q == 2) {
+ if (!checkbound(IcedBottle)) close;
+ next;
+ inventoryplace MinerTankTop, 1;
+ delitem IcedBottle, 1;
+ getitem MinerTankTop, 1;
+ getexp 440, 0;
+ setq MineQuest_Naem, 3;
+ mesn;
+ mesq l("Oh, %s, thanks! The tunnels behind me are very hot, this will help if I have to go inside them.", getitemlink(IcedBottle));
+ next;
+ mesn;
+ mesq l("You can have this %s as a token of gratitude. But no, you cannot pass, so keep going!", getitemlink(MinerTankTop));
+ close;
+ }
+ if (.@q > 3)
+ close;
+ next;
+ mesn;
+ mesq l("Actually, you look strong...ish. Still, maybe you can help me.");
+ next;
+ mesn;
+ mesq l("I need groceries. %d %s, %d %s, %d %s, %d %s and %d %s. Give it to my wife, Silvia.",
+ 7, Aquada,
+ 6, PiouLegs,
+ 3, Cheese,
+ 3, HalfCroconut,
+ 1, PurpleBlobime);
+ next;
+ mesn;
+ mesq l("You can collect croconuts by killing any tree with it. Then you can break it in half from the inventory screen.");
+ compareandsetq MineQuest_Naem, 0, 1;
close;
// TODO: If you walk past him having the requisite, warp
OnTouch:
+ npctalk3 l("Hey, I said NO ENTRY! Get moving!");
end;
OnInit: