Semi-automatically generated modding documentation for Barotrauma

RemoveItemAction

Removes (deletes) a specific item or items.

Attributes

Attribute Type Default value Description
TargetTag Identifier ”” Tag of the item(s) to remove.
ItemIdentifiers string ”” Optional list of identifiers the item(s) must have. You might for example want to go through all tagged items inside a cabinet, but only remove specific types of items.
Amount int 1 Maximum number of items to remove.