ideas = {

    ip_economic_base = {
        law = yes
        use_list_view = yes

        agrarian_base = {

            available = {
                num_of_civilian_factories < 20
            }

            removal_cost = 0

            modifier = {
                political_power_factor = 0.15
                monthly_population = 0.25
                consumer_goods_factor = -0.10
                production_speed_buildings_factor = -0.15
                production_factory_max_efficiency_factor = -0.15
                production_factory_efficiency_gain_factor = -0.15
                industrial_capacity_factory = -0.15
                industrial_capacity_dockyard = -0.15
                research_speed_factor = -0.15
            }

            ai_will_do = {
                base = 20

                modifier = {
                    is_major = yes
                    add = -20
                }

                modifier = {
                    num_of_civilian_factories < 10
                    add = 60
                }
            }

            cancel_if_invalid = yes
        }

        banking_tax_heaven = {

            available = {
                NOT = {
                    has_idea = planned_economy
                    has_idea = state_capitalism
                    has_idea = communal_economy
                }
                OR = {
                    AND = {
                       num_of_civilian_factories > 10
                       num_of_civilian_factories < 30
                    }
                    tag = SWI 
                    tag = URG 
                    tag = NZL 
                    tag = LUX 
                }
            }

            modifier = {
                political_power_factor = -0.1
                consumer_goods_factor = -0.1
                global_building_slots_factor = 0.15
                production_speed_infrastructure_factor = 0.1
            }

            ai_will_do = {
                base = 0

                modifier = {
                    tag = SWI 
                    add = 200
                }

                modifier = {
                    tag = LUX
                    add = 200
                }

                modifier = {
                    has_idea = laisezz_faire
                    add = 20
                }

                modifier = {
                    has_idea = rentier_state
                    add = 10
                }
            }

            cancel_if_invalid = yes
        }

        small_business = {

            available = {
                num_of_civilian_factories > 25
                NOT = {
                    has_idea = planned_economy
                }
            }

            modifier = {
                global_building_slots_factor = 0.25
                production_speed_industrial_complex_factor = 0.15
            }

            ai_will_do = {
                base = 20

                modifier = {
                    tag =  USA 
                    add = 20
                }

                modifier = {
                    has_idea = welfare_capitalism
                    add = 40
                }

                modifier = {
                    has_idea = syndicalist_markets
                    add = 40
                }
            }

            cancel_if_invalid = yes
        }

        natural_resources = {
            
            available = {
                num_of_civilian_factories > 20
                OR = {
                    has_idea = export_focus
					has_idea = free_trade
                    has_idea = rentier_state
                }
            }

            modifier = {
                political_power_factor = 0.05
                local_resources_factor = 0.1
                consumer_goods_factor = -0.05
                min_export = 0.10
                production_speed_synthetic_refinery_factor = 0.15
                production_speed_industrial_complex_factor = -0.10
            }

            ai_will_do = {
                base = 0

                modifier = {
                    has_idea = rentier_state
                    add = 80
                }

                modifier = {
                    OR = {
                        tag = VEN
                        tag = IRQ
                        tag = PER
                        tag = AZR
                        tag = MAL
                        tag = INS
                        tag = SAU
                        tag = OMA
                        tag = YEM
                        tag = CRC
                    }
                    add = 40
                }

                modifier = {
                    tag = TUR 
                    add = 20
                }
            }

            cancel_if_invalid = yes
        }

        business_and_enterprise = {

            available = {
                num_of_civilian_factories > 35
                NOT = {
                    has_idea = planned_economy
                    has_idea = state_capitalism
                    has_idea = communal_economy
                }
            }

            modifier = {
                industrial_capacity_factory = 0.1
                political_power_factor = -0.15
                #consumer_goods_factor #= #-0.05
                production_speed_infrastructure_factor = 0.1
                production_speed_dockyard_factor = 0.1
                production_speed_industrial_complex_factor = 0.1
            }

            ai_will_do = {
                base = 20

                modifier = {
                    has_idea = mixed_market
                    add = 40
                }

                modifier = {
                    has_government = neutrality
                    NOT = {
                        has_country_leader_ideology = anarchism
                    }
                    add = 30
                }

                modifier = {
                    has_idea = syndicalist_markets
                    add = 20
                }
            }
            
            cancel_if_invalid = yes
        }

        industry_manufacturing = {

            available = {
                num_of_factories > 50
            }

            modifier = {
                political_power_factor = -0.15
                consumer_goods_factor = 0.15
                industrial_capacity_factory = 0.15
                production_speed_rail_way_factor = 0.15
                production_speed_supply_node_factor = 0.15
                production_speed_arms_factory_factor = 0.05
                production_speed_industrial_complex_factor = 0.05
                production_speed_fuel_silo_factor = 0.15
                production_speed_nuclear_reactor_factor = 0.15
            }

            ai_will_do = {
                base = 0

                modifier = {
                    has_idea = planned_economy
                    add = 60
                }

                modifier = {
                    has_idea = state_capitalism
                    add = 40
                }

                modifier = {
                    has_idea = mixed_market
                    add = 10
                }
            }

            cancel_if_invalid = yes
        }
    }
}