I also use the tab button. Fortunately most IDEs and proper text editors (like Notepad++) allow customization of this button, and I've set mine to replace tabs with 2 spaces.
Yes, there are different standard/styles/opinions. But no matter which you settle with (or are forced to use), the...
Sorry, I missed that page. I was making a general point not targeting language specifications. But once again, even though we have operator precedence, the duty still falls on the compiler/interpreter to enforce that and luckily KoLmafia does it the Java way.
..and talking about the Java way...
As always, you're welcome. :-)
They should be the same, but can you guarantee that the compiler/interpreter will evaluate * before > or instead evaluate left-to-right? I can't, so I always explicitly add parentheses to all my equations to clearly express my intent and avoid any logical errors...
I've been away for a while and I'm glad to see that Harvest has been updated. I'm also glad that the curly brackets are now on the same lines as methods/etc. :p
I have some fixes for Harvest.ash::
line 202: have_foldable("doh") works now (also added to Harvest Combat.ash & relay_Harvest.ash)...
I haven't used KoLmafia for a while and I'm guessing some update added specific items to the Use these restores section: in the HP/MP Usage tab. For some reason scroll of drastic healing wasn't checked in this list (although I did use them through UR in the past).
UR happily went on and kept...
Found a (KoLmafia) bug: OCD tried to sell my fire axe for 1,500 meat instead of current lowest mall price which was 750,000 meat. This happened because mafia is returning 1,500 meat (instead of commendations) for cheapest fire axe.
In the meantime you can do:
import "EatDrink.ash";
...
void foo() {
SIM_CONSUME = true;
// eatdrink(fullness_limit() - my_fullness(), inebriety_limit() - my_inebriety(), spleen_limit() - my_spleen_use(), false);
eatdrink(X, Y, Z, false);
int bar = get_adventures();
}
bar = "how many...
For r11188 onwards (or in fact any, but from r11188 the following breaks) change line 651 from:
rewards[$location[castle]] = "inhaler.gif|Mick's IcyVapoHotness Inhaler|95";
to:
rewards[$location[giant's castle]] = "inhaler.gif|Mick's IcyVapoHotness Inhaler|95";
The purpose of the budget is to have X amount of meat at the start of each run of Harvest. When Harvest has completed, it will remove all the meat from your closet so that you can use it for whatever purpose(s). This suits me, but not you in your particular case.
Feel free delete/comment that...
Harvest closets your meat to prevent you from losing your meat if something goes haywire. I think the author assumed that there wouldn't be any meat in the closest or one would want all the meat from the closet when done. I can change the script later today to remove only the meat that was...
Thanks for the reply Veracity. I would appreciate it if I could get access to the session tally. The tally appears to be dependant on active meat flow (such as purchasing or adventuring) and independent of passive meat flow (as you stated, receiving meat or selling an item in the mall).
What I mean by "accurately" is: there are scripts like EatDrink and Harvest that will check the amount of meat before performing some actions and then recheck the meat after said actions. The difference between these initial and post-action amounts is then surmised as either the ingress or...
There's always a way to break regex using custom input :)
Can you provide any motivation for wanting to use round brackets (like this and break KoLmafia) instead of square or angle brackets with timers? Otherwise, if it is actually breaking with a standard KoL effect please show me and I can...
That is correct, "putty/rain-doh farm" will initially farm whatever is in the putty/rain-doh. Having "hunt with putty/rain-doh" checked is correct as well. Now that you've mentioned CSS again, you can check if you have the following entry:
(you can leave out the "attack" line if you want Harvest...