I have a two column array that serves as my inventory of collected weapons and their ammo count. So one column holds the name strings and the second has the ammo value.
Upon picking a weapon up i want to check if it is already in my inventory. If so i only want to add a fixed value to the ammo count.
My issue now: i cant get the expression right to only pass the weapon name in, find its line in the array and count up the value in the column next to it.