CUT_WEAPON doesn't exist, only CUT_ITEM. Also layer linked civs currently just use all metals for their equipment, although the old groups of 5-10 still exist and properly use the right materials, the new cavern invaders don't.
Then evidently I misread some stuff, which is entirely on me. I appreciate the correction. I have to iron out some small issues for a lil baby bugfix release anyways, so I'll reimplement the weapon patch then.
As for the cavern dwellers, all I did was give them more stuff to use for weapons and armor/apparel, I didn't fiddle with available materials, so what they use is what they use on that front. Can just assume they use stuff they've stolen or scavenged from deep dwarf or goblin settlements. If there's some jank with new armor or apparel, then there's some jank.
EDIT: I did double check my tags on the weapon patch, I had indeed used CUT_ITEM so something else went wrong there. I also forgot I added the faux metals, lol. I added them in really early on in the update so I just sorta forgot. if they use'em, great, if not, oh well. I'll find out soon enough.
EDIT II: Seems there's some real jank shit going on that wasn't happening in previous tests/uses of the mod. Not sure what's causing them. Also I need to go through a number of things and make them non-pets, my most recent test for ended up with what amounts to naked tiger beetle man slaves lol.