Hey everyone, I’m relatively new to Twine and I’m working on a project for history and I want to add a store and for this I am trying to make it so after the player selects a number it will times the bacon price with the bacon quantity?
> (b4r:"solid","solid","solid","solid")+(b4r-size:2,2)+(b4r-colour:black,black,black,black)[Items: (live: $Item_cont)[$Item_cont]]
>
> (b4r:"solid","solid","solid","solid")+(b4r-size:2,2)+(b4r-colour:black,black,black,black)[Price: (live: $bacon_cont)[(set: $price to $price + $item_price)]]
> (set: $bacon_price to 1.00)
> (set: $bacon_cont to 0)
> (b4r:"solid","solid","solid","solid")+(b4r-size:2,2)+(b4r-colour:black,black,black,black)[Price: $$bacon_price]
> [<img src="https://png.pngtree.com/png-vector/20240825/ourmid/pngtree-crispy-bacon-clipart-illustration-digital-watercolor-style-food-png-image_13613539.png" width="150" height="150" style="position: absolute; top: 3; left: 0;">[(dropdown: 2bind $bacon_cont ,"0","1","2","3","4", "5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20")]]
>
> (set: $item_price to $item_price + $b_command)
>
> (set: $b_command to $bacon_cont * $bacon_price)```