const.txt 817 B

123456789101112131415
  1. // Script Constant Database
  2. //
  3. // Structure of Database:
  4. // Identifier Value[ Type]
  5. //
  6. // Alternatively:
  7. // Identifier,Value[,Type]
  8. //
  9. // 01. Identifier Unique name for the constant, must not have same name as script commands, functions or variables.
  10. // 02. Value Value assigned to the constant. This value cannot be changed during the runtime of the server.
  11. // 03. Type Specifies whether the identifier is a constant (0) or a parameter (1) (optional, defaults to 0).
  12. //
  13. // NOTE: Parameters are special in that they retrieve certain runtime values depending on the specified ID
  14. // in field Value. Depending on the implementation values assigned by scripts to parameters will affect
  15. // runtime values, such as Zeny, as well (see pc_readparam/pc_setparam).