Загрузка данных


world_size = 3

# Основная рабочая функция, которую будут выполнять ВСЕ дроны
def farm_pumpkins(start_x, start_y, width, height):
    # Цикл бесконечной работы на своём участке
    while True:
        # Сажаем и ухаживаем
        for x in range(start_x, start_x + width):
            for y in range(start_y, start_y + height):
                # Перемещаемся на нужную клетку
                go_to(x, y)
                
                # Подготовка почвы и посадка
                if get_ground_type() != Grounds.Soil:
                    till()
                if get_entity_type() != Entities.Pumpkin:
                    if num_items(Items.Pumpkin_