Closed nbusseneau closed 8 months ago
Thank you for the detailed bug report. This has been a known issue with low priority to fix. It does appear the list is stored comma separated, which should be very easy for me to add compatibility in a future update.
Cheers, I sent a pull request for this at #34, hopefully this will be a good enough stopgap solution until you revisit this later.
Merged, added in version 0.2.9
Hey, thanks for the awesome mods.
It seems there is an incompatibility between Passive Powers and World Advancement Progression. PP allows multiple powers to be grabbed at the same time (2 by default), and optionally allows activating one of them for a short burst of power.
With WAP's
UsePrivateKeys
+LockGuardianPower
enabled, and provided the appropriate private player keys are registered:Reproduction steps used
Sanity check
F
: this is allowed by WAP, as expected.F
: this is allowed by WAP, as expected.Compatibility check
F
: this is allowed by WAP, as expected.F
andF + LeftShift
: both are blocked by WAP.Potential source of conflict
Note: I've only glanced at WAP's code and the code at https://github.com/blaxxun-boop/PassivePowers/ so this might be completely wrong, but I think PP registers multiple powers by having
m_guardianPower
inPlayer
be a comma-separated string of the powers, e.g.GP_Eikthyr,GP_TheElder
when grabbing both as in the reproduction steps above. Trying to manually change powers via the console usingsetpower GP_Eikthyr,GP_TheElder
at least seems to confirm this hypothesis. WAP then fails to match this because it of course does not know the powerGP_Eikthyr,GP_TheElder
when trying to match it inHasGuardianKey
: https://github.com/OrianaVenture/VentureValheim/blob/ab9ccea04b2f51e57ce251356db21c39eda3fefd/Progression/src/KeyLockingManager.cs#L216-L229