Free rest availability

Ethelred

Member
I'm looking for a way to find out if I have any rest rests available from an ASH script. So far I haven't found anything that seems to tell me this. Before I try to figure out how to do this somehow, I thought I'd ask and see if I'm overlooking something or if my google fu is just really weak today. Thanks for any hints you can provide on how to do this or pointers to existing scripts that already do it.
 

lostcalpolydude

Developer
Staff member
total_free_rests() will tell you how many you get total, and timesRested will tell you how many of those you've used so far.
 

Ethelred

Member
total_free_rests() will tell you how many you get total, and timesRested will tell you how many of those you've used so far.

Great. Exactly what I'm looking for. Thanks for the help. I see timesRested shows up when I do a "prefref rest" but apparently I misunderstood what it meant.
 
Top