From a24b7ddbd3dcc44f9a158414340283b2aa25ff6d Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Mon, 11 Feb 2008 10:40:52 +0000 Subject: * Expanded the script command 'input': (bugreport:811) - two new optional arguments 'min' and 'max' - return value indicating if it's in the correct range - config variables for the default value of the arguments: 'input_min_value' and 'input_max_value' in script_athena.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12192 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf/Changelog.txt | 2 ++ conf/script_athena.conf | 11 +++++++++++ 2 files changed, 13 insertions(+) (limited to 'conf') diff --git a/conf/Changelog.txt b/conf/Changelog.txt index 22aca2ff5..2354eb6d2 100644 --- a/conf/Changelog.txt +++ b/conf/Changelog.txt @@ -1,5 +1,7 @@ Date Added +2008/02/11 + * Added 'input_min_value' and 'input_max_value' to script_athena.conf. [FlavioJS] 2008/01/22 * Removed hom_setting&02 (ignore skill range) as this was fixed by Gravity some time ago. [Skotlex] diff --git a/conf/script_athena.conf b/conf/script_athena.conf index 726786f00..f45af4bad 100644 --- a/conf/script_athena.conf +++ b/conf/script_athena.conf @@ -21,4 +21,15 @@ check_cmdcount: 655360 check_gotocount: 2048 +// Default value of the 'min' argument of the script command 'input'. +// When the 'min' argument isn't provided, this value is used instead. +// Defaults to 0. +//input_min_value: 0 + +// Default value of the 'max' argument of the script command 'input'. +// When the 'max' argument isn't provided, this value is used instead. +// Defaults to INT_MAX. +//input_max_value: 2147483647 +input_max_value: 10000000 + import: conf/import/script_conf.txt -- cgit v1.2.3-60-g2f50