summaryrefslogtreecommitdiff
path: root/world/map/db/quest-log.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/db/quest-log.txt')
-rw-r--r--world/map/db/quest-log.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/world/map/db/quest-log.txt b/world/map/db/quest-log.txt
index 37e137f3..db810d6e 100644
--- a/world/map/db/quest-log.txt
+++ b/world/map/db/quest-log.txt
@@ -1,10 +1,15 @@
//Quest Log
//Quest ID: var id used by client
-//CommonVar: Used in getq & to set
-//ServerVar: Server Varaible value is stored
-//SHIFT: Posistion shifted. (SHIFT * MASK)
+//CommonVar: Used in getq & to set (a view upon the ServerVar, not saved)
+//ServerVar: Server Variable where the value is stored
+//SHIFT: Position shifted. (SHIFT * MASK)
//MASK: Size of shift to make. ((1 << MASK) - 1) << (SHIFT * MASK)
//Quest ID,CommonVar,ServerVar,SHIFT,MASK
+// N.B: when you migrate a quest to quest log, you also have to use CommonVar
+// throughout the server code. Failing to do this will result in client-side
+// quest-log not updating as the player progresses. But it will update on
+// re-login/switch char. There are no database changes necessary, as
+// the quest log variables are just a view upon ServerVar.
1,QL_BEGIN,STARTAREA,0,4
2,QL_VALON,STARTAREA,1,4
3,QL_MORGAN,STARTAREA,3,4
@@ -28,3 +33,8 @@
20,QL_TERRANITE_ARMOR,QUEST_NorthTulimshar,6,4
// 21 => assassin quest
22,QL_CELESTIA,QUEST_Hurnscald,2,8
+// Beheader quest comes in two parts: the flag that you've completed it
+// and the variable that tracks how many you've killed thus far. The
+// latter is deleted once you complete the quest.
+23,QL_BEHEADER_TERRAC,TERRAC,0,16
+24,QL_BEHEADER_COMPLETE,FLAGS,17,1