bordemstirs
Member
Is there an ASH function to get this?
If not, is there a better way than parsing storage.php for the value?
If not, is there a better way than parsing storage.php for the value?
int storage_meat = excise(visit_url("storage.php"),"have "," meat").to_int();
Oooh...good answer, slyz! I forgot about meat going into storage from mall sales.
Actually, KoLmafia does read your storage meat when it refreshes your session and looks at storage, but it makes no attempt to update it. It does understand taking and adding to storage meat for the MMG and tracks that.
My suggestion was to provide access to KoLCharacter.storageMeat, much as the equivalent ASH functions provide access to KoLCharacter.closetMeat.