From cd457b601c3b28805b1eb9e0b97333851e87ce1f Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Thu, 28 Feb 2008 04:46:29 +0000 Subject: * 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 --- doc/script_commands.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3-60-g2f50