upgrade_ggsm_great_chapel = {
	picture = GFX_upgrade_icon_ggsm_great_chapel
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { holy contemplative is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	owner_modifier = {
		monthly_character_piety = 0.10
		church_opinion = 5
		catholic_opinion = 3
	}
}

upgrade_ggsm_hall_open_mercy = {
	picture = GFX_upgrade_icon_ggsm_hall_open_mercy
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { room holy is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	owner_modifier = {
		monthly_character_piety = 0.05
		sex_appeal_opinion = 5
		catholic_opinion = 2
	}
}

upgrade_ggsm_hospice_mercy = {
	picture = GFX_upgrade_icon_ggsm_hospice_mercy
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { is_singular ggsm_mercy_hospice }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = {
		disease_defence = 0.25
		local_revolt_risk = -0.03
	}
	owner_modifier = {
		monthly_character_piety = 0.10
		kind_opinion = 5
	}
}

upgrade_ggsm_pilgrims_hospice = {
	picture = GFX_upgrade_icon_ggsm_pilgrims_hospice
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { air_bnb is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = { local_tax_modifier = 0.03 }
	owner_modifier = {
		monthly_character_piety = 0.05
		court_size_modifier = 5
	}
}

upgrade_ggsm_grand_scriptorium = {
	picture = GFX_upgrade_icon_ggsm_grand_scriptorium
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { inspires_learning is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	owner_modifier = {
		learning = 1
		monthly_character_piety = 0.10
	}
}

upgrade_ggsm_school_magdalene = {
	picture = GFX_upgrade_icon_ggsm_school_magdalene
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { inspires_learning is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = {
		culture_techpoints = 0.10
		economy_techpoints = 0.10
		military_techpoints = 0.10
	}
	owner_modifier = { tech_growth_modifier = 0.25 }
}

upgrade_ggsm_cisterns_kept_mercies = {
	picture = GFX_upgrade_icon_ggsm_cisterns_kept_mercies
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { secluded is_plural ggsm_kept_mercy_cisterns }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = {
		disease_defence = 0.02
		siege_defence = 0.05
	}
	owner_modifier = { monthly_character_prestige = 0.05 }
}

upgrade_ggsm_sacred_baths = {
	picture = GFX_upgrade_icon_ggsm_sacred_baths
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { is_plural healing }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = { disease_defence = 0.05 }
	owner_modifier = {
		health = 0.25
		monthly_character_piety = 0.05
	}
}

upgrade_ggsm_chapter_house = {
	picture = GFX_upgrade_icon_ggsm_chapter_house
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { room is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	owner_modifier = {
		diplomacy = 1
		vassal_opinion = 3
		monthly_character_prestige = 0.05
	}
}

upgrade_ggsm_shrine_magdalene = {
	picture = GFX_upgrade_icon_ggsm_shrine_magdalene
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { holy decorative contemplative is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	owner_modifier = {
		monthly_character_piety = 0.10
		monthly_character_prestige = 0.05
		catholic_opinion = 5
	}
}

upgrade_ggsm_great_kitchens = {
	picture = GFX_upgrade_icon_ggsm_great_kitchens
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { is_plural }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = {
		local_revolt_risk = -0.03
		disease_defence = 0.01
	}
	owner_modifier = {
		kind_opinion = 5
		monthly_character_piety = 0.05
	}
}

upgrade_ggsm_gardens_magdalene = {
	picture = GFX_upgrade_icon_ggsm_gardens_magdalene
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { nature contemplative secluded is_plural }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = { disease_defence = 0.02 }
	owner_modifier = {
		health = 0.25
		monthly_character_prestige = 0.03
	}
}

upgrade_ggsm_house_courtesans = {
	picture = GFX_upgrade_icon_ggsm_house_courtesans
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { room is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	owner_modifier = {
		diplomacy = 1
		fertility = 0.05
		catholic_opinion = 2
	}
}

upgrade_ggsm_guest_house = {
	picture = GFX_upgrade_icon_ggsm_guest_house
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { air_bnb is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	owner_modifier = {
		diplomacy = 1
		monthly_character_prestige = 0.05
		general_opinion = 2
	}
}

upgrade_ggsm_rose_cloister = {
	picture = GFX_upgrade_icon_ggsm_rose_cloister
	potential = { religion = catholic }
	allow = { }
	active = { religion = catholic }
	flags = { decorative contemplative nature is_singular }
	build_time = 24
	gold_cost_flat = 450
	gold_cost_ticking = 1
	local_modifier = { local_revolt_risk = -0.01 }
	owner_modifier = {
		monthly_character_piety = 0.05
		monthly_character_prestige = 0.05
		church_opinion = 3
	}
}
