summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-24 11:03:19 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-24 11:03:19 -0300
commitf61e8c4c062129dc17b7cad69c6a48f68f08b347 (patch)
tree9b12bdee9bed4ad745cfa992f65d60f2bdc64043 /npc
parentec5f42b08d328c9d67c0d521d6a096124a86b248 (diff)
downloadserverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.tar.gz
serverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.tar.bz2
serverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.tar.xz
serverdata-f61e8c4c062129dc17b7cad69c6a48f68f08b347.zip
Preparatives from client-data, but now server-sided
Diffstat (limited to 'npc')
-rw-r--r--npc/012-1/bot.txt5
-rw-r--r--npc/017-1/shops.txt2
2 files changed, 6 insertions, 1 deletions
diff --git a/npc/012-1/bot.txt b/npc/012-1/bot.txt
index 8f471bb34..1bd0bdbc4 100644
--- a/npc/012-1/bot.txt
+++ b/npc/012-1/bot.txt
@@ -3,9 +3,12 @@
// Jesusalva
// Description:
// Introduces the new area ingame
+// Quest:
+// TODO: Quest, requires 1× LOFCoin (obtain for free with Pyndragon)
+// Reward: Mouboo Figurine
012-1,82,59,0 script LOFBot NPC_PLAYER,{
- if (rand(1,5) % 2 == 1) {
+ if (rand2(1,5) % 2 == 1) {
mesn;
mesq l("Ah, @@ is sooo amazing!", $MOST_HEROIC$);
next;
diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt
index db1c611ce..64602bf32 100644
--- a/npc/017-1/shops.txt
+++ b/npc/017-1/shops.txt
@@ -22,6 +22,7 @@ OnInit:
.distance = 4;
tradertype(NST_MARKET);
+ sellitem LOFCoin, -1, 1;
sellitem YellowDye, -1, 1;
sellitem CottonCloth, -1, 3;
sellitem ArrowAmmoBox, -1, 5;
@@ -29,6 +30,7 @@ OnInit:
OnClock1250:
OnClock0112:
+ restoreshopitem LOFCoin, -1, 1;
restoreshopitem YellowDye, -1, 1;
restoreshopitem CottonCloth, -1, 3;
restoreshopitem ArrowAmmoBox, -1, 5;