# for city tasks, every file represents a single city type

TASKS_TYPE: DARK_CATHEDRAL

#defend_citizens
#{
#    type: DefendCitizens
#    task_class: PROTECT_CITY
#}

defend_items
{
    type: DefendItems
    task_class: PROTECT_CITY
}

manage_furniture
{

    type: ManageRoomFurniture
    task_class: CITY_UPKEEP_TASK
}

manage_chests
{
    type: ManageChests
    task_class: CITY_UPKEEP_TASK
    item_list: dweller_room_container_list
}

plant_food_seeds
{
    type: PlantSeeds
    task_class: FARMING_TASK_II
    item_list: cultist_food_seed_list
    tile_type: plowed_dirt

    condition: diet_condition
}

plant_magic_food
{
    type: UseTiles
    task_class: FARMING_TASK_II
    tile_list: magic_planting_tiles
    top_tile_list: air_tiles
    room_type: farm_room
    ability: arcane_harvest

    condition: diet_condition
}

plant_mushrooms
{
    type: UseTiles
    task_class: FARMING_TASK_II
    tile_list: magic_planting_tiles
    top_tile_list: air_tiles
    room_type: farm_room
    ability: sporesorcery
    max_task_queue_size: 200

    condition: diet_condition
}

diet_condition
{
    type: StockLessThanList
    item_list: human_diet
    amount: 500
}

plant_life_flower
{
    type: PlantSeeds
    task_class: FARMING_TASK_II
    item_list: life_flower_seed_list
    tile_type: plowed_dirt

    condition: life_flower_condition
}

life_flower_condition
{
    type: StockLessThanItem
    item: life_flower
    amount: 250
}

summon_wood
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    item: wood_log
    condition: summon_wood_condition
}

summon_wood_condition
{
    type: StockLessThanItem
    item: wood_log
    amount: 40
}

summon_stone
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    item: loose_stone
    condition: summon_stone_condition
}

summon_stone_condition
{
    type: StockLessThanItem
    item: loose_stone
    amount: 20
}

summon_copper_bar
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    craft: summon_copper_bar
    condition: summon_copper_bar_condition
}

summon_copper_bar_condition
{
    type: StockLessThanItem
    item: copper_bar
    amount: 20
}

summon_tin_bar
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    craft: summon_tin_bar
    condition: summon_tin_bar_condition
}

summon_tin_bar_condition
{
    type: StockLessThanItem
    item: tin_bar
    amount: 20
}

summon_leather_bag
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    craft: summon_leather_bag
    condition: summon_leather_bag_condition
}

summon_leather_bag_condition
{
    type: StockLessThanItem
    item: leather_bag
    amount: 4
}

craft_ember_ring
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    item: ember_ring
    condition: craft_ember_ring_condition
}

craft_ember_ring_condition
{
    type: StockLessThanItem
    item: ember_ring
    amount: 5
}

summon_alpaca
{
    type: CraftItems
    task_class: SUMMON_TASK
    craft: summon_dark_alpaca
    condition: summon_alpaca_condition
    max_task_queue_size: 3
}

summon_alpaca_condition
{
    type: CreatureCountLessThan
    creature_list: dark_alpaca_list
    amount: 10
}

craft_blank_book
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: blank_book
    condition: craft_blank_book_condition
}

craft_blank_book_condition
{
    type: StockLessThanItem
    item: blank_book
    amount: 2
}

craft_paper
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: paper
    condition: craft_paper_condition
}

craft_paper_condition
{
    type: StockLessThanItem
    item: paper
    amount: 40
}

craft_wood_pulp
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wood_pulp
    condition: craft_wood_pulp_condition
}

craft_wood_pulp_condition
{
    type: StockLessThanItem
    item: wood_pulp
    amount: 40
}

craft_sporesorcery_tome
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    item: sporesorcery_tome
    condition: craft_sporesorcery_tome_condition
}

craft_sporesorcery_tome_condition
{
    type: StockLessThanItem
    item: sporesorcery_tome
    amount: 2
}

craft_the_arcane_harvest
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    item: the_arcane_harvest
    condition: craft_the_arcane_harvest_condition
}

craft_the_arcane_harvest_condition
{
    type: StockLessThanItem
    item: the_arcane_harvest
    amount: 2
}

craft_introduction_to_necromancy
{
    type: CraftItems
    task_class: BEHOLDER_TASK
    item: introduction_to_necromancy
    condition: craft_introduction_to_necromancy_condition
}

craft_introduction_to_necromancy_condition
{
    type: StockLessThanItem
    item: introduction_to_necromancy
    amount: 2
}

hunt_leather
{
    type: HuntCreatures
    task_class: HUNTING_TASK
    creature_list: dark_cathedral_leather_hunt_list    
    condition: no_leather_stock_condition
}

no_leather_stock_condition
{
    type: StockLessThanItem
    item: leather
    amount: 50
}

hunt_dark_wool
{
    type: HuntCreatures
    task_class: HUNTING_TASK
    creature_list: dark_cathedral_wool_hunt_list
    condition: dark_wool_stock_condition
}

dark_wool_stock_condition
{
    type: StockLessThanItem
    item: dark_wool
    amount: 50
}


leather_bag_stock_condition
{
    type: StockMoreThanItem
    item: leather_bag
    amount: 2
}

harvest_in_city
{
    type: UseTiles
    task_class: FARMING_TASK_I
    room_type: farm_room
    tile_list: dark_cathedral_harvest_tiles
    top_tile_list: air_tiles
}

forage
{
    type: UseTiles
    task_class: WOODCUTTING_TASK
    tile_list: dark_cathedral_forage_tiles
}

stock_food
{
    type: StockList
    task_class: FARMING_TASK_I
    item_list: human_diet
}

stock_forage
{
    type: StockList
    task_class: WOODCUTTING_TASK
    item_list: forage_list
}

stock_carrot_seeds
{
    type: StockItem
    task_class: FARMING_TASK_II
    item: carrot_seed
    condition: stock_carrot_seeds_condition
}

stock_carrot_seeds_condition
{
    type: StockLessThanItem
    item: carrot_seed
    amount: 100
}

stock_life_flower_seeds
{
    type: StockItem
    task_class: FARMING_TASK_II
    item: life_flower_seed
    condition: stock_life_flower_seeds_condition
}

stock_life_flower_seeds_condition
{
    type: StockLessThanItem
    item: life_flower_seed
    amount: 100
}

stock_containers
{
    type: StockList
    task_class: CARRY_TASK
    item_list: dweller_container_list
}

stock_clothes
{
    type: StockList
    task_class: CARRY_TASK
    item_list: cultist_clothes_list
}

stock_accesories
{
    type: StockList
    task_class: CARRY_TASK
    item_list: cultist_accessory_list
}

stock_weapons
{
    type: StockList
    task_class: CARRY_TASK
    item_list: cultist_weapons_list
}

stock_tools
{
    type: StockList
    task_class: CARRY_TASK
    item_list: cultist_tool_list
}

stock_furniture
{
    type: StockList
    task_class: CARRY_TASK
    item_list: furniture_list
    furniture: true
}

stock_city_resources
{
    type: StockList
    task_class: CARRY_TASK
    item_list: city_resource_list
}

stock_woodcutting_loot
{
    type: StockList
    task_class: WOODCUTTING_TASK
    item_list: woodcutting_loot_list
}

stock_mining_loot
{
    type: StockList
    task_class: MINING_TASK
    item_list: mining_loot_list
}

stock_hunting_loot
{
    type: StockList
    task_class: HUNTING_TASK
    item_list: hunting_loot_list
}

stock_snake_corpse
{
    type: StockList
    task_class: GATHER_MAGICAL_INGREDIENTS_TASK
    item_list: snake_corpse_list
    condition: snake_staff_condition
    condition: snake_staff_tin_nail_condition
}

snake_staff_condition
{
    type: StockLessThanItem
    item: snake_staff
    amount: 1
}

snake_staff_tin_nail_condition
{
    type: StockMoreThanItem
    item: tin_nail
    amount: 6
}

extract_life_flower
{
    type: UseTiles
    task_class: WOODCUTTING_TASK
    tile_list: life_flower_tile_list
    condition: life_flower_stock_condition
}

life_flower_stock_condition
{
    type: StockLessThanItem
    item: life_flower
    amount: 250
}

extract_wood_no_tool
{
    type: UseTiles
    task_class: WOODCUTTING_TASK
    tile_list: no_tool_tree_list
    condition: wood_stock_condition
}

extract_wood_with_tool
{
    type: UseTiles
    task_class: WOODCUTTING_TASK
    tile_list: tree_tile_list
    ability: cut_wood
    condition: wood_stock_condition
}

wood_stock_condition
{
    type: StockLessThanItem
    item: wood_log
    amount: 20
}

extract_stone_no_tool
{
    type: UseTiles
    task_class: MINING_TASK
    tile_list: no_tool_stone_tile_list
    condition: stone_stock_condition
}

extract_stone_with_tool
{
    type: UseTiles
    task_class: MINING_TASK
    tile_list: stone_tool_stone_tile_list
    ability: break_stone
    condition: stone_stock_condition
}

stone_stock_condition
{
    type: StockLessThanItem
    item: loose_stone
    amount: 20
}

extract_copper_with_tool
{
    type: UseTiles
    task_class: MINING_TASK
    tile_list: stone_tool_copper_ore_tile_list
    ability: break_stone
    condition: copper_ore_stock_condition
}

copper_ore_stock_condition
{
    type: StockLessThanItem
    item: copper_ore
    amount: 20
}

extract_tin_with_tool
{
    type: UseTiles
    task_class: MINING_TASK
    tile_list: stone_tool_tin_ore_tile_list
    ability: break_stone
    condition: tin_ore_stock_condition
}

tin_ore_stock_condition
{
    type: StockLessThanItem
    item: tin_ore
    amount: 20
}

extract_wool
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: wool_corpse_list
    ability: cut_corpses
    condition: wool_stock_condition
}

wool_stock_condition
{
    type: StockLessThanItem
    item: wool
    amount: 50
}

extract_meat
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: meat_corpse_list
    ability: butcher_corpses
    condition: meat_stock_condition
}

meat_stock_condition
{
    type: StockLessThanItem
    item: meat
    amount: 50
}

extract_dark_wool
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: dark_wool_corpse_list
    ability: cut_corpses
    condition: dark_wool_stock_condition
}

extract_bones
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: bones_corpse_list
    ability: butcher_corpses
    condition: bones_stock_condition
}

bones_stock_condition
{
    type: StockLessThanItem
    item: femour
    amount: 10
}

extract_demonic_bones
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: demonic_bones_corpse_list
    ability: butcher_corpses
    condition: demonic_bones_stock_condition
}

demonic_bones_stock_condition
{
    type: StockLessThanItem
    item: demonic_bone
    amount: 10
}

extract_rotting_guts
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: rotting_guts_corpse_list
    ability: butcher_corpses
    condition: rotting_guts_stock_condition
}

rotting_guts_stock_condition
{
    type: StockLessThanItem
    item: rotting_guts
    amount: 20
}

extract_leather
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: skinnable_list
    ability: skin_corpses
    condition: no_leather_stock_condition
}

extract_spider_carapace
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: spider_corpse_list
    ability: skin_corpses
    condition: spider_carapace_stock_condition
}

spider_carapace_stock_condition
{
    type: StockLessThanItem
    item: spider_carapace
    amount: 20
}

extract_spider_silk
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: spider_corpse_list
    ability: cut_corpses
    condition: spider_silk_stock_condition
}

spider_silk_stock_condition
{
    type: StockLessThanItem
    item: silk
    amount: 30
}

extract_dragon_scale
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: dragon_corpse_list
    ability: skin_corpses
    condition: dragon_scale_stock_condition
}

dragon_scale_stock_condition
{
    type: StockLessThanItem
    item: dragon_scale
    amount: 200
}

extract_fine_wool
{
    type: ExtractFromItems
    task_class: HUNTING_TASK
    item_list: fine_wool_corpse_list
    ability: cut_corpses
    condition: fine_wool_stock_condition
}

fine_wool_stock_condition
{
    type: StockLessThanItem
    item: fine_wool
    amount: 200
}


craft_leather_bag
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: leather_bag
    condition: craft_leather_bag_condition
}

craft_leather_bag_condition
{
    type: StockLessThanList
    item_list: dweller_container_list
    amount: 10
}

craft_crate
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: crate
    condition: craft_crate_condition
}

craft_crate_condition
{
    type: StockLessThanList
    item_list: dweller_room_container_list
    amount: 3
}

craft_short_bow
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: short_bow
    condition: craft_short_bow_condition
    condition: bag_condition
}

bag_condition
{
    type: StockMoreThanList
    item_list: dweller_container_list
    amount: 2
}

craft_short_bow_condition
{
    type: StockLessThanItem
    item: short_bow
    amount: 2
}

craft_copper_pickaxe
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: copper_pickaxe
    condition: craft_copper_pickaxe_condition
}

craft_copper_pickaxe_condition
{
    type: StockLessThanItem
    item: copper_pickaxe
    amount: 2
}

craft_bronze_pickaxe
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_pickaxe
    condition: craft_bronze_pickaxe_condition
}

craft_bronze_pickaxe_condition
{
    type: StockLessThanItem
    item: bronze_pickaxe
    amount: 2
}

craft_leather_armor
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: leather_armor
    condition: craft_leather_armor_condition
    condition: leather_bag_stock_condition
}

craft_leather_armor_condition
{
    type: StockLessThanItem
    item: leather_armor
    amount: 2
}

craft_leather_boots
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: leather_boots
    condition: craft_leather_boots_condition
    condition: leather_bag_stock_condition
}

craft_leather_boots_condition
{
    type: StockLessThanItem
    item: leather_boots
    amount: 2
}

craft_leather_helmet
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: leather_helmet
    condition: craft_leather_helmet_condition
    condition: leather_bag_stock_condition
}

craft_leather_helmet_condition
{
    type: StockLessThanItem
    item: leather_helmet
    amount: 2
}

craft_leather_pants
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: leather_pants
    condition: craft_leather_pants_condition
    condition: leather_bag_stock_condition
}

craft_leather_pants_condition
{
    type: StockLessThanItem
    item: leather_pants
    amount: 2
}

craft_straw_hat
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: straw_hat
    condition: craft_straw_hat_condition
}

craft_straw_hat_condition
{
    type: StockLessThanItem
    item: straw_hat
    amount: 2
}


craft_wool_shirt
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wool_shirt
    condition: craft_wool_shirt_condition
}

craft_wool_shirt_condition
{
    type: StockLessThanItem
    item: wool_shirt
    amount: 2
}

craft_wool_pants
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wool_pants
    condition: craft_wool_pants_condition
}

craft_wool_pants_condition
{
    type: StockLessThanItem
    item: wool_pants
    amount: 2
}

craft_wool_hat
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wool_hat
    condition: craft_wool_hat_condition
}

craft_wool_hat_condition
{
    type: StockLessThanItem
    item: wool_hat
    amount: 2
}

craft_wool_robe
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wool_robe
    condition: craft_wool_robe_condition
}

craft_wool_robe_condition
{
    type: StockLessThanItem
    item: wool_robe
    amount: 2
}

craft_wool_skirt
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wool_skirt
    condition: craft_wool_skirt_condition
}

craft_wool_skirt_condition
{
    type: StockLessThanItem
    item: wool_skirt
    amount: 2
}

craft_wool_socks
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wool_socks
    condition: craft_wool_socks_condition
}

craft_wool_socks_condition
{
    type: StockLessThanItem
    item: wool_socks
    amount: 2
}

craft_wool_scarf
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wool_scarf
    condition: craft_wool_scarf_condition
}

craft_wool_scarf_condition
{
    type: StockLessThanItem
    item: wool_scarf
    amount: 2
}

craft_wool_rope
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: rope
    condition: craft_wool_rope_condition
}

craft_wool_rope_condition
{
    type: StockLessThanItem
    item: rope
    amount: 2
}

craft_dark_hood
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: dark_hood
    condition: craft_dark_hood_condition
}

craft_dark_hood_condition
{
    type: StockLessThanItem
    item: dark_hood
    amount: 2
}

craft_dark_robe
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: dark_robe
    condition: craft_dark_robe_condition
}

craft_dark_robe_condition
{
    type: StockLessThanItem
    item: dark_robe
    amount: 2
}

craft_dark_underwear
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: dark_underwear
    condition: craft_dark_underwear_condition
}

craft_dark_underwear_condition
{
    type: StockLessThanItem
    item: dark_underwear
    amount: 2
}

craft_broom
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: broom
    condition: craft_broom_condition
}

craft_broom_condition
{
    type: StockLessThanItem
    item: broom
    amount: 2
}

craft_silk_hat
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: silk_hat
    condition: craft_silk_hat_condition
}

craft_silk_hat_condition
{
    type: StockLessThanItem
    item: silk_hat
    amount: 1
}

craft_silk_robe
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: silk_robe
    condition: craft_wool_robe_condition
}

craft_silk_robe_condition
{
    type: StockLessThanItem
    item: silk_robe
    amount: 1
}

craft_silk_skirt
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: silk_skirt
    condition: craft_silk_skirt_condition
}

craft_silk_skirt_condition
{
    type: StockLessThanItem
    item: silk_skirt
    amount: 1
}

craft_copper_bar
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: copper_bar
    condition: craft_copper_bar_condition
}

craft_copper_bar_condition
{
    type: StockLessThanItem
    item: copper_bar
    amount: 20
}

craft_ring_of_healing
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: ring_of_healing
    condition: craft_ring_of_healing_condition
}

craft_ring_of_healing_condition
{
    type: StockLessThanItem
    item: ring_of_healing
    amount: 3
}

craft_tin_bar
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: tin_bar
    condition: craft_tin_bar_condition
}

craft_tin_bar_condition
{
    type: StockLessThanItem
    item: tin_bar
    amount: 20
}

craft_bronze_bar
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_bar
    condition: craft_bronze_bar_condition
}

craft_bronze_bar_condition
{
    type: StockLessThanItem
    item: bronze_bar
    amount: 20
}

craft_copper_scissors
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: copper_scissors
    condition: craft_copper_scissors_condition
}

craft_copper_scissors_condition
{
    type: StockLessThanItem
    item: copper_scissors
    amount: 1
}

craft_meat_cleaver
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: meat_cleaver
    condition: craft_meat_cleaver_condition
}

craft_meat_cleaver_condition
{
    type: StockLessThanItem
    item: meat_cleaver
    amount: 1
}

craft_snakerang
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: snakerang
    condition: craft_snakerang_condition
}

craft_snakerang_condition
{
    type: StockLessThanItem
    item: snakerang
    amount: 2
}

craft_spider_boots
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: spider_boots
    condition: craft_spider_boots_condition
}

craft_spider_boots_condition
{
    type: StockLessThanItem
    item: spider_boots
    amount: 1
}

craft_spider_pants
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: spider_pants
    condition: craft_spider_pants_condition
}

craft_spider_pants_condition
{
    type: StockLessThanItem
    item: spider_pants
    amount: 1
}

craft_copper_machete
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: copper_machete
    condition: craft_copper_machete_condition
}

craft_copper_machete_condition
{
    type: StockLessThanItem
    item: copper_machete
    amount: 2
}

craft_bronze_dagger
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_dagger
    condition: craft_bronze_dagger_condition
}

craft_bronze_dagger_condition
{
    type: StockLessThanItem
    item: bronze_dagger
    amount: 2
}

craft_bronze_gladius
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_gladius
    condition: craft_bronze_gladius_condition
}

craft_bronze_gladius_condition
{
    type: StockLessThanItem
    item: bronze_gladius
    amount: 2
}

craft_bronze_longsword
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_longsword
    condition: craft_bronze_longsword_condition
}

craft_bronze_longsword_condition
{
    type: StockLessThanItem
    item: bronze_longsword
    amount: 2
}

craft_bronze_helmet
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_helmet
    condition: craft_bronze_helmet_condition
}

craft_bronze_helmet_condition
{
    type: StockLessThanItem
    item: bronze_helmet
    amount: 2
}

craft_bronze_chestplate
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_chestplate
    condition: craft_bronze_chestplate_condition
}

craft_bronze_chestplate_condition
{
    type: StockLessThanItem
    item: bronze_chestplate
    amount: 2
}

craft_bronze_leggings
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_leggings
    condition: craft_bronze_leggings_condition
}

craft_bronze_leggings_condition
{
    type: StockLessThanItem
    item: bronze_leggings
    amount: 2
}

craft_bronze_boots
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_boots
    condition: craft_bronze_boots_condition
}

craft_bronze_boots_condition
{
    type: StockLessThanItem
    item: bronze_boots
    amount: 2
}

craft_dragon_scale_helmet
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: dragon_scale_helmet
    condition: craft_dragon_scale_helmet_condition
}

craft_dragon_scale_helmet_condition
{
    type: StockLessThanItem
    item: dragon_scale_helmet
    amount: 2
}

craft_dragon_scale_mail
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: dragon_scale_mail
    condition: craft_dragon_scale_mail_condition
}

craft_dragon_scale_mail_condition
{
    type: StockLessThanItem
    item: dragon_scale_mail
    amount: 2
}

craft_dragon_scale_leggings
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: dragon_scale_leggings
    condition: craft_dragon_scale_leggings_condition
}

craft_dragon_scale_leggings_condition
{
    type: StockLessThanItem
    item: dragon_scale_leggings
    amount: 2
}

craft_dragon_scale_boots
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: dragon_scale_boots
    condition: craft_dragon_scale_boots_condition
}

craft_dragon_scale_boots_condition
{
    type: StockLessThanItem
    item: dragon_scale_boots
    amount: 2
}

craft_wooden_shield
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: wooden_shield
    condition: craft_wooden_shield_condition
}

craft_wooden_shield_condition
{
    type: StockLessThanItem
    item: wooden_shield
    amount: 1
}

craft_reinforced_shield
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: reinforced_shield
    condition: craft_reinforced_shield_condition
}

craft_reinforced_shield_condition
{
    type: StockLessThanItem
    item: reinforced_shield
    amount: 1
}

craft_bronze_shield
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: bronze_shield
    condition: craft_bronze_shield_condition
}

craft_bronze_shield_condition
{
    type: StockLessThanItem
    item: bronze_shield
    amount: 1
}

craft_tin_nails
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: tin_nail
    condition: craft_tin_nails_condition
}

craft_tin_nails_condition
{
    type: StockLessThanItem
    item: tin_nail
    amount: 20
}

craft_snake_staff
{
    type: CraftItems
    task_class: CRAFT_MAGICAL_STUFF_TASK
    item: snake_staff
    condition: craft_snake_staff_condition
}

craft_snake_staff_condition
{
    type: StockLessThanItem
    item: snake_staff
    amount: 1
}

craft_skull_staff
{
    type: CraftItems
    task_class: CRAFT_MAGICAL_STUFF_TASK
    item: skull_staff
    condition: craft_skull_staff_condition
}

craft_skull_staff_condition
{
    type: StockLessThanItem
    item: skull_staff
    amount: 1
}

craft_charge_staff
{
    type: CraftItems
    task_class: CRAFT_MAGICAL_STUFF_TASK
    item: charge_staff
    condition: craft_charge_staff_condition
}

craft_charge_staff_condition
{
    type: StockLessThanItem
    item: charge_staff
    amount: 1
}

craft_blast_staff
{
    type: CraftItems
    task_class: CRAFT_MAGICAL_STUFF_TASK
    item: blast_staff
    condition: craft_blast_staff_condition
}

craft_blast_staff_condition
{
    type: StockLessThanItem
    item: blast_staff
    amount: 1
}

craft_glow_ring
{
    type: CraftItems
    task_class: CRAFT_MAGICAL_STUFF_TASK
    item: glow_ring
    condition: craft_glow_ring_condition
}

craft_glow_ring_condition
{
    type: StockLessThanItem
    item: glow_ring
    amount: 3
}

craft_spiderang
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: spiderang
    condition: craft_spiderang_condition
}

craft_spiderang_condition
{
    type: StockLessThanItem
    item: skull_staff
    amount: 1
}

craft_boots_of_haste
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: boots_of_haste
    condition: craft_boots_of_haste_condition
}

craft_boots_of_haste_condition
{
    type: StockLessThanItem
    item: boots_of_haste
    amount: 1
}

craft_throwing_gloves
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: throwing_gloves
    condition: craft_throwing_gloves_condition
}

craft_throwing_gloves_condition
{
    type: StockLessThanItem
    item: throwing_gloves
    amount: 1
}

craft_magic_broom
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: magic_broom
    condition: craft_magic_broom_condition
}

craft_magic_broom_condition
{
    type: StockLessThanItem
    item: magic_broom
    amount: 1
}

craft_table
{
    type: CraftItems
    task_class: CRAFTING_TASK
    item: table
    condition: craft_table_condition
}

craft_table_condition
{
    type: StockLessThanItem
    item: table
    amount: 1
}

cook_stew
{
    type: CraftItems
    task_class: COOKING_TASK
    item: stew
    condition: cook_stew_condition
}

cook_stew_condition
{
    type: StockLessThanItem
    item: stew
    amount: 50
}

destroy_crate
{
    type: ExtractFromItems
    task_class: CITY_UPKEEP_TASK
    item_list: crate_list
    furniture: true
    ability: break_furniture
    condition: destroy_crate_stock_condition
}

destroy_crate_stock_condition
{
    type: StockMoreThanItem
    item: crate
    amount: 10
}

destroy_table
{
    type: ExtractFromItems
    task_class: CITY_UPKEEP_TASK
    item_list: table_list
    furniture: true
    ability: break_furniture
    condition: destroy_table_stock_condition
}

destroy_table_stock_condition
{
    type: StockMoreThanItem
    item: table
    amount: 3
}

