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

strqfzd911

Second Lieutenant
Nov 25, 2021
176
484

Integrity​

I have verified my game files (on Steam)​

Yes

I have disabled all mods​

No

Required​

Summary​

[usermodding] issues with effects/triggers (1.35/1.36)

Description​

Here is a list of current issues I've found with the new modding triggers/effects which have been added to the game since 1.35:

Triggers:

- has_administrative_efficiency_value still does not exist as a trigger (mentioned in 1.34 patchnotes)
- years_of_manpower / years_of_sailors only accepts integers, not scopes like <ROOT> or <FRA> to compare values.
- humiliated = <country_scope> appears to not exist, only humiliated_by = <scope> appears to work.
- has_owner_harmonized_religion = <yes/no> doesn't appear to work.
- has_assimilated_culture_group / has_assimilated_culture appears to only work with culture_group names, eg: korean_g and base scopes, eg: ROOT, FROM, and does NOT work with ProvinceIDs or country scopes eg: (FRA,ENG).
- steers_trade_to = <country_scope> appears to not work at all
- receives_trade_steering_from = <country_scope> has the same problem
- receives_trade_power_from = <country> is broken, but its counterpart transfers_trade_power_to = <scope> works correctly.
- has_advisor_type_in_pool = <advisor_type> doesn't work.
- trade_node = <trade_node_id> doesn't work.
- home_trade_node = <trade_node_id> doesn't work.
- has_liberty_desire_modifier appears to not work, tested with vassal with divert_trade and bestowed_gifts.
- num_of_estate_privileges appears to not check the current amount of granted privileges for the estate.

Effects:

- create_unit_forcelimit_percentage will crash the game when executed in a province scope
- skill parameter in define_advisor only generates a max skill of 3, even if specified higher.
- create_general = {} does not inherit the country's army tradition if it is unspecified as an argument.

Modifiers:

- allowed_marine_fraction is behaving like global_sailors_modifier

Steps to reproduce​

you can use a run file with some simple script to check if the trigger is evaluated properly:

Code:
if = {
        limit = {
                home_trade_node = genua
        }
        add_stability = 1
}

Executing this code will crash the game on 1.36.2 (Tested on Linux):
Code:
capital_scope = {
    create_unit_forcelimit_percentage = {
        type = infantry
        special_unit_category = janissaries
        force_limit_percentage = 0.5
    }
}

Game Version​

1.36.2

OS​

Linux Ubuntu

Additional​

Bug Type​

  • Crash to Desktop
  • Other

Attachments​

View attachment performance_test.txt

Screenshot​

View attachment performance_test.txt

 
Upvote 0