How to script getting a semi-rare?

Bloody Knuckles

New member
Hi, whenever I try something like

Code:
adventure( 2, $location[The Sleazy Back Alley] );

in my script, it exits with the words:

Code:
"Fortune Cookie counter expired. Last semirare found 178 turns ago (on turn 3482) in The Sleazy Back Alley".

How do I get a semi-rare without exiting my script?
 

AlbinoRhino

Active member
while (!adventure(1,$location[The Sleazy Back Alley])) {
print("Skipping counter warning and adventuring once.");
}

I think that would do it, but I haven't tried it.

On the 1st attempt, adventure will return false and print the message (when it encounters the counter warning) and on the 2nd attempt it should adventure once at the location and complete the while loop (ie return true).
 

ckb

Minion
Staff member
Maybe this works:
set dontStopForCounter=true

(full disclosure, I am not positive what the property "dontStopForCounter" does, but I am guessing it sets Mafia to NOT stop for counters)
 

Darzil

Developer
Maybe this works:
set dontStopForCounter=true

(full disclosure, I am not positive what the property "dontStopForCounter" does, but I am guessing it sets Mafia to NOT stop for counters)

Our code obfuscation skills are poor.
 
Top