containsItem

Get if this Room contains a specified item.


fun containsItem(item: String, includeInvisibleItems: Boolean = false): Boolean

Get if this Room contains an item. If includeInvisibleItems is true then items that aren't visible to the player are included.