sf-inc / sihywtcamc

So I Heard You Were Talking Crap About Minecraft's Combat
https://modrinth.com/mod/combat
MIT License
0 stars 1 forks source link

Feature request: Config Reorganisation #24

Closed AzureMonument closed 3 years ago

AzureMonument commented 3 years ago

So I'm playing a heavy-modded custom modpack. It adds... quite a bit of tools and weapons. The fact I can add them in the config is great- but man is it a slog. Just the stone (level) swords alone take up 48 lines- and that's with me reducing the size from 6 lines per weapon down to four by moving the brackets. And I still have to do every single tool and such. image

It'd be nice if the config was made in such a way that it uses an array to get the names of items and then applies the following attributes as normal. I.e: { identifiers: [minecraft:stone_sword, sentimentality3:granite_sword, ...extera...], attackDamage: 4.0, attackSpeed: 3.0, attackReach: 3.0 }

Thus allowing a stupid amount of space and alot of copy+pasting to be saved. Don't know if this is actually possible, but it would be greatly appreciated. Thank you for your time and the mod~

charlyb01 commented 3 years ago

This was actually a struggle to allow other mods weapons in the configs, but yeah I understand yours too ^^ I will see what I can do, but your idea seems great. Thanks a lot =)

charlyb01 commented 3 years ago

Okay, I changed it the way you wanted so that it takes less lines ;) I attach you a beta version because I'm a bit lazy to test with mods and I guess you already have a file doing this, or you just have to change a few lines. IMPORTANT: Note that you'll need to delete (or move somewhere else) your old config file so that it will generate a proper one. sihywtcamc-beta.zip

charlyb01 commented 3 years ago

I tested it and it works ;)

AzureMonument commented 3 years ago

Thanks! I just got on this morning, so I'll also load it up in a bit.