Information
I have verifed my game files (Steam only)
YesI have disabled all mods
YesI am running the latest game update
YesRequired
Summary
The can_equip_artifact trigger has changed incompatibly and this breaks Gift Artifact, as well as other scripts and modsDescription
In 1.8.*, the can_equip_artifact trigger returned true if the scoped character could equip the artifact (satisfied the conditions in the can_equip section of the artifact template), independently of whether they owned it or not. This changed in 1.9.*, and now this trigger returns true only if the scoped character owns the artifact.This broke the Gift Artifact interaction, which relied on the old behavior of the trigger, and there were multiple bug reports for that in 1.9.0.3 and 1.9.0.4, here are some of them:
* https://forum.paradoxplaza.com/foru...is-useless-to-recipient-when-its-not.1583999/
* https://forum.paradoxplaza.com/forum/threads/gift-artifact-warning-error.1584750/
* https://forum.paradoxplaza.com/foru...-it-even-when-they-should-be-able-to.1585122/
I think this issue is still not fixed in 1.9.1. I don't want to report the same issue twice but would like to focus on the modding aspects.
All mods that use the trigger are also broken, and what is worse there is no other trigger, so they can't really be fixed. I suspect vanilla scripts relying on the old behavior outside of the Gift Artifact interaction might also be broken. The trigger is used in several other places in situations where the scoped character doesn't (yet) own the artifact, such as the martial_chivalry.6002 event and the raiding.0014 event, but an issue there is much harder to prove because random chances are involved.
In my own mods I had to resort to ugly workarounds such as this code: https://github.com/pharaox/artifact...ripted_triggers/at_artifact_triggers.txt#L148. This is imperfect at best and causes a lot of frustration and additional effort for modders.
Could you please fix the can_equip_artifact trigger so that it behaves as in 1.8.*? This will bring the Gift Artifact interaction back to normal and other scripts and mods using it as well.
Steps to reproduce
* Try use the Gift Artifact interaction on any character. You will get warnings that the artifact can't be equipped by the recipient even when it can.Game Version
1.9.1Platform
WindowsAdditional Information
Affected Feature
- Events
- Gameplay
- Modding
Save Game
Other Attachments
Last edited:
Upvote
0