Add the weights of multiple items

Greetings, I'm getting pretty good with the Quest GUI, but I'm not a coder. I'm trying to build a puzzle where the player must use a weight of 4362 grams. They will need to buy 1kg and 2kg bags of potatoes to create this weight, add in the weight of the shopping bag, and probably nibble on a potato to reduce to the exact right weight.

I've got my bags of potatoes set up with weight attributes, but how do I then put the potatoes in a shopping bag and weigh the shopping bag to show the total weight?

Likewise, when the player nibbles at a potato, how to reduce the potato's weight?

Thank you!! This forum has been SO HELPFUL.

Log in to post a reply.