From b8922bb983435b0ba3794839dd753ad4d22b8711 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 9 May 2019 11:30:13 -0300 Subject: Sagratha hut :3 --- npc/014-5-1/_import.txt | 3 +++ npc/014-5-1/_warps.txt | 3 +++ npc/014-5/sagratha.txt | 16 +++++++++++++++- npc/_import.txt | 1 + 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 npc/014-5-1/_import.txt create mode 100644 npc/014-5-1/_warps.txt (limited to 'npc') diff --git a/npc/014-5-1/_import.txt b/npc/014-5-1/_import.txt new file mode 100644 index 000000000..488faeb05 --- /dev/null +++ b/npc/014-5-1/_import.txt @@ -0,0 +1,3 @@ +// Map 014-5-1: Forgotten Hut +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/014-5-1/_warps.txt", diff --git a/npc/014-5-1/_warps.txt b/npc/014-5-1/_warps.txt new file mode 100644 index 000000000..0d236b1c6 --- /dev/null +++ b/npc/014-5-1/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 014-5-1: Forgotten Hut warps +014-5-1,33,45,0 warp #014-5-1_33_45 0,0,014-5,122,138 diff --git a/npc/014-5/sagratha.txt b/npc/014-5/sagratha.txt index 54d601e38..be4704116 100644 --- a/npc/014-5/sagratha.txt +++ b/npc/014-5/sagratha.txt @@ -5,10 +5,11 @@ // Sagratha's House Door 014-5,122,137,0 script Sagratha Door NPC_HIDDEN,0,0,{ + .@q=getq(HurnscaldQuest_Sagratha); end; L_Magicless: - npctalk3 l("A mild magic barrier prevents you from entering."); + npctalk3 l("A light magic barrier prevents you from entering."); dispbottom l("If I only knew some magic..."); end; @@ -22,6 +23,13 @@ L_Lockpick: mes ""; if (@menu == 1) { + /* + if (getq(HurnscaldQuest_InjuriedMouboo) == 2)) { + mesn strcharinfo(0); + mesc l("Nobody answers."); + mes ""; + } + */ mesn l("Sagratha"); mesq l("No, I don't need monster repellent nor anything! Go away!"); close; @@ -75,9 +83,15 @@ L_Lockpick: } close; +L_Open: + warp "014-5-1", 33, 44; + dispbottom l("For some reason, the door was not locked today..."); + close; + OnTouch: if (!MAGIC_LVL) goto L_Magicless; goto L_Lockpick; + if (getq(HurnscaldQuest_InjuriedMouboo) == 3) goto L_Open; end; } diff --git a/npc/_import.txt b/npc/_import.txt index 6e071fd89..60c7b0381 100644 --- a/npc/_import.txt +++ b/npc/_import.txt @@ -82,6 +82,7 @@ @include "npc/014-2/_import.txt" @include "npc/014-3/_import.txt" @include "npc/014-4/_import.txt" +@include "npc/014-5-1/_import.txt" @include "npc/014-5/_import.txt" @include "npc/015-1/_import.txt" @include "npc/015-2/_import.txt" -- cgit v1.2.3-70-g09d2