The rounding is done by kingdom of loathing itself.This thread confuses me.
You can "pull 500 meat", and KoLmafia will attempt to pull 500 meat from storage. No rounding up; I tested this in aftercore, but I also have 0 meat to pull. It looks like this isn't actually documented anywhere. It doesn't look like there is an equivalent ASH command, so I can understand requesting that.
I think I also don't know what interface you are referring to where the amount is rounded up.
hangk said:Rounding up to 1000 because you're in Ronin and we don't want you to feel cheated.
You take 1,000 Meat out of storage.
Yeah, I looked at the code, and StorageRequest.java has a special case for item = "Meat".This thread confuses me.
You can "pull 500 meat", and KoLmafia will attempt to pull 500 meat from storage. No rounding up; I tested this in aftercore, but I also have 0 meat to pull. It looks like this isn't actually documented anywhere. It doesn't look like there is an equivalent ASH command, so I can understand requesting that.
I think I also don't know what interface you are referring to where the amount is rounded up.
if ( item.getName().equals( AdventureResult.MEAT ) )
{
if ( !inHardcore )
{
RequestThread.postRequest( new StorageRequest( StorageRequest.PULL_MEAT_FROM_STORAGE, item.getCount() ) );
}
...
}
execute_cli("pull 500 meat");
, it's got a workaround in ASH. It could be changed to an explicit command that called StorageRequest as the CLI does.this.usage = " all | outfit <name> | <item> [, <item>]... - pull items from Hagnk's storage.";
That's 97% right, and definitely better, but looking at the code, it will accepthow about
Code:this.usage = " all | outfit <name> | <quantity> meat | <quantity> <item> [, <item>]... - pull items from Hagnk's storage.";
pull 2 cog, 12 meat, 3 sprocket
this.usage = " all | outfit <name> | <quantity> meat | [<quantity>] <item> [, <item>]... - pull items from Hagnk's storage.";