my script:
starter_random_foods:
type: procedure
definitions: foods|quantity
script:
- define food_base <inventory[generic[inventory_contents=<list>]]>
- define food_list <list>
- foreach <[foods]> as:food:
- define food_list <[food_list].include_single[<[food].repeat_as_list[<[quantity]>]>]>
- give <[food_list].random[<[quantity]>].parse[as[item]]> to:<[food_base]>
- determine <[food_base].list_contents>```
can't work because give can't be used in a proc; is there a tag that concatenates the items in a list when giving it to an inventory?
what i want is nine random total items of three types randomly, but not nine stacks of those items as opposed to however many stacks they could be minimally, eg 8 tacos and 1 lasagna


