cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
700 stars 272 forks source link

Add support for gunmod in other weapon types #5713

Open AskaHope opened 1 week ago

AskaHope commented 1 week ago

Is your feature request related to a problem? Please describe.

Pretty much what it says on the tin, I was trying to develop a system (with my limited knowledge in JSON) where you could modify melee weapons using "gunmods" for specific weapon categories, allowing for more diversity with your favorite melee weapons.

Unfortunately, as much a I try, it doesn't seem like the game likes it when you try to add "gunmods" to non-gun weapons.

Honestly, seems like a missed opportunity for weapon variety, adding slots such as pommel, handguard, coating, shaft and so on would make melee combat extra interesting in my opinion.

Describe the solution you'd like

Just turn "gunmod" into "mod" or "weaponmod".

Additional context

Maybe it's already possible, maybe I'm just really ignorant, please don't throw stones at me, I'm just leaning how to program.

Also I have no idea how much work is behind something like that or if something like that is even in the scope of development, I just think it would be fun to stick with my favorite weapon for a bit longer or for roleplay purposes.

chaosvolt commented 1 week ago

We do have toolmods but what they can do is fairly limited currently: https://github.com/cataclysmbnteam/Cataclysm-BN/blob/main/data/json/items/toolmod.json

RoyalFox2140 commented 1 week ago

Some day melee mods, tool mods, and clothing mods, will work similar to gunmods. It's difficult but Kheir wants to do it.