summaryrefslogtreecommitdiff
path: root/npc/003-0-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-24 09:13:12 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-24 09:13:12 -0300
commitb99ed9de478bf7f088f6ac146c657b941d803f32 (patch)
tree726a01e648e1d1afdfdb370ba84c7967b120c4ea /npc/003-0-1
parentf55b028d4d5cc8eb3e838e374e4e0c7dd7e83307 (diff)
downloadserverdata-b99ed9de478bf7f088f6ac146c657b941d803f32.tar.gz
serverdata-b99ed9de478bf7f088f6ac146c657b941d803f32.tar.bz2
serverdata-b99ed9de478bf7f088f6ac146c657b941d803f32.tar.xz
serverdata-b99ed9de478bf7f088f6ac146c657b941d803f32.zip
Add a Guard to allow or disallow access to Magic Council Room.
Currently, only sponsors are allowed in. The room is empty, not even a Mana Stone...
Diffstat (limited to 'npc/003-0-1')
-rw-r--r--npc/003-0-1/_import.txt1
-rw-r--r--npc/003-0-1/guards.txt34
2 files changed, 35 insertions, 0 deletions
diff --git a/npc/003-0-1/_import.txt b/npc/003-0-1/_import.txt
index 4ccad0bfa..b84f500c4 100644
--- a/npc/003-0-1/_import.txt
+++ b/npc/003-0-1/_import.txt
@@ -3,6 +3,7 @@
"npc/003-0-1/_warps.txt",
"npc/003-0-1/audsbel.txt",
"npc/003-0-1/colin.txt",
+"npc/003-0-1/guards.txt",
"npc/003-0-1/luca.txt",
"npc/003-0-1/maxime.txt",
"npc/003-0-1/statues.txt",
diff --git a/npc/003-0-1/guards.txt b/npc/003-0-1/guards.txt
new file mode 100644
index 000000000..9296cd0bb
--- /dev/null
+++ b/npc/003-0-1/guards.txt
@@ -0,0 +1,34 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Magic Council Guard
+
+003-0-1,50,24,0 script Guard#00301A NPC_BRGUARD_SPEAR,{
+ if (getgmlevel())
+ goto L_Sponsor;
+
+ mesn;
+ mesq l("Past this grates, is the Magic Council Room.");
+ next;
+ mesn;
+ mesq l("Unless you're an Alliance member or have authorization, you cannot go in.");
+ mesc l("Alliance members are those who [@@https://patreon.com/TMW2|sponsor us@@].");
+ mesc l("There's nothing in the Magic Council Room, though. It's just a perk.");
+ close;
+
+L_Sponsor:
+ mesn;
+ mesq l("Alliance members (sponsors) are allowed inside the Council Room.");
+ mesc l("Warp to Council room?");
+ if (askyesno() == ASK_YES) {
+ warp "003-0-2", 34, 42;
+ }
+ closeclientdialog;
+ close;
+
+OnInit:
+ .distance=4;
+ end;
+}
+