simplyWiri / Loadout-Compositing

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

[BUG?] Priorities not respected #91

Closed ChaosInfinited closed 1 week ago

ChaosInfinited commented 1 week ago

Hi, loving the mod so far! However I think I've encountered a bug (unless I'm missing something)

Got an ideology leader (and an acolyte) pawn.

Made following tags: image

In my reasoning, unless I make the Pawn Fighting, it should equip everything up to the Hunter tag, so extras, normal, ideally gender gear with bonuses, then medic, but if possible, pick the Leader required set - and this works just fine.

But when I make the pawn Fighting, it will grab the available Leader Soldier gear, pretty much ignoring the Hunter set, and will just grab the Leader one instead. To be precise, it will grab flak pants, but won't pick flak vest or jacket, opting for the lower prio Leader's cape and formal shirt.

My reasoning was that, if you're Fighting, first and foremost, grab the Leader Soldier gear, then grab whatever you can from the Hunter set, and only after that, grab the yet applicable Leader etc., as in, grab the best possible armor you can at the moment, if panicked/fighting.

However, the Leader loadout seems to have a higher prio than the Hunter. It works fine if I set to pick the Leader outfit only when said pawn is NOT Fighting.

It's not the end of the world, can be partially mitigated, but it's confusing enough for me to think that there's some flaw in the logic, Hunter tag is higher in prio than Leader, as is the Leader Soldier, yet for some reason the Pawn will grab full set of Leader tag, instead of Hunter, despite being in Fighting loadout mode.

Can just stick to unless fighting, but don't want the Pawn to drop their Leader gear in case of having no better alternatives.

Question is, is it an actual bug in the mod (will gladly provide any help with it) or it's in my brains and I'm missing something.

(also thanks for the vanishing cursor for linux fix :))

ChaosInfinited commented 1 week ago

Tried even more packed loadout: image Now the pawn will equip prestige recon armor and prestige cataphract helmet, despite having a valid cataphract armor of good quality and 100% condition (which can be equipped without any issue by force, without overweight).. not sure what's happening there anymore :thinking:

If I remove prestige recon set, it will go for prestige marine, if I remove prestige marine, then it's finally content with wearing a cataphract..

Changing the priorities as such: image Also makes the pawn to pick up the cataphract, but if I move the prestige recon set above regular recon, then it tries to go for prestige recon (doesn't matter if I set any of them to fighting state or not)

Using the Prioritize wearing load bearing items mod option doesn't seem to affect it at all, I also have Only wear items found in loadout setting on.

And one more example. image Even when I set the flak vest to any quality and condition, the pawn will not wear one, no matter what, if I force them to wear it and clear the forced flag, it will promptly remove it for some reason.. started to think that maybe the tag's priority works in reverse, from low to high, despite the Coverage simulation showing it should be correct, but moving hunter tag any lower.. surprisingly doesn't change anything either.

ChaosInfinited commented 1 week ago

Nvm... I've had my Anything policy set up to only wear good items or better, thus the pawns would behave weirdly.