orc_city
{
    TYPE: CITY
    TASKS_TYPE: ORC_CITY
    FLOOR_TILES: orc_city_floor_tile_list
    STOCK_IN_CONTAINERS: 1
    USES_ROPES: 1
    # The deep caves are carved at 50k to 100k tiles, about five tiles high, so some 10k to 20k
    # places to stand. The tribe keeps to around a quarter of that.
    CRAWL_LIMIT: 4000

    ROOM: orc_hut
    ROOM: orc_wicked_hut
    ROOM: orc_stockpile
    ROOM: orc_forge
    ROOM: orc_throne_room
}

# The room furniture doubles as the signature the city crawler uses to tell one orc building
# from another, so every room only lists what is distinctive about it. A building that is
# carved into levels joined by ladders becomes one room per level, so a barracks reads as
# sleeping huts plus a forge floor rather than as a single room.

# Any floor the tribe sleeps on, from a two bed shack to a barracks dormitory
orc_hut
{
    TYPE: ROOM
    REQUIRED_FURNITURE: straw_bed_top
    REQUIRED_FURNITURE: straw_bed_bot
    OPTIONAL_FURNITURE: cauldron
    OPTIONAL_FURNITURE: table
    FLOOR_TILES: orc_city_gravel_floor_list

    # creature_type, num_creatures, item_that_spawns_creature, min_starting_exp, max_starting_exp
    CITIZEN: orc, 1, straw_bed_bot, 1000, 20000

    JOB: orc_peasant
    JOB: orc_ranged_peasant
    JOB: orc_warrior

    STOCK_LIST: orc_diet
    STOCK_LIST: orc_seed_list
    STOCK_LIST: orc_tool_list
    STOCK_LIST: orc_clothes_list
    STOCK_LIST: dweller_container_list
}

orc_wicked_hut
{
    TYPE: ROOM
    REQUIRED_FURNITURE: wicked_altar
    OPTIONAL_FURNITURE: orc_throne_base
    OPTIONAL_FURNITURE: straw_bed_top
    OPTIONAL_FURNITURE: straw_bed_bot
    FLOOR_TILES: orc_city_gravel_floor_list

    # creature_type, num_creatures, item_that_spawns_creature, min_starting_exp, max_starting_exp
    CITIZEN: orc_shaman, 1, straw_bed_bot, 1000, 20000

    JOB: orc_shaman
}

orc_stockpile
{
    TYPE: ROOM
    OPTIONAL_FURNITURE: crate
    OPTIONAL_FURNITURE: chest
    FORBIDDEN_FURNITURE: straw_bed_top
    FORBIDDEN_FURNITURE: straw_bed_bot
    FLOOR_TILES: orc_city_gravel_floor_list

    
    STOCK_LIST: orc_diet
    STOCK_LIST: orc_seed_list
    STOCK_LIST: orc_tool_list
    STOCK_LIST: orc_rope_list
    STOCK_LIST: dweller_container_list
    STOCK_LIST: orc_weapons_list
    STOCK_LIST: orc_clothes_list
    STOCK_LIST: orc_accessory_list
    STOCK_LIST: orc_shaman_accessory_list
    STOCK_LIST: city_resource_list
    STOCK: ANY
}

# Anywhere the tribe keeps a fire and an anvil, be it the forge itself or the working floor
# above a barracks
orc_forge
{
    TYPE: ROOM
    # The fire and the anvils, and deliberately not the chest: a chest on its own turns up in
    # nooks all over the village, and listing it here was enough to have every one of them read
    # as a forge
    OPTIONAL_FURNITURE: furnace
    OPTIONAL_FURNITURE: copper_anvil
    OPTIONAL_FURNITURE: stone_anvil
    OPTIONAL_FURNITURE: workbench
    OPTIONAL_FURNITURE: orcish_anvil
    OPTIONAL_FURNITURE: orcish_warbench
    FLOOR_TILES: orc_city_gravel_floor_list

    CITIZEN: orc_warrior, 1, furnace, 1000, 20000
    CITIZEN: orc_warrior, 1, stone_anvil, 1000, 20000
    CITIZEN: orc_warrior, 1, copper_anvil, 1000, 20000
    CITIZEN: orc_warrior, 1, orcish_anvil, 1000, 20000
    CITIZEN: orc_warrior, 1, orcish_warbench, 1000, 20000
    CITIZEN: orc_warrior, 1, straw_bed_bot, 1000, 20000

    JOB: orc_smith
    JOB: orc_warrior

    STOCK_LIST: orc_tool_list
    STOCK_LIST: mining_loot_list
    STOCK_LIST: woodcutting_loot_list
    STOCK_LIST: hunting_loot_list


    STOCK: copper_bar
    STOCK: tin_bar
    STOCK: tin_nail
    STOCK: bronze_bar

    STOCK: crate
}

orc_throne_room
{
    TYPE: ROOM
    REQUIRED_FURNITURE: orc_throne_base
    OPTIONAL_FURNITURE: orc_totem
    OPTIONAL_FURNITURE: chest
    FORBIDDEN_FURNITURE: wicked_altar
    FORBIDDEN_FURNITURE: straw_bed_top
    FORBIDDEN_FURNITURE: straw_bed_bot
    FORBIDDEN_FURNITURE: cauldron

    FLOOR_TILES: orc_city_gravel_floor_list

    CITIZEN: orc_chieftain, 1, orc_throne_base, 20000, 100000

    NAMES: orc_chieftain_names

    JOB: orc_chieftain

    STOCK_LIST: orc_weapons_list
    STOCK_LIST: orc_clothes_list
    STOCK_LIST: orc_accessory_list
    STOCK_LIST: orc_shaman_accessory_list
    STOCK_LIST: city_resource_list
}
