Search
Items tagged with: eu5
your Intel® Core™ i5-12600 when Europa Universalis 5 asks the NT kernel to push eight thousand transparently compressed text files through windows defender so it can parse them in serial
#eu5
fun little quirk with #eu5 modding.
so we're making an estate privilege (bonus power granted to a faction) that's bad, and it's automatically granted to certain nations at game start. because this is a bad privilege that's mean to simulate some historical accuracy stuff (not my wheelhouse, i'm just writing the code), we don't want the player to be able to manually grant the privilege. the only way to get it should be through the forced game start event.
i tried setting the privilege to always be ungrantable, but that caused the startup script to be unable to grant it. of course.
i looked into how the existing privileges in this style work. turns out, if you make a privilege require itself to be already granted in order to grant it, the script can grant it, but the player can't manually grant it.
why does it work like that? beats me