aaahhh, I hadn't included scancode.hsi, that's why I was declaring the keys as variables. I guess without scancode it didn't know what I was trying to tell it to do.
Yeah, the funny thing was that I
wasn't getting script errors! Everything appeared as if it ought to have been working, but nothing really was.
As it is now, when I enter the map I'm using for my crafting table, one NPC is automatically created in the center block, which I have to try to get rid of, or prevent from appearing.
Other than that I am able to place one of each NPC on the table, each from their own keypress. I need to trudge through the plotscripting dictionary to see if I can find how to make multiple copies of the same NPC using the same keypress.
Again, this is all assuming that at some point I will be able to make it so that if certain NPCs are in a certain pattern on the table, a new item will become available, a la Minecraft
But thank you so much for that reply! Somehow I was clueless to the fact that I had to include scancode.hsi, I would never had figured that out. So thanks again to you and the other poor souls who have taken pity on me in my quest to add some kind of minecraft ripoff system to this game.