Use a repeating trigger:
activation: none
use "timeout" instead of "countdown" and set min, med, max to 5. I found if there was no delay then the tent would not always get repaired. You can adjust the time if you want.
condition: getdammage tentname > .9
on activation: tentname setdammage 0