summaryrefslogtreecommitdiff
path: root/npc/018-6-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-30 14:47:53 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-30 14:47:53 -0300
commit88aaf2154475ef7c9d0e411b06d52d82c3c177e0 (patch)
tree67954ab04d5228239ad4f41e3c8b84c8180b7b28 /npc/018-6-0
parent2c8e89cbb27f6f7adde24a17914c9f7c6ddb3aa6 (diff)
downloadserverdata-88aaf2154475ef7c9d0e411b06d52d82c3c177e0.tar.gz
serverdata-88aaf2154475ef7c9d0e411b06d52d82c3c177e0.tar.bz2
serverdata-88aaf2154475ef7c9d0e411b06d52d82c3c177e0.tar.xz
serverdata-88aaf2154475ef7c9d0e411b06d52d82c3c177e0.zip
More main, core logics, needed for Forgotten Arc
Diffstat (limited to 'npc/018-6-0')
-rw-r--r--npc/018-6-0/_import.txt1
-rw-r--r--npc/018-6-0/main.txt48
2 files changed, 49 insertions, 0 deletions
diff --git a/npc/018-6-0/_import.txt b/npc/018-6-0/_import.txt
index 45be6bdab..0e2c16f0e 100644
--- a/npc/018-6-0/_import.txt
+++ b/npc/018-6-0/_import.txt
@@ -1,2 +1,3 @@
// Map 018-6-0: Sanctuary - Forgotten Chamber
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/018-6-0/main.txt",
diff --git a/npc/018-6-0/main.txt b/npc/018-6-0/main.txt
new file mode 100644
index 000000000..2e12efceb
--- /dev/null
+++ b/npc/018-6-0/main.txt
@@ -0,0 +1,48 @@
+// TMW2 Scripts
+// Author:
+// Jesusalva
+// Description:
+// Controls Forgotten Chamber
+
+/////////////////////////////
+018-6-1,83,26,0 script #ToForgottenShrine NPC_SUMMONING_CIRC,0,0,{
+ dispbottom l("It looks dangerous.");
+ end;
+
+OnTouch:
+ .@q=getq(LoFQuest_Barbara);
+ if (.@q >= 2) {
+ warp BarbaraInstCheck(3), 31, 151;
+ //warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1);
+ } else {
+ Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC");
+ }
+ end;
+
+OnInit:
+OnInstanceInit:
+ disablenpc .name$;
+ end;
+
+}
+
+/////////////////////////////
+018-6-1,83,26,0 script #FromEleniumMines NPC_SUMMONING_CIRC,0,0,{
+ dispbottom l("It should bring me back.");
+ end;
+
+OnTouch:
+ .@q=getq(LoFQuest_Barbara);
+ if (.@q < 10) {
+ warp BarbaraInstCheck(1), 83, 28;
+ //warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1);
+ } else {
+ warp "018-6-1", 83, 28;
+ }
+ end;
+}
+
+
+
+
+