inventory

fun inventory(item: ItemRef, block: InventoryScope.() -> Unit)(source)

Add an inventory configured by a InventoryScope block.


fun inventory(item: ItemRef, policy: PolicySpec, initialOnHand: Int)(source)

Add an inventory directly from a PolicySpec (table-friendly).