PHP Code:
building temple_protestant
{
convert_to temple_protestant_castle
religion luteranizm, kalwinizm, anglikanizm
levels small_church church abbey cathedral huge_cathedral
{
small_church city requires factions { sweden, denmark, england, egypt, aztecs, } and region_religion luteranizm 51 or region_religion kalwinizm 51 and region_religion anglikanizm 51
{
convert_to 0
capability
{
agent priest 0 requires factions { denmark, egypt, }
agent priest 0 requires factions { england, }
agent priest 0 requires factions { sweden, aztecs, }
happiness_bonus bonus 1
agent_limit priest 1
}
material wooden
construction 1
cost 800
settlement_min town
upgrades
{
church
}
}
church city requires factions { sweden, denmark, england, egypt, aztecs, } and building_present_min_level hinterland_farms farms and building_present_min_level hinterland_roads roads and region_religion luteranizm 61 or region_religion kalwinizm 61 and region_religion anglikanizm 61
{
convert_to 1
capability
{
agent priest 0 requires factions { denmark, egypt, }
agent priest 0 requires factions { england, }
agent priest 0 requires factions { sweden, aztecs, }
happiness_bonus bonus 1
agent_limit priest 1
}
material wooden
construction 2
cost 1600
settlement_min large_town
upgrades
{
abbey
}
}
abbey city requires factions { sweden, denmark, england, egypt, aztecs, } and building_present_min_level hinterland_farms farms+1 and building_present_min_level hinterland_roads roads and region_religion luteranizm 71 or region_religion kalwinizm 71 and region_religion anglikanizm 71
{
capability
{
agent priest 0 requires factions { denmark, egypt, }
agent priest 0 requires factions { england, }
agent priest 0 requires factions { sweden, aztecs, }
happiness_bonus bonus 2
agent_limit priest 2
}
material wooden
construction 3
cost 3200
settlement_min city
upgrades
{
cathedral
}
}
cathedral city requires factions { sweden, denmark, england, egypt, aztecs, } and building_present_min_level hinterland_farms farms+2 and building_present_min_level hinterland_roads roads and region_religion luteranizm 81 or region_religion kalwinizm 81 and region_religion anglikanizm 81
{
capability
{
agent priest 0 requires factions { denmark, egypt, }
agent priest 0 requires factions { england, }
agent priest 0 requires factions { sweden, aztecs, }
happiness_bonus bonus 2
religion_level bonus 2
agent_limit priest 1
population_health_bonus bonus 1
}
material wooden
construction 4
cost 6400
settlement_min large_city
upgrades
{
huge_cathedral
}
}
huge_cathedral city requires factions { sweden, denmark, england, egypt, aztecs, } and building_present_min_level hinterland_farms farms+3 and building_present_min_level hinterland_roads paved_roads and region_religion luteranizm 91 or region_religion kalwinizm 91 and region_religion anglikanizm 91
{
capability
{
agent priest 0 requires factions { denmark, egypt, }
agent priest 0 requires factions { england, }
agent priest 0 requires factions { sweden, aztecs, }
happiness_bonus bonus 3
religion_level bonus 2
agent_limit priest 2
population_health_bonus bonus 2
}
material wooden
construction 6
cost 12800
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}