summaryrefslogtreecommitdiff
path: root/library/include/modules/Items.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/include/modules/Items.h')
-rw-r--r--library/include/modules/Items.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/include/modules/Items.h b/library/include/modules/Items.h
index 7493d22f..81c8e128 100644
--- a/library/include/modules/Items.h
+++ b/library/include/modules/Items.h
@@ -157,6 +157,9 @@ DFHACK_EXPORT bool moveToBuilding(MapExtras::MapCache &mc, df::item *item, df::b
DFHACK_EXPORT bool moveToInventory(MapExtras::MapCache &mc, df::item *item, df::unit *unit,
df::unit_inventory_item::T_mode mode = df::unit_inventory_item::Carried, int body_part = -1);
+/// Makes the item removed and marked for garbage collection
+DFHACK_EXPORT bool remove(MapExtras::MapCache &mc, df::item *item, bool no_uncat = false);
+
/// Detaches the items from its current location and turns it into a projectile
DFHACK_EXPORT df::proj_itemst *makeProjectile(MapExtras::MapCache &mc, df::item *item);
}