summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-03-09 00:17:31 +0100
committerGitHub <noreply@github.com>2020-03-09 00:17:31 +0100
commit58e96dfb28b186f66409417a3233cb45302e5e1d (patch)
tree59d28bce9418c8ada10a366ab0e83ff225358519 /doc
parenta1caa4b0740e073b5b6e7b6dea9a2817b90ced94 (diff)
parent390ef85fc3da61d3014a2d72393bd9d8fb333004 (diff)
downloadhercules-58e96dfb28b186f66409417a3233cb45302e5e1d.tar.gz
hercules-58e96dfb28b186f66409417a3233cb45302e5e1d.tar.bz2
hercules-58e96dfb28b186f66409417a3233cb45302e5e1d.tar.xz
hercules-58e96dfb28b186f66409417a3233cb45302e5e1d.zip
Merge pull request #2639 from Kenpachi2k13/getiteminfo_extension
Extend getiteminfo() script command
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index cb0314ac5..66dd96463 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3277,6 +3277,7 @@ Example:
---------------------------------------
*getiteminfo(<item ID>, <type>)
+*getiteminfo("<item name>", <type>)
*setiteminfo(<item ID>, <type>, <value>)
This function will look up the item with the specified ID number in the
@@ -3285,6 +3286,9 @@ It will return -1 if there is no such item.
Valid types are:
+ ITEMINFO_ID - Item ID (getiteminfo() only!)
+ ITEMINFO_AEGISNAME - Unique name to reference the item (getiteminfo() only!)
+ ITEMINFO_NAME - Display name (getiteminfo() only!)
ITEMINFO_BUYPRICE - Buy Price
ITEMINFO_SELLPRICE - Sell Price
ITEMINFO_TYPE - Item Type