• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

pharaox

Second Lieutenant
33 Badges
May 21, 2010
172
117
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis III Complete
  • Deus Vult
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Third Rome

Information​

I have verifed my game files (Steam only)​

Yes

I have disabled all mods​

Yes

I am running the latest game update​

Yes

Required​

Summary​

The can_equip_artifact trigger has changed incompatibly and this breaks Gift Artifact, as well as other scripts and mods

Description​

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.1

Platform​

Windows

Additional Information​

Affected Feature​

  • Events
  • Gameplay
  • Modding

Save Game​



Other Attachments​



 
Last edited:
Upvote 0