summaryrefslogtreecommitdiff
path: root/npc/017-1/townhall.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-10 21:02:34 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-10 21:02:34 -0300
commit3ec45da32a366e728c36d062bb3062f24778d8e2 (patch)
tree26585492013e6533c73d8552b922485d1a9b9e57 /npc/017-1/townhall.txt
parent59bd3986aeeb3b8adf86d1cd51cd739407aeba84 (diff)
downloadserverdata-3ec45da32a366e728c36d062bb3062f24778d8e2.tar.gz
serverdata-3ec45da32a366e728c36d062bb3062f24778d8e2.tar.bz2
serverdata-3ec45da32a366e728c36d062bb3062f24778d8e2.tar.xz
serverdata-3ec45da32a366e728c36d062bb3062f24778d8e2.zip
Access to LoF Townhall: Granted to sponsors and futurely to MQ 17+
Diffstat (limited to 'npc/017-1/townhall.txt')
-rw-r--r--npc/017-1/townhall.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/npc/017-1/townhall.txt b/npc/017-1/townhall.txt
new file mode 100644
index 000000000..35482d5ed
--- /dev/null
+++ b/npc/017-1/townhall.txt
@@ -0,0 +1,63 @@
+// TMW2/LoF scripts.
+// Authors:
+// Jesusalva
+// Description:
+// LoF Townhall Access Control
+
+017-1,180,20,0 script #LoF_Townhall01 NPC_HIDDEN,{
+ end;
+OnTouch:
+ // Sponsor and Main Quest 17+ - access granted
+ .@q=getq(General_Narrator);
+ if (.@q >= 17 || getgmlevel()) {
+ warp "017-10", 56, 78;
+ }
+ end;
+OnInit:
+ .distance=1;
+ end;
+
+}
+
+017-1,182,20,0 script #LoF_Townhall02 NPC_HIDDEN,{
+ end;
+OnTouch:
+ // Sponsor and Main Quest 17+ - access granted
+ .@q=getq(General_Narrator);
+ if (.@q >= 17 || getgmlevel()) {
+ warp "017-10", 60, 78;
+ }
+ end;
+OnInit:
+ .distance=1;
+ end;
+}
+
+017-1,171,20,0 script #LoF_Townhall03 NPC_HIDDEN,{
+ end;
+OnTouch:
+ // Sponsor and Main Quest 17+ - access granted
+ .@q=getq(General_Narrator);
+ if (.@q >= 17 || getgmlevel()) {
+ warp "017-10", 36, 78;
+ }
+ end;
+OnInit:
+ .distance=1;
+ end;
+}
+
+017-1,190,20,0 script #LoF_Townhall04 NPC_HIDDEN,{
+ end;
+OnTouch:
+ // Sponsor and Main Quest 17+ - access granted
+ .@q=getq(General_Narrator);
+ if (.@q >= 17 || getgmlevel()) {
+ warp "017-10", 80, 78;
+ }
+ end;
+OnInit:
+ .distance=1;
+ end;
+}
+