you need:
(if: (history:)contains "clementines")[(text-style:"strike")[clementines]](else:)[ [[clementines]] ]
(if: (history:)contains "eggs")[(text-style:"strike")[eggs]](else:)[ [[eggs]] ]
(if: (history:)contains "greens")[(text-style:"strike")[greens]](else:)[ [[greens]] ]
(if: (history:)contains "granola")[(text-style:"strike")[granola]](else:)[ [[granola]] ]
(if: (history:)contains "pasta")[(text-style:"strike")[pasta]](else:)[ [[pasta]] ]
(if: (history:)contains "yogurt")[(text-style:"strike")[yogurt]](else:)[ [[yogurt]] ]
(if: $basket is 18)[[[head to checkout->ready]]]\
(if: $basket is 16 or $basket is 17)[[[head to checkout->kinda]]]\
(if: $basket > 1 and $basket <= 15)[[[head to checkout->nope]]]this one is easy. you're not going to fuck this one up.
(link:"one bag. this is easy.")[(set: $basket to it + 3)*]
[[back to list->list]]you buy the biggest eggs because you have the biggest eggs.
<==
[[back to list->list]]
(set: $basket to it + 3)
==>
(live: 1s)[(transition:"dissolve")[...that's how that works, right?](stop:)]you've been eating brussels sprouts for two weeks now, and they're bitter in your mouth. still, the thought of a flaccid spinach salad does not arouse you.
[(link:"get spinach")[*(replace: ?sprouts)[ ](set: $basket to it + 3)]]<spinach|
[(link:"get sprouts")[*(replace: ?spinach)[ ](set: $basket to it + 2)]]<sprouts|
[[back to list->list]]
you want granola. you need granola. frosted mini-wheats are half the price.
[(link:"get granola")[*(replace: ?cereal)[ ](set: $basket to it + 3)]]<granola|
[(link:"get cereal")[*(replace: ?granola)[ ](set: $basket to it + 1)]]<cereal|
[[back to list->list]]you've narrowed it down amongst the dried noodles: angel hair takes the least time to boil. but if you got ramen, you wouldn't have to make the sauce...
[(link:"get angel hair")[*(replace: ?ramen)[ ](set: $basket to it + 3)]]<angel|
[(link:"get ramen")[*(replace: ?angel)[ ](set: $basket to it + 1)]]<ramen|
[[back to list->list]]you trust siggi's, though you're used to the plain version. the lassi on the shelf beside it looks like it might be sweeter (it's full fat -- pro or con?), but you've never tried it and it's a dollar more.
[(link:"get the vanilla siggi's")[*(replace: ?lassi)[ ](set: $basket to it + 2)]]<siggi|
[(link:"get the mysterious lassi")[*(replace: ?siggi)[ ](set: $basket to it + 3)]]<lassi|
[[back to list->list]]:)
**refresh to restart**(a sense of mild disappointment; then, resignation.)
**refresh to restart**(set: $basket to 0)//YOU HAVE FAILED YOURSELF//
**refresh to restart**