summaryrefslogtreecommitdiff
path: root/npc/018-3/evil-obelisk.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-3/evil-obelisk.txt')
-rw-r--r--npc/018-3/evil-obelisk.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/018-3/evil-obelisk.txt b/npc/018-3/evil-obelisk.txt
index df9c71b0..d9bce317 100644
--- a/npc/018-3/evil-obelisk.txt
+++ b/npc/018-3/evil-obelisk.txt
@@ -1,5 +1,17 @@
018-3,67,28,0 script Evil Obelisk NPC185,{
+ if (getq(Quest_Reapercry) == 3) {
+ mesc l("We've already seen such obelisk before... Do you want to sacrifice %d %s?", 10, getitemlink(Soul));
+ if (countitem(Soul) >= 10) {
+ next;
+ if (askyesno() == ASK_YES) {
+ delitem Soul, 10;
+ warp "099-7", 95, 31;
+ closeclientdialog;
+ close;
+ }
+ }
+ }
@map$ = "018-3";
@x0 = 56;
@y0 = 22;