summaryrefslogtreecommitdiff
path: root/npc/014-5-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-09 15:11:44 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-09 15:11:44 -0300
commita5e5532c844b6ebbcffa7a5191d2641882ee170f (patch)
tree117cd1823ead1b09718623c68b3e0a3410715219 /npc/014-5-1
parenta89e7a98d00a53cb1352936639137aa44387b848 (diff)
downloadserverdata-a5e5532c844b6ebbcffa7a5191d2641882ee170f.tar.gz
serverdata-a5e5532c844b6ebbcffa7a5191d2641882ee170f.tar.bz2
serverdata-a5e5532c844b6ebbcffa7a5191d2641882ee170f.tar.xz
serverdata-a5e5532c844b6ebbcffa7a5191d2641882ee170f.zip
Sagratha's House - Initial version - debug version
Diffstat (limited to 'npc/014-5-1')
-rw-r--r--npc/014-5-1/_import.txt2
-rw-r--r--npc/014-5-1/objects.txt74
-rw-r--r--npc/014-5-1/sagratha.txt19
3 files changed, 95 insertions, 0 deletions
diff --git a/npc/014-5-1/_import.txt b/npc/014-5-1/_import.txt
index 488faeb05..16e214886 100644
--- a/npc/014-5-1/_import.txt
+++ b/npc/014-5-1/_import.txt
@@ -1,3 +1,5 @@
// 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",
+"npc/014-5-1/objects.txt",
+"npc/014-5-1/sagratha.txt",
diff --git a/npc/014-5-1/objects.txt b/npc/014-5-1/objects.txt
new file mode 100644
index 000000000..701adc605
--- /dev/null
+++ b/npc/014-5-1/objects.txt
@@ -0,0 +1,74 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Sagratha household items
+
+014-5-1,33,38,0 script Pan#Saggy NPC_NO_SPRITE,{
+ @qsagratha=@qsagratha|1;
+ mesn;
+ mesc l("The pan is empty, but it smells like fresh cookies.");
+ close;
+OnInit:
+ .distance=5;
+ disablenpc .name$;
+ end;
+}
+
+
+014-5-1,33,34,0 script Painting#Saggy NPC_NO_SPRITE,{
+ @qsagratha=@qsagratha|2;
+ mesn;
+ mesc l("Definitely not suspcious at all.");
+ if (@qsagratha >= 31) {
+ next;
+ mesn;
+ mesc l("Thinking well... There's something behind it! A secret door!");
+ }
+ close;
+OnInit:
+ .distance=5;
+ disablenpc .name$;
+ end;
+}
+
+
+014-5-1,29,37,0 script Fireplace#Saggy NPC_NO_SPRITE,{
+ @qsagratha=@qsagratha|4;
+ mesn;
+ mesc l("Some smoke still remains, but the fire seems to have died.");
+ close;
+OnInit:
+ .distance=5;
+ disablenpc .name$;
+ end;
+}
+
+
+
+
+014-5-1,29,39,0 script Book#Saggy NPC_NO_SPRITE,{
+ @qsagratha=@qsagratha|8;
+ mesn;
+ mesc l("Seems to be a recipe book about apple cookies.");
+ close;
+OnInit:
+ .distance=5;
+ disablenpc .name$;
+ end;
+}
+
+
+
+
+014-5-1,29,41,0 script Bed#Saggy NPC_NO_SPRITE,{
+ @qsagratha=@qsagratha|16;
+ mesn;
+ mesc l("Smells like mouboos.");
+ close;
+OnInit:
+ .distance=5;
+ disablenpc .name$;
+ end;
+}
+
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt
new file mode 100644
index 000000000..6511ce4b7
--- /dev/null
+++ b/npc/014-5-1/sagratha.txt
@@ -0,0 +1,19 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Sagratha
+
+014-5-1,33,37,0 script Sagratha NPC_SAMANTHA,{
+ goodbye; end;
+
+OnInit:
+ .distance=5;
+ npcsit;
+ end;
+
+OnInstanceInit:
+ disablenpc instance_npcname(.name$);
+ end;
+}
+