The stack size uses spaces as the thousands separator and breaks the currency conversion code.
Sorry for not just issuing a pull request but the fix is to change:
StackSize := StackSizeParts1
to:
StackSize := StrReplace(StackSizeParts1," ")
on line 6042 (inside the first Else of ConvertCurrency(ItemName, ItemStats))
The stack size uses spaces as the thousands separator and breaks the currency conversion code. Sorry for not just issuing a pull request but the fix is to change:
StackSize := StackSizeParts1
to:StackSize := StrReplace(StackSizeParts1," ")
on line 6042 (inside the firstElse
ofConvertCurrency(ItemName, ItemStats)
)