summaryrefslogtreecommitdiff
path: root/npc/017-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-18 15:05:32 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-18 15:05:32 -0300
commitc9173a4e2e55b0fdf4df0d99920c556548a81e4b (patch)
tree885d66f5e10289843fa71a4316fe49a454c47c01 /npc/017-1
parent9222961a0b3b38aee2f01a1d53c8a08e174488e2 (diff)
parent7c8417bb63afb65516852da1b9eb8ff0b4d2877f (diff)
downloadserverdata-c9173a4e2e55b0fdf4df0d99920c556548a81e4b.tar.gz
serverdata-c9173a4e2e55b0fdf4df0d99920c556548a81e4b.tar.bz2
serverdata-c9173a4e2e55b0fdf4df0d99920c556548a81e4b.tar.xz
serverdata-c9173a4e2e55b0fdf4df0d99920c556548a81e4b.zip
Merge branch 'master' into testserver
Conflicts solved with -X theirs
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/_import.txt1
-rw-r--r--npc/017-1/misc.txt2
-rw-r--r--npc/017-1/townhall.txt63
3 files changed, 65 insertions, 1 deletions
diff --git a/npc/017-1/_import.txt b/npc/017-1/_import.txt
index 51b49f981..42925f9bb 100644
--- a/npc/017-1/_import.txt
+++ b/npc/017-1/_import.txt
@@ -20,4 +20,5 @@
"npc/017-1/soul-menhir.txt",
"npc/017-1/stranger.txt",
"npc/017-1/town.txt",
+"npc/017-1/townhall.txt",
"npc/017-1/wateranimation.txt",
diff --git a/npc/017-1/misc.txt b/npc/017-1/misc.txt
index c49665201..32cdbfac5 100644
--- a/npc/017-1/misc.txt
+++ b/npc/017-1/misc.txt
@@ -262,7 +262,7 @@ OnInit:
sellitem CrystallizedMaggot, 6000;
sellitem Sunglasses, 6000;
sellitem BunnyEars, 800;
- sellitem StrangeCoin, 10;
+ sellitem StrangeCoin, 30;
// Gamble
sellitem SupremeGift,30000;
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;
+}
+