summaryrefslogtreecommitdiff
path: root/npc/020-7/elias.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-18 17:24:29 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-18 17:24:29 -0300
commit6ff813be846f3a99ae7069b92bdb98d742c22079 (patch)
treea82211868eeef2285733ccc14445b18c2857e531 /npc/020-7/elias.txt
parent635096d438207113f8f30b273ea32ac99e756f24 (diff)
downloadserverdata-6ff813be846f3a99ae7069b92bdb98d742c22079.tar.gz
serverdata-6ff813be846f3a99ae7069b92bdb98d742c22079.tar.bz2
serverdata-6ff813be846f3a99ae7069b92bdb98d742c22079.tar.xz
serverdata-6ff813be846f3a99ae7069b92bdb98d742c22079.zip
Blue Sage placeholders.
Make Psi Conscience stronger - small chase, and to prevent you exploiting the energy balls to damage the Psi - it'll knockback itself 5 tiles when attacked at melee range. It'll also stun the attacker (cannot move/etc.) for 5 seconds.
Diffstat (limited to 'npc/020-7/elias.txt')
-rw-r--r--npc/020-7/elias.txt49
1 files changed, 49 insertions, 0 deletions
diff --git a/npc/020-7/elias.txt b/npc/020-7/elias.txt
new file mode 100644
index 000000000..71200e6ce
--- /dev/null
+++ b/npc/020-7/elias.txt
@@ -0,0 +1,49 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// TMW Org.
+// Description:
+// Controls access to Blue Sage Residence
+// Minimum level: 36 (implicit)
+
+// NivalisQuest_BlueSage STRUCTURE
+// FIELD 1:
+// INVESTIGATION
+// 1 - ACCESS GRANTED
+// 2~10 - FOLLOW LOGIC
+// FIELD 2:
+// BOOK MAKING QUEST
+// FIELD 3:
+// SLIME HUNTING QUEST
+
+020-7,43,42,0 script #BlueSageEntry NPC_HIDDEN,1,1,{
+OnTouch:
+ .@q=getq(NivalisQuest_BlueSage);
+ if (!.@q) {
+ slide 42, 43;
+ doevent "Elias::OnAccessDenied";
+ }
+ end;
+}
+
+020-7,40,41,0 script Elias NPC_SAGRATHA,{
+ .@q=getq(General_Narrator);
+ if (.@q < 10) {
+ npctalk3 l("ERROR/TODO: Explain that library and residence is off-limits");
+ } else {
+ npctalk3 l("ERROR/TODO: Grant access to Blue Sage Library after showing Rakinorf recommendation letter.");
+ }
+ goodbye;
+ end;
+
+OnAccessDenied:
+ npctalk3 l("You can't go in there!");
+ end;
+
+OnInit:
+ .sex=G_MALE;
+ .distance=5;
+ end;
+
+}
+