summaryrefslogtreecommitdiff
path: root/npc/001-1
diff options
context:
space:
mode:
authorMicksha <ms-shaman@gmx.de>2020-05-07 14:58:56 +0000
committerMicksha <ms-shaman@gmx.de>2020-05-07 14:58:56 +0000
commit976171f0e53a9818cfbe1ce727b0e4f6c0b8762a (patch)
tree1e5f4b0968d403bf67eb96196e06a5b84062a049 /npc/001-1
parent6e464f619de5aad2b14455dfd993f8081008e268 (diff)
parent7fa4a1e41d43f3da04ffe8fbeba1498ab96385b9 (diff)
downloadserverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.tar.gz
serverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.tar.bz2
serverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.tar.xz
serverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.zip
Merge branch 'jesusalva/treasure' into 'master'
Treasure! Closes evol-all#75 See merge request evol/serverdata!240
Diffstat (limited to 'npc/001-1')
-rw-r--r--npc/001-1/enora.txt6
-rw-r--r--npc/001-1/qonan.txt5
2 files changed, 10 insertions, 1 deletions
diff --git a/npc/001-1/enora.txt b/npc/001-1/enora.txt
index e2e4064b..140f51b0 100644
--- a/npc/001-1/enora.txt
+++ b/npc/001-1/enora.txt
@@ -300,6 +300,8 @@
l("Only one more Fluffy to kill and it's done!");
return;
+ } else if (getq(ArtisQuests_Enora) == 10) {
+ inventoryplace TreasureKey, 1;
}
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
@@ -314,6 +316,10 @@
{
setq ArtisQuests_Enora, 11;
enora_reward(140, 500);
+ getitem TreasureKey, 1;
+ mesn;
+ mesq l("Also, here is a %s. If you find a Treasure Chest somewhere, you can open it with this!", getitemlink(TreasureKey));
+ next;
}
return;
diff --git a/npc/001-1/qonan.txt b/npc/001-1/qonan.txt
index 48b0c3f8..6805356a 100644
--- a/npc/001-1/qonan.txt
+++ b/npc/001-1/qonan.txt
@@ -60,6 +60,9 @@
l("You should check on the highest part of the cliff, I was hiding there."),
l("I hope to see you soon.");
getitem IronShovel, 1;
+ // For questlog
+ setq2 ArtisQuests_QOnan, .move__rand_x+any(-1,1);
+ setq3 ArtisQuests_QOnan, .move__rand_y+any(-1,1);
close;
case 2:
speech S_FIRST_BLANK_LINE | S_LAST_BLANK_LINE,
@@ -101,7 +104,7 @@ OnInit:
}
function script QOnanFoundItem {
- setq ArtisQuests_QOnan, 2;
+ setq ArtisQuests_QOnan, 2, 0, 0;
// getitem SmallChest, 1;
narrator S_FIRST_BLANK_LINE,
l("You found a small chest, surprisingly heavy for it's size."),