I was actually experimenting with flags myself so its nice to know that I was at least on a path that would work.
One thing I don’t understand is where to put this or statement
0010 0000 (weapon)
or 0100 0000 (shield)
=====================
0110 0000 (weapon and shield)