summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2015-02-15 15:10:01 -0200
committershennetsind <ind@henn.et>2015-02-15 15:10:01 -0200
commit909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0 (patch)
tree4449b30cd4441ce271196876c08fbe0c78675c6e /doc
parent1e609ca42e0ab4c7699b55dcfa043891b9a41136 (diff)
downloadhercules-909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0.tar.gz
hercules-909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0.tar.bz2
hercules-909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0.tar.xz
hercules-909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0.zip
Updated 'delequip' Script Command
delequip will now stop a script when attempting to delete a item in a position the player has no gear. Special Thanks to Michieru, Haruna. Signed-off-by: shennetsind <ind@henn.et>
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 3784667cb..e69cca6b1 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5286,6 +5286,10 @@ This command will destroy whatever is currently equipped in the invoking
character's specified equipment slot. For a full list of possible equipment
slots see 'getequipid'.
+It is always a good idea to check if the player actually has the item you want
+before you use this command. If you try to delete in a position that the player
+has no gear, script will be terminated with an error.
+
This command will return 1 if an item was deleted and 0 otherwise.
---------------------------------------