From c4c1400def9740b610a1bf93c201d5a9b7c47780 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Fri, 28 Oct 2011 12:37:16 +0000 Subject: * Random documentation of database files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14986 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/const.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'db/const.txt') 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 -- cgit v1.2.3-60-g2f50