summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorGuilherme Menaldo <guilherme.menaldo@outlook.com>2019-06-01 14:16:37 -0300
committerHaru <haru@dotalux.com>2019-07-01 01:22:22 +0200
commit462f1d0bc01dd432004b74732c06baa9d8a7a00c (patch)
treea5ff515471b7848a6122ebdb76520e32e7967a6c /doc/script_commands.txt
parent33b0658e174fdd50e513daa807a8824f959ded44 (diff)
downloadhercules-462f1d0bc01dd432004b74732c06baa9d8a7a00c.tar.gz
hercules-462f1d0bc01dd432004b74732c06baa9d8a7a00c.tar.bz2
hercules-462f1d0bc01dd432004b74732c06baa9d8a7a00c.tar.xz
hercules-462f1d0bc01dd432004b74732c06baa9d8a7a00c.zip
Add identifyidx script command
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/script_commands.txt')
-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 5cc3ea186..3d22914b9 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3369,6 +3369,15 @@ This will set a Hat Effect onto the player. The state field allows you to
enable (true) or disable (false) the effect on the player.
---------------------------------------
+
+*identifyidx(<Inventory Index>)
+
+This will identify item at attached player's <Inventory Index> inventory index.
+
+Returns true if the item was identified, false otherwise.
+Note: If the item was already identified, it returns false.
+
+---------------------------------------
//=====================================
2.1 - End of Item-Related Commands
//=====================================