simplyWiri / Loadout-Compositing

GNU Lesser General Public License v3.0
12 stars 8 forks source link

Feature: Treat Multiple Items as Equivalent #65

Open Raszul opened 1 year ago

Raszul commented 1 year ago

I'd like to request a feature.

Recently I've been using the CAS mod group. Those mods add camouflage patterns to the game. That means that for every vanilla armor (and a few modded ones, namely gloves and boots), there is the base version without a camo pattern and one additional version for each of about 6-8 camo patterns.

Hence when trying to tell my people to "just wear any marine armor", I can't just add one item to the tag, I need to add all of them. Which I can't since they fill the same 'slots'/cover the same areas.

My request is the ability to create lists of equivalent items (e.g. in the mod settings) that cover the same areas & layers. Then have the option to add these lists in a tag as if they were an item.

Then having the mod treat this in the same way as it does having multiple items of the same type. when trying to equip/fulfill the loadout. (e.g. the items on one of these lists are seen no different from considering which of 5 button-up shirts to pick for wearing)

Thank you a LOT for your hard work with this mod - I'm loving it. (the only true gripe I have with it, is that it isn't CE-compatible... but ... I use it whenever I can anyways :-P )

Raszul commented 1 year ago

PS: depending on implementation, this might either be merged with, or be the solution for Issue https://github.com/simplyWiri/Loadout-Compositing/issues/19

simplyWiri commented 1 year ago

Yeah, this would more or less be a subset of #19. The main challenge here is the items on one of these lists are seen no different from considering which of 5 button-up shirts to pick for wearing.

I've done the hard part for this now, I just need to find the time to finish up the implementation, which is a decent amount of logic changes, but more dauntingly, lots of GUI.

Notably this is also the feature I am wanting to do before I add the CE integration. The lack of this feature would make bullet / ammo management within CE quite painful (unless you use a single standard type), and using mods which add scores and scores of guns more painful than it already it).

Raszul commented 1 year ago

thinking about it ... assuming you go with lists as i suggested ... we might need two types of lists a) a list of items that are equivalent b) a list of items listed in the order of preference (e.g. use APHE ammo if you can, but if we are out then FMJ will do as well)

just thinking out loud here...