diff options
author | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-06-01 14:37:42 -0300 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-07-01 01:22:27 +0200 |
commit | 24c4d531b150863caed448fbbf4a9964dadbb63e (patch) | |
tree | 0cbb091d00675a0be1954498f89cb6607a4daebb /doc | |
parent | 462f1d0bc01dd432004b74732c06baa9d8a7a00c (diff) | |
download | hercules-24c4d531b150863caed448fbbf4a9964dadbb63e.tar.gz hercules-24c4d531b150863caed448fbbf4a9964dadbb63e.tar.bz2 hercules-24c4d531b150863caed448fbbf4a9964dadbb63e.tar.xz hercules-24c4d531b150863caed448fbbf4a9964dadbb63e.zip |
Add identify script command
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 3d22914b9..567d0ad56 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3370,6 +3370,15 @@ enable (true) or disable (false) the effect on the player. --------------------------------------- +*identify(<Item ID>) + +This function identifies the first <Item ID> item in attached player's inventory. + +Returns -2 if an error happens, -1 if no unidentified <Item ID> was found. +Otherwise, returns the idx of the identified item. + +--------------------------------------- + *identifyidx(<Inventory Index>) This will identify item at attached player's <Inventory Index> inventory index. |