summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-11 10:40:52 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-11 10:40:52 +0000
commita24b7ddbd3dcc44f9a158414340283b2aa25ff6d (patch)
tree4de4a7ee7a8003650a828dff3b5101963d5d90fe /conf
parent1142aaf9e81d4532aa3f49fbc4a69a8a53976999 (diff)
downloadhercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.tar.gz
hercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.tar.bz2
hercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.tar.xz
hercules-a24b7ddbd3dcc44f9a158414340283b2aa25ff6d.zip
* 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
Diffstat (limited to 'conf')
-rw-r--r--conf/Changelog.txt2
-rw-r--r--conf/script_athena.conf11
2 files changed, 13 insertions, 0 deletions
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