I've been making some changes to the base shop status window. Everything is great except I want the result of change to -- instead of 0, when there is no change in that stat between items.
I'm basically using the same code as the base windo code for it and it uses ( I'm not at my computer so please bear with me)
Obviously it's a little more than "item param" but it gets my point until I can update it with the code.
I'm just not sure how to get the 0 to show up as --. Would I need to do via a separate function? Or another way?
Thanks in advance.
I'm basically using the same code as the base windo code for it and it uses ( I'm not at my computer so please bear with me)
const change =
this._item.params[paramId] - (item1 ? item1.params[paramId] : 0);
Obviously it's a little more than "item param" but it gets my point until I can update it with the code.
I'm just not sure how to get the 0 to show up as --. Would I need to do via a separate function? Or another way?
Thanks in advance.