summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 04:46:29 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 04:46:29 +0000
commitcd457b601c3b28805b1eb9e0b97333851e87ce1f (patch)
tree99978c1117a1382a487ba3bb33d79597216fa88e /doc
parent64169298d9e64182e882a76f9fe4c94c1c7c24d5 (diff)
downloadhercules-cd457b601c3b28805b1eb9e0b97333851e87ce1f.tar.gz
hercules-cd457b601c3b28805b1eb9e0b97333851e87ce1f.tar.bz2
hercules-cd457b601c3b28805b1eb9e0b97333851e87ce1f.tar.xz
hercules-cd457b601c3b28805b1eb9e0b97333851e87ce1f.zip
* Removed "F_CheckMaxCount" as it seems "checkweight". preforms the aforementioned check in addition to checking weight.
* Updated 2004 headgear quests to use checkweight. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12256 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 865b82fe6..bc5bbd1e3 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -99,6 +99,8 @@
//= Updated 'setcell' desc to match latest code changes [ultramage]
//= 3.14.20080211
//= Updated 'input' (new arguments and return value). [FlavioJS]
+//= 3.15.20080227
+//= Updated 'checkweight' description slightly. [L0ne_W0lf]
//=========================================================
This document is a reference manual for all the scripting commands and functions
@@ -2953,6 +2955,10 @@ capacity, and 0 otherwise. It is important to see if a player can carry the
items you expect to give them, failing to do that may open your script up to
abuse or create some very unfair errors.
+This fucntion, in addition to checking to see if the player is capable of
+holding a set amount of items, also ensures the player has room in their
+inventory for the item(s) they will be receciving.
+
Like 'getitem', this function will also accept an 'english name' from the
database as an argument.