summaryrefslogtreecommitdiff
path: root/npc/014-4/kamelot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-4/kamelot.txt')
-rw-r--r--npc/014-4/kamelot.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt
new file mode 100644
index 000000000..6fa0dc890
--- /dev/null
+++ b/npc/014-4/kamelot.txt
@@ -0,0 +1,41 @@
+// TMW 2 Script
+// Author:
+// Jesusalva
+// Micksha
+// Description:
+// This NPC is a work on progress. It measures all players equal.
+// Controls the weekly guild dungeon feature.
+// Variable structure:
+
+// $KAMELOT_ID [ guild_id ] = instance id
+// $KAMELOT_QUEST [ guild_id ] = quest status (bitmask)
+ // 0 - Not started
+ // 1 - Quest Assigned by Arthur
+ // 2 - Guinevere dialog clear
+ // 4 - Weapon Room cutscene seen
+ // 8 - Sewer Gate open
+ // 16 - Magic Seal Broken
+ // 32 - Boss cutscene seen (presumably, victory)
+// $KAMELOT_KEY [ guild_id ] = (bitmask) Keys and Lockpicks
+ // 1 - Treasure A (Boss Room key)
+ // 2 - Treasure B
+ // 4 - Treasure C
+ // 8 - Treasure D
+ // 16 - Weapon Room Key
+
+// $KAMELOT_KEYMASK [ guild_id ] = Which bit was assigned as the key
+// $KAMELOT_COOLDOWN [ guild_id ] = Last attempt (weekly attempts)
+
+014-4,47,63,0 script #KamelotEnter NPC_HIDDEN,{
+ end;
+
+OnTouch:
+ if (!is_staff())
+ end;
+ dispbottom l("Advised Raid Party: One Thief, one Mage");
+ end;
+
+OnInit:
+ end;
+}
+