summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-14 19:35:17 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 23:52:47 +0300
commitc79927b6879f07784ceb19a606483acc791dea80 (patch)
treeed6a8d860fafbc15874364b5765bbc81acdd0d80 /doc
parent16f3fe4fd1eeaa27ad093ea70b0a26054096bdb0 (diff)
downloadhercules-c79927b6879f07784ceb19a606483acc791dea80.tar.gz
hercules-c79927b6879f07784ceb19a606483acc791dea80.tar.bz2
hercules-c79927b6879f07784ceb19a606483acc791dea80.tar.xz
hercules-c79927b6879f07784ceb19a606483acc791dea80.zip
Add script command expandInventory
This command allow adjust inventory size to positive or negative value.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index d2f945719..5a9894217 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -10295,3 +10295,13 @@ Valid result values:
Works for 20181212 zero clients
---------------------------------------
+
+*expandInventory(<value>)
+
+Adjust player inventory to given value.
+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.
+
+---------------------------------------