string script_446(int arg0,int arg1) {
string svar0;
string svar1;
string svar2;
svar0 = "";
svar1 = "";
svar2 = "";
if (itemIsStackable(arg1)) {
svar2 = concat(svar2, "
" + getItemName(arg1) + "" + " x " + "" + intToStr(arg0) + "
");
} else if (arg0 < 100000) {
svar0 = script_46(arg0, ",");
svar2 = concat(svar2, "" + getItemName(arg1) + "" + " x " + "" + svar0 + "
");
} else {
svar0 = script_46(arg0, ",");
svar1 = script_46(divide(arg0, 1000), ",");
svar2 = concat(svar2, "" + getItemName(arg1) + "" + " x " + "" + svar1 + "K (" + svar0 + ")" + "
");
}
return svar2;
}