cwtools / cwtools-eu4-config

.cwt config for eu4
MIT License
9 stars 13 forks source link

Ideas are not in the country scope #417

Open maxice8 opened 2 months ago

maxice8 commented 2 months ago

Ideas are not treated as COUNTRY scope, allowing one to use province-level ideas.

For example in this piece of code, the idea sersecond has the wrong modifier, it needs the "global" prefix.

SER_ideas = {
    start = {
        land_morale = 0.10
        manpower_recovery_speed = 0.15
    }

    bonus = {
        discipline = 0.05    
    }

    trigger = {
        tag = SER
    }
    free = yes            #will be added at load.

    ser_first = {
        fort_maintenance_modifier = -0.2 
    }
    ser_second = {
        trade_goods_size_modifier = 0.1
    }
    ser_third = {
        cavalry_power = 0.1
        morale_damage = 0.1 #or let them recruit winged hussars if feeling spicy
    }
    ser_fourth = {
        ae_impact = -0.1
    }
    ser_fifth = {
        idea_cost = -0.1
    }
    ser_sixth = {
        leader_land_shock = 1
    }
    ser_seventh = {
        diplomatic_reputation = 1
    }
}
17blue17 commented 2 months ago

I found the right .cwt file and the right line to fix but the fix has no impact. I have posted on discord asking Caligula for input as I do not understand why replace scope does not work.