• 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.
Showing developer posts only. Show all posts in this thread.
If I told you that the trigger primary_culture, which usually works in a country scope, doesn't work in a core scope in the poptypes files, while the trigger is_primary_culture, which usually works in a pop scope, does, would you understand what that means, would you realize that it's a bug, could you fix it?
If it's no to all three, you're not a dev by my definition. Too bad. Not that anybody would care about my definition....

Your definition is wrong though. Only programmers and maybe scripters familiar with the Victoria 2 project would be able to answer that one, and only after checking the source code. Surely programmers on EU4 are developers too? And artists and composers and designers. Your definition is too narrow if it only means "programmer". A developer is anyone who helps make a game (I guess it should be "gets paid to" or all our awesome alphas and betas would be developers as well, which I guess could be argued).

non-modders can zone out at this point, here we go:

btw there is no such thing as a core scope in Victoria 2. I assume you meant any_core though? That trigger is a bit special because it depends on what scope it is called from what its actual behaviour is. If called on a province scope it checks the trigger for any country that has a core there (using a country scope) but if called in a country scope it checks all its core provinces for a match with the triggers using a province scope.

primary_culture - only works on country scope, so will only work if the any_core is called from a province
is_primary_culture - has some really complex behaviour. With a THIS scope target it can use country scope, capital scope, province and pop scope. Normally it uses pop scope and falls back on province if that isnt there.

So you see it depends on how you called them. While confusing, and not so easy to learn, this is well defined behaviour and not a bug, however we have done a lot of work to improve our triggers in newer games (Captain Gars threatened to beat us up) and they are now much more clearly named and standardized for how they should be used with less cowboy special cases. Check out modding in Eu4 for examples of that. The Secret Projects in development have an even more improved system to help modders and developers which you will find out about further down the road.

How close are PI and PDS? Or rather, how distant?

We share the same coffee machine, lunch room and beer supply so we are pretty close :)