summaryrefslogtreecommitdiff
path: root/LUA_API.rst
diff options
context:
space:
mode:
Diffstat (limited to 'LUA_API.rst')
-rw-r--r--LUA_API.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/LUA_API.rst b/LUA_API.rst
index 1ffdada0..c5f9a1c5 100644
--- a/LUA_API.rst
+++ b/LUA_API.rst
@@ -999,6 +999,10 @@ Items module
Move the item to the unit inventory. Returns *false* if impossible.
+* ``dfhack.items.remove(item[, no_uncat])``
+
+ Removes the item, and marks it for garbage collection unless ``no_uncat`` is true.
+
* ``dfhack.items.makeProjectile(item)``
Turns the item into a projectile, and returns the new object, or *nil* if impossible.