Code:
building core_building
{
convert_to core_castle_building
levels wooden_pallisade wooden_wall stone_wall large_stone_wall huge_stone_wall
{
wooden_pallisade city requires factions { northern_european, middle_eastern, barbari_european, vreek, southern_european, }
{
convert_to 1
capability
{
recruit_pool "Town Guards" 1 0.2 2 0 requires factions { hylian, }
recruit_pool "Conscripts" 1 0.2 2 0 requires factions { lanayru, }
recruit_pool "Cannon Fodder" 1 0.2 2 0 requires factions { labrynna, }
wall_level 0
tower_level 1
free_upkeep bonus 2
happiness_bonus bonus 1
recruitment_slots 1
law_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
population_health_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
happiness_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
}
faction_capability
{
religion_level bonus 1
amplify_religion_level 1
}
material wooden
construction 2
cost 600
settlement_min village
upgrades
{
wooden_wall
}
}
wooden_wall city requires factions { northern_european, middle_eastern, barbari_european, vreek, southern_european, }
{
convert_to 2
capability
{
recruit_pool "Town Guards" 1 0.2 2 0 requires factions { hylian, }
recruit_pool "Conscripts" 1 0.2 2 0 requires factions { lanayru, }
recruit_pool "Cannon Fodder" 1 0.2 2 0 requires factions { labrynna, }
wall_level 1
gate_strength 1
tower_level 1
free_upkeep bonus 3
happiness_bonus bonus 1
recruitment_slots 2
law_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
population_health_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
happiness_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
}
faction_capability
{
religion_level bonus 1
amplify_religion_level 1
}
material wooden
construction 2
cost 1200
settlement_min town
upgrades
{
stone_wall
}
}
stone_wall city requires factions { northern_european, middle_eastern, barbari_european, vreek, southern_european, }
{
capability
{
recruit_pool "Town Guards" 1 0.2 2 0 requires factions { hylian, }
recruit_pool "Conscripts" 1 0.2 2 0 requires factions { lanayru, }
recruit_pool "Cannon Fodder" 1 0.2 2 0 requires factions { labrynna, }
wall_level 2
tower_level 1
gate_strength 1
free_upkeep bonus 4
happiness_bonus bonus 1
recruitment_slots 2
law_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
population_health_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
happiness_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
}
material stone
construction 3
cost 2400
settlement_min large_town
upgrades
{
large_stone_wall
}
}
large_stone_wall city requires factions { northern_european, middle_eastern, barbari_european, vreek, southern_european, }
{
capability
{
recruit_pool "Town Guards" 1 0.2 2 0 requires factions { hylian, }
recruit_pool "Conscripts" 1 0.2 2 0 requires factions { lanayru, }
recruit_pool "Cannon Fodder" 1 0.2 2 0 requires factions { labrynna, }
wall_level 3
tower_level 1
gate_strength 2
free_upkeep bonus 5
happiness_bonus bonus 2
recruitment_slots 3
law_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
population_health_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
happiness_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
}
faction_capability
{
religion_level bonus 1
amplify_religion_level 1
}
material stone
construction 3
cost 4800
settlement_min city
upgrades
{
huge_stone_wall
}
}
huge_stone_wall city requires factions { northern_european, middle_eastern, barbari_european, vreek, southern_european, }
{
capability
{
recruit_pool "Town Guards" 1 0.2 2 0 requires factions { hylian, }
recruit_pool "Conscripts" 1 0.2 2 0 requires factions { lanayru, }
recruit_pool "Cannon Fodder" 1 0.2 2 0 requires factions { labrynna, }
wall_level 4
tower_level 1
gate_strength 2
free_upkeep bonus 6
happiness_bonus bonus 3
recruitment_slots 3
law_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
population_health_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
happiness_bonus bonus 20 requires event_counter ros_is_switching 1 and not building_present_min_level ros_target ros_target
}
faction_capability
{
religion_level bonus 1
amplify_religion_level 1
}
material stone
construction 4
cost 9600
settlement_min large_city
upgrades
{
}
}
}
plugins
{
}
}