Banana Lord
Member
I'm trying to make Harvest a little more intelligent about eating fortune cookies. Currently it simply checks to see if you have an active fortune cookie counter and if not it eats a cookie before letting ED (or the specified consumption script) loose on your organs. If you do have a fortune cookie counter active then it simply tells ED to keep one fullness spare to allow another cookie to be eaten later.
Ideally it would look at your smallest fortune cookie counter (or semirare window counters if you have none) and determine whether or not to eat a cookie before consuming, and how much space should be left for cookies later on (taking the average time before SRs to be 180 adventures). The problem is I'm not entirely sure how to access counters properly. get_counters is useful for telling me if a counter is active or not, but I'm not sure how to extract the number of turns from it. Also, are these properties relevant, and if so what do they track?
lastSemirareReset
semirareCounter
Ideally it would look at your smallest fortune cookie counter (or semirare window counters if you have none) and determine whether or not to eat a cookie before consuming, and how much space should be left for cookies later on (taking the average time before SRs to be 180 adventures). The problem is I'm not entirely sure how to access counters properly. get_counters is useful for telling me if a counter is active or not, but I'm not sure how to extract the number of turns from it. Also, are these properties relevant, and if so what do they track?
lastSemirareReset
semirareCounter