summaryrefslogtreecommitdiff
path: root/db/const.txt
diff options
context:
space:
mode:
Diffstat (limited to 'db/const.txt')
-rw-r--r--db/const.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/const.txt b/db/const.txt
index 4d4cb3e69..6cb94f85e 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -1,3 +1,19 @@
+// Script Constant Database
+//
+// Structure of Database:
+// Identifier Value[ Type]
+//
+// Alternatively:
+// Identifier,Value[,Type]
+//
+// 01. Identifier Unique name for the constant, must not have same name as script commands, functions or variables.
+// 02. Value Value assigned to the constant. This value cannot be changed during the runtime of the server.
+// 03. Type Specifies whether the identifier is a constant (0) or a parameter (1) (optional, defaults to 0).
+//
+// NOTE: Parameters are special in that they retrieve certain runtime values depending on the specified ID
+// in field Value. Depending on the implementation values assigned by scripts to parameters will affect
+// runtime values, such as Zeny, as well (see pc_readparam/pc_setparam).
+
Job_Novice 0
Job_Swordman 1
Job_Mage 2