It'd be great if when I select the minus button on an item on my character sheet (e.g. Dried Food or Waterskin) that when that item reached 1, the minus button would then delete that item from inventory. At least, it felt like the expected behavior to me.
I'm not an expert, but having just glanced through the project, I believe here if you were to call removeItem when quantity is 1 that'd do the trick.
It'd be great if when I select the minus button on an item on my character sheet (e.g. Dried Food or Waterskin) that when that item reached 1, the minus button would then delete that item from inventory. At least, it felt like the expected behavior to me.
I'm not an expert, but having just glanced through the project, I believe here if you were to call
removeItem
when quantity is 1 that'd do the trick.