Round out the loot generation logic.