Interesting. I actually got that one. Considering that I was in Zombiecore and was not eating fortune cookies, I had no idea it was a semi-rare.Twin Peak has a non-combat semi-rare adventure named Synecdoche, Twin Peak that gives the item miniature boiler (item number 5370).
semi_rare[$location[A-Boo Peak]] = $item[death blossom];
semi_rare[$location[Twin Peak]] = $item[miniature boiler];
semi_rare[$location[Oil Peak]] = $item[unnatural gas];
But first, people have to actually let the devs know the HTML code for each individual step of the quest, including both the page-text and quest log.
if(count_counters() > 3) return false;
if(count_counters() < 1) return true;
Not sure why.[2263] Limerick Dungeon
Encounter: The Oracle Will See You Now
The Oracle Will See You Now
You lose 1,000 Meat
Oops, that wasn't the right number!
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 123, 8, 267
Lucky number 267 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 236, 195, 45
Lucky number 236 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 39, 164, 106
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 41, 237, 127
Lucky number 237 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 292, 293, 121
Lucky number 292 ignored - too large to be a semirare.
Lucky number 293 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 34, 236, 163
Lucky number 236 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 151, 64, 227
Lucky number 227 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
KoLmafia declares world peace.
You acquire an item: fortune cookie
You spent 40 Meat
> counters
Last semirare found 171 turns ago (on turn 2092) in Haunted Pantry
Unexpired counters:
Fortune Cookie (123)
Fortune Cookie (8)
Fortune Cookie (195)
Fortune Cookie (45)
Fortune Cookie (39)
Fortune Cookie (164)
Fortune Cookie (106)
Fortune Cookie (41)
Fortune Cookie (127)
Fortune Cookie (121)
Fortune Cookie (34)
Fortune Cookie (163)
Fortune Cookie (151)
Fortune Cookie (64)
if ( SR window is active && last SR was itemA )
{
stuff
}
if ( SR window is active && last SR was itemB )
{
stuff
}
The current check for war started is apparently off... maybe it should check for Level 12 and war not completed and just consider that as verboten?Visit to Island: Hippy Camp in progress...
[2022] Wartime Hippy Camp
Encounter: This Adventure Blows
You gain 88 Strengthliness
You gain a Muscle point!
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 276, 53, 165
Lucky number 276 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 150, 193, 214
Lucky number 214 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 142, 17, 17
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 292, 146, 204
Lucky number 292 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 12, 123, 219
Lucky number 219 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 128, 7, 107
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
You acquire an item: fortune cookie
You spent 40 Meat
Purchases complete.
Eating 1 fortune cookie...
You gain 1 Adventure
You gain 1 Fullness
Lucky numbers: 198, 207, 144
Lucky number 207 ignored - too large to be a semirare.
Finished eating 1 fortune cookie.
Purchasing fortune cookie (1 @ 40)...
KoLmafia declares world peace.
You acquire an item: fortune cookie
You spent 40 Meat
KoLmafia declares world peace.
Since mafia doesn't even track me as having hit up the council yet...questL12War (user, now 'unstarted', default unstarted)
warProgress (user, now 'unstarted', default unstarted)
quite a few. Not sure why count_counters() is failing to work, but... moved it down to the while check and that appeared to work better.> counters
Last semirare found 167 turns ago (on turn 1855) in Frat House
Unexpired counters:
Fortune Cookie (53)
Fortune Cookie (165)
Fortune Cookie (150)
Fortune Cookie (193)
Fortune Cookie (142)
Fortune Cookie (17)
Fortune Cookie (146)
Fortune Cookie (204)
Fortune Cookie (12)
Fortune Cookie (123)
Fortune Cookie (128)
Fortune Cookie (7)
Fortune Cookie (107)
Fortune Cookie (198)
Fortune Cookie (144)
else while(toEat() && count_counters() < 4) // Too many means there's a problem. Don't burn off fullness
I did move count_counters and toEat out of the eat_cookie function so I could actually check them outside.> counters
Last semirare found 368 turns ago (on turn 2063) in Cobb's Knob Harem
Unexpired counters:
Fortune Cookie (25)
Fortune Cookie (29)
Fortune Cookie (160)
Fortune Cookie (17)
Fortune Cookie (48)
Fortune Cookie (132)
Fortune Cookie (190)
Fortune Cookie (193)
Fortune Cookie (70)
Fortune Cookie (75)
Fortune Cookie (109)
> ash import <counterchecker.ash> count_counters()
Returned: 1
return count(split_string(url_encode(counters), "%09"));
Possibly an underlying bug in mafia, but I don't know for sure. That does make it clear though that it IS showing as a tab, and that /t doesn't split it properly.> ash import <counterchecker.ash> count_counters()
Returned: 11
void main() {
foreach i,s in split_string(get_counters("Semirare window", 0, 200), "\t")
print(i + ": "+ s);
print("Total = "+count(split_string(get_counters("Semirare window", 0, 200), "\t")));
}
> call testing.ash
0: Semirare window begin
1: Semirare window end
Total = 2