require ("config/world1/costs.lua");

mechanics = {
    initial_resources = {
        money = 15,
        water = 15,
    },
    
    storage = {
        capacity_lvl_1 = 40,
        capacity_lvl_2 = 80,
        capacity_lvl_3 = 150,
    },
    
    fountain = {
        production_amount_lvl_1 = 0,
        production_amount_lvl_2 = 3,
        production_amount_lvl_3 = 6,
        production_time_lvl_1   = 30,
        production_time_lvl_2   = 30,
        production_time_lvl_3   = 30,
    },
    
    water_barrel = {
        capacity_lvl_1 = 15,
        capacity_lvl_2 = 25,
        capacity_lvl_3 = 35,
    },
    
    magic_object = {
        recharge_time_lvl_1 = 5.0,
        recharge_time_lvl_2 = 5.0,
    },
    
    plant_1 = {
        harvest_time_lvl_1          = {8, 10, 12, 14, 16},
        harvest_time_lvl_2          = {8, 10, 12, 14, 16},
        harvest_time_lvl_3          = {8, 10, 12, 14, 16},
        water_consuming_time_lvl_1  = {12, 15, 17, 22, 25},
        water_consuming_time_lvl_2  = {12, 15, 17, 22, 25},
        water_consuming_time_lvl_3  = {12, 15, 17, 22, 25},
        water_requesting_time_lvl_1 = 14,
        water_requesting_time_lvl_2 = 14,
        water_requesting_time_lvl_3 = 14,
        sell_cost_lvl_1             = costs.sell_plant_1_lvl_1,
        sell_cost_lvl_2             = costs.sell_plant_1_lvl_2,
        sell_cost_lvl_3             = costs.sell_plant_1_lvl_3,
        actions_to_upgrade_lvl_1    = 3,
        actions_to_upgrade_lvl_2    = 6,
        hitpoints_lvl_1             = 9,
        hitpoints_lvl_2             = 9,
        hitpoints_lvl_3             = 9,
        water_consumption_lvl_1     = 1,
        water_consumption_lvl_2     = 1,
        water_consumption_lvl_3     = 1,
    },
    
    plant_2 = {
        harvest_time_lvl_1          = {8, 10, 12, 14, 16},
        harvest_time_lvl_2          = {8, 10, 12, 14, 16},
        harvest_time_lvl_3          = {8, 10, 12, 14, 16},
        water_consuming_time_lvl_1  = {12, 15, 17, 22, 25},
        water_consuming_time_lvl_2  = {12, 15, 17, 22, 25},
        water_consuming_time_lvl_3  = {12, 15, 17, 22, 25},
        water_requesting_time_lvl_1 = 14,
        water_requesting_time_lvl_2 = 14,
        water_requesting_time_lvl_3 = 14,
        sell_cost_lvl_1             = costs.sell_plant_2_lvl_1,
        sell_cost_lvl_2             = costs.sell_plant_2_lvl_2,
        sell_cost_lvl_3             = costs.sell_plant_2_lvl_3,
        actions_to_upgrade_lvl_1    = 6,
        actions_to_upgrade_lvl_2    = 8,
        hitpoints_lvl_1             = 9,
        hitpoints_lvl_2             = 9,
        hitpoints_lvl_3             = 9,
        water_consumption_lvl_1     = 1,
        water_consumption_lvl_2     = 1,
        water_consumption_lvl_3     = 2,
    },
    
    plant_3 = {
        harvest_time_lvl_1          = {8, 10, 12, 14, 16},
        harvest_time_lvl_2          = {8, 10, 12, 14, 16},
        harvest_time_lvl_3          = {8, 10, 12, 14, 16},
        water_consuming_time_lvl_1  = {12, 15, 17, 22, 25},
        water_consuming_time_lvl_2  = {12, 15, 17, 22, 25},
        water_consuming_time_lvl_3  = {12, 15, 17, 22, 25},
        water_requesting_time_lvl_1 = 14,
        water_requesting_time_lvl_2 = 14,
        water_requesting_time_lvl_3 = 14,
        sell_cost_lvl_1             = costs.sell_plant_3_lvl_1,
        sell_cost_lvl_2             = costs.sell_plant_3_lvl_2,
        sell_cost_lvl_3             = costs.sell_plant_3_lvl_3,
        actions_to_upgrade_lvl_1    = 8,
        actions_to_upgrade_lvl_2    = 10,
        hitpoints_lvl_1             = 9,
        hitpoints_lvl_2             = 9,
        hitpoints_lvl_3             = 9,
        water_consumption_lvl_1     = 1,
        water_consumption_lvl_2     = 1,
        water_consumption_lvl_3     = 2,
    },
    
    plant_water = {
        harvest_time_lvl_1          = {8, 12, 16},
        water_consuming_time_lvl_1  = 20000,
        water_requesting_time_lvl_1 = 14,
        sell_cost_lvl_1             = costs.sell_water,
        actions_to_upgrade_lvl_1    = 18,
        hitpoints_lvl_1             = 9,
    },
    
    plant_fertilizer = {
        harvest_time_lvl_1          = {14, 12, 16},
        water_consuming_time_lvl_1  = 20000,
        water_requesting_time_lvl_1 = 17,
        sell_cost_lvl_1             = costs.sell_fertilizer,
        actions_to_upgrade_lvl_1    = 18,
        hitpoints_lvl_1             = 25,
        radius                      = 200,
    },
    
    plant_pest_magnet = {
        harvest_time_lvl_1          = {15, 18, 20},
        water_consuming_time_lvl_1  = 20000,
        water_requesting_time_lvl_1 = 17,
        sell_cost_lvl_1             = costs.sell_magnet,
        actions_to_upgrade_lvl_1    = 18,
        hitpoints_lvl_1             = 25,
    },
    
    plant_might = {
        harvest_time_lvl_1          = {50, 60, 70},
        water_consuming_time_lvl_1  = 20000,
        water_requesting_time_lvl_1 = 17,
        sell_cost_lvl_1             = costs.sell_might,
        actions_to_upgrade_lvl_1    = 18,
        hitpoints_lvl_1             = 12,
        aura_time                   = 20,
    },
    
    plant_butterfly = {
        harvest_time_lvl_1          = {8, 12, 16},
        water_consuming_time_lvl_1  = 20000,
        water_requesting_time_lvl_1 = 17,
        sell_cost_lvl_1             = costs.sell_butterfly,
        actions_to_upgrade_lvl_1    = 18,
        hitpoints_lvl_1             = 9,
    },
};
