Toast pos software

Half and half pizzas question:

This pricing may seem strange but we’ve always charged this way.

We charge the side that has the most items.
But we do not discount the items cause it’s half of the pizza.

Base price 10.00
Items $1.00

1st half- 4 items @1.00 each
2nd half 2 items @1.00 each

Total cost 10.00 plus 4.00
for a total of 14.00.

Can toast do this?

You set up the pricing, and the items.

But can it be programmed like the example in my post?

There is no programming available.