miscellaneous cleanup, make default merge function more concise
check done variable in loop conditional
make global rng
vomitItemList can deal with null stacks
call onInventoryChanged on flag to prevent redundant calls
actually check if inventory can be used
vomit items last
remove redundant vomitItem method
symmetrize placed and broken calls
let power get to 0
prevent unnecessary loopage
miscellaneous cleanup
Inventory can now merge to slots in other inventories
switch around parameters to make more sense
mark inventory change on setInventorySlotContents
abstract output logic to trait
make sure method returns correctly