summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2019-03-09 21:57:11 +0530
committerDastgir <dastgirp@gmail.com>2019-03-09 21:57:11 +0530
commit6f7ad82c7a804a224fd8ca405a0ebc4b739dc3e4 (patch)
tree549ed2643812d0fe64aebd5334b06dfd3bdd5c97 /doc/script_commands.txt
parent3b2fffae9f65bf064f7ab66a697196fd75550127 (diff)
downloadhercules-6f7ad82c7a804a224fd8ca405a0ebc4b739dc3e4.tar.gz
hercules-6f7ad82c7a804a224fd8ca405a0ebc4b739dc3e4.tar.bz2
hercules-6f7ad82c7a804a224fd8ca405a0ebc4b739dc3e4.tar.xz
hercules-6f7ad82c7a804a224fd8ca405a0ebc4b739dc3e4.zip
Expanded getinventorylist:
* getinventorylist now creates extra variable named @inventorylist_idx, which returns items corresponding inventory index.
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 5eee3a4e5..30103cd5e 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3115,6 +3115,7 @@ invoking character has in its inventory, including all the data needed to
recreate these items perfectly if they are destroyed. Here's what you get:
@inventorylist_id[] - array of item ids.
+@inventorylist_idx[] - array of item inventory index.
@inventorylist_amount[] - their corresponding item amounts.
@inventorylist_equip[] - will return the slot the item is equipped on, if at all.
@inventorylist_refine[] - for how much it is refined.