diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-14 06:27:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-14 23:52:47 +0300 |
commit | d17b51770830d9e9e395d1b87b26572d8434fd57 (patch) | |
tree | 3798be1ab06953fb21ca58a2a93cd257848a7640 /doc/script_commands.txt | |
parent | bc682624496b854607b8e1bd976bb317eb8b0d4f (diff) | |
download | hercules-d17b51770830d9e9e395d1b87b26572d8434fd57.tar.gz hercules-d17b51770830d9e9e395d1b87b26572d8434fd57.tar.bz2 hercules-d17b51770830d9e9e395d1b87b26572d8434fd57.tar.xz hercules-d17b51770830d9e9e395d1b87b26572d8434fd57.zip |
Add script command expandInventoryAck
It send initial response for inventory expanding request.
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 0096cedfd..5fad09c9f 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -10256,5 +10256,22 @@ That command will send a service message to the chat window of the character specified by account ID or name, or to connected to npc player. It will not be seen by anyone else. -Works fro 20170830 RE and main and for any zero clients +Works for 20170830 RE and main and for any zero clients +--------------------------------------- + +*expandInventoryAck(<result>{, <itemId>}) + +Send initial inventory expansion result. +Normally this function should be called from script label +inventory_expansion::OnInventoryExpandRequest. + +Valid result statuses: + EXPAND_INVENTORY_ASK_CONFIRMATION - force client to ask player about inventory expansion + EXPAND_INVENTORY_FAILED - other failed reason + EXPAND_INVENTORY_OTHER_WORK - failed because player busy with other work + EXPAND_INVENTORY_MISSING_ITEM - failed because missing item + EXPAND_INVENTORY_MAX_SIZE - failed because inventory size already maximum + +ItemId make sense only if result is EXPAND_INVENTORY_ASK_CONFIRMATION +Works for 20181212 zero clients --------------------------------------- |