Gnocchi Masala
Member
Found in build 10806.
Previously this code used to work:
Also the to_coinmaster entry in the Item Management page of the wiki has a signature of ( string, item ) rather than ( string ).
Previously this code used to work:
It now fails with:void tradeFur()
{
int q = 0;
item yf = $item[ yeti fur ];
foreach it in $items[ hippopotamus skin, penguin skin, yak skin ]
{
q = min( 10, item_amount( yf ) + closet_amount( yf ) + stash_amount( yf ) );
if ( q > 0 && item_amount( it ) < 10 )
{
coinmaster master = to_coinmaster(it.seller);
buy(master, q, it);
}
}
return;
}
Is it to do with the change to Strict Strings? Changing line 663 to "coinmaster master = to_coinmaster( "L33t Tr4pz0r" );" makes it all work again.Function 'to_coinmaster( coinmaster )' undefined. This script may require a more recent version of KoLmafia and/or its supporting scripts. (dailyStuff.ash, line 663)
Also the to_coinmaster entry in the Item Management page of the wiki has a signature of ( string, item ) rather than ( string ).