summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-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.
+
+---------------------------------------