summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-14 19:46:43 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 23:52:47 +0300
commitec05dccfddedf8250f1df61ce94dafb6823dace7 (patch)
tree8adadca7fb8eca7946bb598784a354a3519e79ae /doc
parentc79927b6879f07784ceb19a606483acc791dea80 (diff)
downloadhercules-ec05dccfddedf8250f1df61ce94dafb6823dace7.tar.gz
hercules-ec05dccfddedf8250f1df61ce94dafb6823dace7.tar.bz2
hercules-ec05dccfddedf8250f1df61ce94dafb6823dace7.tar.xz
hercules-ec05dccfddedf8250f1df61ce94dafb6823dace7.zip
Add script command getInventorySize.
This command allow read current max inventory size.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 5a9894217..5171d65f3 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -10303,5 +10303,14 @@ Maximum inventory size is MAX_INVENTORY.
Minimum inventory size is FIXED_INVENTORY_SIZE.
For supported clients it send inventory change packet. For old clients,
this change is silent.
+Current max inventory size can be read by function getInventorySize().
+
+---------------------------------------
+
+*getInventorySize()
+
+Return current player max inventory size.
+This value always smaller or equal to MAX_INVENTORY.
+Size can be changed by group of functions expandInventory*
---------------------------------------