﻿crc_religion = {
    picture = {
        reference = "gfx/interface/illustrations/decisions/rel.dds"
    }

    cost = {
        gold = {
            value = 1000

            every_sub_realm_county = {
                limit = {
                    NOT = {
                        faith = root.faith
                    }
                }
                add = 10
            }
            divide = 100
            ceiling = yes
            multiply = 100
        }

        piety = {
            value = 0
            every_sub_realm_county = {
                limit = {
                    NOT = {
                        faith = root.faith
                    }
                }
                add = 10
            }
            divide = 100
            ceiling = yes
            multiply = 100
        }
    }

    effect = {
        every_sub_realm_county = {
            limit = {
                NOT = {
                    faith = root.faith
                }
            }
            county_controller = {
                save_scope_as = cc

                scope:cc = {
                    if = {
                        limit = {
                            NOT = {this = root}
                        }
                        add_gold = 8
                    }
                }
            }
            set_county_faith = root.faith
        }
    }

    is_valid = {
        is_landed = yes
        any_sub_realm_county = {
            NOT = {
                faith = root.faith
            }
        }
    }

    cooldown = { days = 30 }

    ai_check_interval = 0

}

crc_culture = {
    picture = {
        reference = "gfx/interface/illustrations/decisions/cul.dds"
    }

    cost = {
        gold = {
            value = 1000

            every_sub_realm_county = {
                limit = {
                    NOT = {
                        culture = root.culture
                    }
                }
                add = 10
            }
            divide = 100
            ceiling = yes
            multiply = 100
        }

        prestige = {
            value = 0
            every_sub_realm_county = {
                limit = {
                    NOT = {
                        culture = root.culture
                    }
                }
                add = 10
            }
            divide = 100
            ceiling = yes
            multiply = 100
        }
    }

    effect = {
        every_sub_realm_county = {
            limit = {
                NOT = {
                    culture = root.culture
                }
            }
            county_controller = {
                save_scope_as = cc

                scope:cc = {
                    if = {
                        limit = {
                            NOT = {this = root}
                        }
                        add_gold = 8
                    }
                }
            }
            set_county_culture = root.culture
        }
    }

    is_valid = {
        is_landed = yes
        any_sub_realm_county = {
            NOT = {
                culture = root.culture
            }
        }
    }

    cooldown = { days = 30 }

    ai_check_interval = 0

}