diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-10-28 12:37:16 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-10-28 12:37:16 +0000 |
commit | c4c1400def9740b610a1bf93c201d5a9b7c47780 (patch) | |
tree | e0d4ba8b514c954235a8c3b9e28f1dcfc7275bc4 /db/const.txt | |
parent | 5b3532830e8c18baea99eccaa21a5c7569f8d02d (diff) | |
download | hercules-c4c1400def9740b610a1bf93c201d5a9b7c47780.tar.gz hercules-c4c1400def9740b610a1bf93c201d5a9b7c47780.tar.bz2 hercules-c4c1400def9740b610a1bf93c201d5a9b7c47780.tar.xz hercules-c4c1400def9740b610a1bf93c201d5a9b7c47780.zip |
* Random documentation of database files.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14986 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'db/const.txt')
-rw-r--r-- | db/const.txt | 16 |
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 |