    ideas = {

    ep_economic_model = {
        law = yes
        use_list_view = yes

        rentier_state = {

            available = {
                OR = {
                   AND = {
                        OR = {
                          oil > 200
                          rubber > 200
                        }
                        NOT = {
                            has_government = communism
                            tag = USA 
                            tag = ENG
                            tag = FRA
                            tag = GER
                        }
                    }
                   AND = {
                    NOT = {
                        has_government = communism
                    }
                    OR = {
                        tag = VEN
                        tag = IRQ
                        tag = PER
                        tag = AZR
                        tag = MAL
                        tag = INS
                        tag = SAU
                        tag = OMA
                        tag = YEM
                        tag = CRC
                     }
                  } 
                }
            }
            
            level = 8

            modifier = {
                political_power_gain = 0.25
                local_resources_factor = 0.25
                #consumer_goods_factor #= #-0.10
                production_speed_buildings_factor = -0.10
                industrial_capacity_factory = -0.10
                research_speed_factor = -0.05
                drift_defence_factor = 0.25
                max_fuel_factor = 0.20
                fuel_gain_factor = 0.20
            }

            ai_will_do = {

                base = 40

                modifier = {
                    has_government = neutrality
                    add = 40
                }

                modifier = {

                    OR = {
                        tag = IRQ
                        tag = PER
                        tag = AZR
                        tag = SAU
                        tag = OMA
                        tag = YEM
                    }
                    add = 100
                }

                modifier = {
                    factor = 3
                }
            }

            cancel_if_invalid = yes
        }

        laisezz_faire = {

            available = {

                NOT = {
                    has_government = communism
                }
            }

            level = 7

            modifier = {
                political_power_factor = 0.10
                local_resources_factor = -0.05
                consumer_goods_factor = -0.10
                stability_factor = -0.05
                production_speed_buildings_factor = -0.10
                production_factory_max_efficiency_factor = 0.05
                research_speed_factor = 0.10
                industrial_capacity_factory = 0.10
                industrial_capacity_dockyard = 0.20
                min_export = 0.15

            }

            ai_will_do = {
                base = 20

                modifier = {
                    has_government = neutrality
                    add = 40
                }

                modifier = {
                    has_government = fascism
                    add = 20
                }

                modifier = {
                    factor = 3
                }
            }

            cancel_if_invalid = yes
        }

        welfare_capitalism = {
             
             available = {

                NOT = {
                    has_government = communism
                    has_government = fascism
                }
            }

            level = 6

            modifier = {
                political_power_factor = 0.07
                local_resources_factor = -0.05
                #consumer_goods_factor #= #-0.05
                production_speed_buildings_factor = -0.05
                #production_factory_max_efficiency_factor #= #-0.075
                research_speed_factor = 0.05
                industrial_capacity_factory = 0.05
                industrial_capacity_dockyard = 0.10
                min_export = 0.10
            }

            ai_will_do = {
                base = 30

                modifier = {
                    has_government = democratic
                    add = 40
                }

                modifier = {
                    has_government = neutrality
                    add = 10
                }

                modifier = {
                    tag = USA
                    has_government = democratic
                    add = 100
                }

                modifier = {
                    tag = ENG
                    has_government = democratic
                    add = 100
                } 

                modifier = {
                    factor = 3
                }          
            }
                 cancel_if_invalid = yes
        }

        mixed_market = {

            available = {

            }

            level = 5

            modifier = {
                political_power_factor = 0.05
                local_resources_factor = 0.10
                consumer_goods_factor = -0.05
                production_speed_buildings_factor = 0.05
                production_factory_max_efficiency_factor = -0.05
                min_export = 0.05
            }

            ai_will_do = {
                base = 40

                modifier = {
                    factor = 3
                }
            }

            cancel_if_invalid = no

            default = yes
        }

        state_capitalism = {

            available = {
                NOT = {
                    has_government = democratic
                }
            }

            level = 4

            modifier = {
                political_power_factor = -0.05
                local_resources_factor = 0.15
                stability_factor = 0.05
                consumer_goods_factor = 0.05
                production_speed_buildings_factor = 0.075
                production_factory_max_efficiency_factor = -0.025
                research_speed_factor = -0.025
                industrial_capacity_factory = 0.05
                min_export = -0.10
            }

            ai_will_do = {
                base = 20

                modifier = {
                    has_government = fascism
                    add = 40
                }

                modifier = {
                    has_government = neutrality
                    add = 10
                }

                modifier = {
                    has_government = fascism
                    OR = {
                        tag = GER
                        tag = ITA
                    }
                    add = 100
                }

                modifier = {
                    factor = 3
                }
            }

            cancel_if_invalid = yes
        }  
        
        planned_economy_a = {

            available = {
                NOT = {
                    
                    has_government = democratic  
                }
            }

            level = 3

            modifier = {
                political_power_factor = -0.1
                local_resources_factor = 0.20
                consumer_goods_factor = 0.10
                stability_factor = 0.10
                production_speed_buildings_factor = 0.10
                production_factory_efficiency_gain_factor = 0.05
                research_speed_factor = -0.075
                industrial_capacity_factory = 0.10
                conversion_cost_civ_to_mil_factor = -0.10
                conversion_cost_mil_to_civ_factor = -0.10
                min_export = -0.15
            }

            ai_will_do = {

                base = 20

                modifier = {
                    has_government = fascism
                    add = 20
                }

                modifier = {
                    has_government = communism
                    add = 80
                }

                modifier = {
                   
                   has_country_leader_ideology = stalinism
                    add = 100
                }

                modifier = {
                    factor = 3
                }
            }
            
            cancel_if_invalid = yes
        }

        communal_economy = {

            available = {
                OR = {
                    has_government = communism
                    has_country_leader_ideology = anarchism
                }
            }
            
            level = 2
        
            modifier = {
                political_power_factor = 0.10
                local_resources_factor = -0.20
                consumer_goods_factor = -0.30
                stability_factor = -0.30
                production_speed_buildings_factor = -0.10
                production_factory_efficiency_gain_factor = 0.10
                production_factory_max_efficiency_factor = 0.20
                research_speed_factor = -0.10
                industrial_capacity_factory = -0.15
                conversion_cost_civ_to_mil_factor = +2.0
                conversion_cost_mil_to_civ_factor = -2.0
                min_export = -0.25

            }

            ai_will_do = {
                base = 20

                modifier = {
                    has_government = communism
                    NOT = { 
                        OR = {
                        has_country_leader_ideology = stalinism
                        has_country_leader_ideology = leninism
                        has_country_leader_ideology = marxism
                        }
                    }
                    add = 20
                }

                modifier = {
                    has_country_leader_ideology = anarchism
                    add = 100
                }

                modifier = {
                    factor = 3
                }
            }

             cancel_if_invalid = yes
        }

        syndicalist_markets = {

            available = {
                OR = {
                  has_government = communism
                  has_country_leader_ideology = anarchism
                  has_country_leader_ideology = socialism
                }
            }

            level = 1

            modifier = {
                political_power_factor = 0.05
                consumer_goods_factor = -0.05
                local_resources_factor = -0.05
                production_speed_arms_factory_factor = -0.15
                industrial_capacity_factory = 0.05
                production_factory_start_efficiency_factor = 0.05
                production_factory_efficiency_gain_factor = 0.10
                production_factory_max_efficiency_factor = 0.10
                research_speed_factor = 0.05
                min_export = 0.05

            }

            ai_will_do = {
                base = 20
                
                modifier = {
                    NOT = {
                        has_country_leader_ideology = stalinism
                        has_country_leader_ideology = leninism
                    }
                    has_country_leader_ideology = marxism
                    add = 40
                }

                modifier = {
                    has_country_leader_ideology = anarchist_communism
                    add = 100
                }

                modifier = {
                    has_country_leader_ideology = socialism
                    add = 50
                }

                modifier = {
                    
                    OR = {
                        has_country_leader_ideology = stalinism
                        has_country_leader_ideology = leninism
                    }

                    add = -20
                }

                modifier = {
                    factor = 3
                }
            }

            cancel_if_invalid = yes
        }
    }
}

