Okay, so after making the suggested changes I found out how to get the game to determine certain conditions based on the inventory struct.
To be thorough and certain, I added the C2046Battery name to the Map Find node so it would check for the item by name and by quantity.
Now, if I wanted to update the quantity of some item, what would I need to do? Just use the same as in the script except use an increment or Add node for the quantity, instead of a branch?