From 24c4d531b150863caed448fbbf4a9964dadbb63e Mon Sep 17 00:00:00 2001 From: Guilherme Menaldo Date: Sat, 1 Jun 2019 14:37:42 -0300 Subject: Add identify script command Signed-off-by: Haru --- doc/script_commands.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') 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() + +This function identifies the first item in attached player's inventory. + +Returns -2 if an error happens, -1 if no unidentified was found. +Otherwise, returns the idx of the identified item. + +--------------------------------------- + *identifyidx() This will identify item at attached player's inventory index. -- cgit v1.2.3-70-g09d2