Glad to help. The mechanism is simple - as you see every "good" action moves our progress forward, every "bad" (else) actions drops it down to 0. If we have repeatable "good" actions then we need to first check if a previous "good" action has taken place, then figure out if we are in the right order.
You just need to plan out the actions and you are good to go.