Jelajahi Sumber

added bit-wise perm vars info file

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7340 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 19 tahun lalu
induk
melakukan
e69751bdb1
2 mengubah file dengan 68 tambahan dan 0 penghapusan
  1. 2 0
      npc/Changelog.txt
  2. 66 0
      npc/quest_variables.txt

+ 2 - 0
npc/Changelog.txt

@@ -36,6 +36,8 @@ Musashiden
 
 Date		Added
 ======
+06/26
+	* Added BIT-WISE perm variables info quest_variables.txt [Lupus]
 06/25
 	* Moved Umbala quests from cities/ to quests/, namely Skeletal Gate, Umbala Event, and Create/Dismantle Stone
 	  - Moved Piano and Book of Devil quest from cities/niflheim.txt to quests/quests_niflheim.txt

+ 66 - 0
npc/quest_variables.txt

@@ -0,0 +1,66 @@
+--------------------------------------------------------------
+-                 Permanent Quest Variables                  -
+--------------------------------------------------------------
+
+This file should help to understand and manage bit-wise quest
+variables. You can store up to 31 boolean value into a single
+variable. [Lupus]
+--------------------------------------------------------------
+
+
+--------------------------------------------------------------
+Variable: MISC_QUEST
+
+
+Quest: 		Juice Maker Quest
+Info:		How to make juices. This bit keeps final state of the quest.
+How to set: 	set MISC_QUEST,MISC_QUEST | 1;
+How to check: 	if(MISC_QUEST & 1){}
+
+
+Quest: 		Tempestra Quest
+Info:		Has you given a potion to Temperstra or not.
+How to set: 	set MISC_QUEST,MISC_QUEST | 2;
+How to check: 	if(MISC_QUEST & 2){}
+
+
+Quest: 		Morgenstein Quest
+Info:		How to make Mixture & Counteragent. Also subquest for Alchemist Job
+		This bit keeps final state of the quest.
+How to set: 	set MISC_QUEST,MISC_QUEST | 4;
+How to check: 	if(MISC_QUEST & 4){}
+
+
+Quest: 		Prontera Culvert Quest
+Info:		Could you enter the Prontera Culvert or not.
+How to set: 	set MISC_QUEST,MISC_QUEST | 8;
+How to check: 	if(MISC_QUEST & 8){}
+
+
+Quest: 		Edgar's Offer
+Info:		Cheap ticket from Izlude to Alberta.
+		This bit keeps final state of the quest.
+How to set: 	set MISC_QUEST,MISC_QUEST | 16;
+How to check: 	if(MISC_QUEST & 16){}
+
+Quest: 		Piano Quest
+Info:		The only way from Niflheim to Umbala.
+How to set: 	set MISC_QUEST,MISC_QUEST | 32;
+How to check: 	if(MISC_QUEST & 32){}
+
+
+Quest: 		?
+Info:		?
+How to set: 	set MISC_QUEST,MISC_QUEST | ?;
+How to check: 	if(MISC_QUEST & ?){}
+
+--------------------------------------------------------------
+Variable: MISC_QUEST2
+
+
+Quest: 		?
+Info:		?
+How to set: 	set MISC_QUEST,MISC_QUEST | ?;
+How to check: 	if(MISC_QUEST & ?){}
+
+--------------------------------------------------------------