I can’t board up a window with two by fours and a loaded nail gun.
It wouldn’t be that simple: then, you could use a nail gun to make a screwdriver out of scrap metal
Make it a viable tool in crafting, maybe?
Also, it’s unclear if nailgun is electric or pneumatic tool, but either way it does too small damage as weapon, especially in comparison to pneumatic weapons. Nails can do serious damage IRL. Coilgun is pathetic too.
This is a bit trickier than it seems, we can’t just give nailguns the hammering quality because there are a ton of recipes that use that to determine if you can use a tool as a hammer in general, so for shaping metal. Also just giving them the hammering quality won’t let you use the nails loaded in the gun itself.
I think to make this work right we’ll have to separate out hammering and nail driving, and add in some code that will let the tool supply the nails for the crafting task.