Didn't have much time to play with this over the weekend, but I finally managed to resolve this issue this morning. The problem was with the scope. I was trying to be explicit in my calls to item names, but apparently this was not only unnecessary but actually detrimental. For example, this:
Should actually have looked like this:
Not sure if I'm misunderstanding how using the scope works or what, but once removed everything works smoothly.
Minor side note: At one point, the icons for my new items stopped showing up without my changing anything. After a validation of the game's steam files, they reappeared, so if your icons ever disappear, try this first.