on player right clicks e@item_frame: - foreach { - if ]> { - if && queue clear - if == 'shopping bag' { - if _shopping_bag.stacks> >= 18 { - narrate "Your shopping bag is full!" } else { - inventory add o: d:in@_shopping_bag - if != null - narrate "You add a to your shopping bag." } } - determine cancelled } }