In the other hand, lets say we have a bowyer class that use rifles, I'm completely able to make lets say 4 different types of rifles that use the same materials and the "dwarf" using the class will equip any of these rifles, right?
Yes exactly. So to build on my previous example you could add
[ITEM_WEAPON:ITEM_WEAPON_DOUBLESHOTGUN]
[NAME:double barrel shotgun:double barrel shotguns]
[SIZE:500]
[SKILL:HAMMER]
[RANGED:SPEAR:SHOTSHELLS]
[SHOOT_FORCE:8000] #
[SHOOT_MAXVEL:2000] # Reloads twice as fast as the other one
[TWO_HANDED:60000] #
[MINIMUM_SIZE:40000]
[MATERIAL_SIZE:9]
[ATTACK:BLUNT:500:50:strike:strikes:handle:2000] #
[ITEM_WEAPON:ITEM_WEAPON_MELEESHOTGUN]
[NAME:chainblade shotgun:chainblade shotguns]
[SIZE:750]
[SKILL:AXE] # Assuming you keep this as another melee skill for "chainblades", if that's a thing in GoW?
[RANGED:SPEAR:SHOTSHELLS]
[SHOOT_FORCE:8000] #
[SHOOT_MAXVEL:1000] #
[TWO_HANDED:100000] # Few humans are so big, so it's a 2H weapon
[MINIMUM_SIZE:60000] # Some dwarves would be too small to even handle it at all
[MATERIAL_SIZE:15]
[ATTACK:EDGE:500:4000:stab:stabs:chainsaw bayonet:1000] # mediocre melee attack
[ATTACK:EDGE:2000:4000:slash:slashes:chainsaw bayonet:1500] # decent melee attack
[ATTACK:EDGE:6000:6000:eviscerate:eviscerates:chainsaw bayonet:2500] # pretty good melee
[ATTACK:BLUNT:500:50:strike:strikes:handle:2000] # weak
P.S. I think a "bowyer" is a dwarf who makes bows, not who uses them, so be careful about getting tripped up by that