Variable Question

Hi everyone.

I have a variable, "Gem", that I've created and it starts at zero but throughout the module, it increases by 1 when the user "discovers" something in the module.

The "gems" are used in the assessment part as a payment for a wrong answer.  What I'd like to know is how to display the count of the "gems" as just 0 if they lose them all and not display as -1, -2, etc.

For example, if I gain 3 gems in the module and then in the assessment miss four questions the "gem" count should read 0 and not -1.

Is this something that is easily done?

Thank you so much!

2 Replies