
<<

@level
{
   #string level_name "level13";
   #point level_size 32, 32;
   #string level_env "winter";
   #float level_time 1366;
   #string name_emb_music "music_emb_winter_day.ogg";
   #string name_pri_music "music_pri_winter.ogg";
   #float plant_thirst_growth 0.15;
   #float plant_fruit_growth 2;
   #float plant_growth 2;
   #float health_reduction_after_harvest 10;
   #float health_reduction_when_thirsty 0.15;
   #float plant_fertilizer_strength 2.5;
   #float plant_fertilizer_time 10;
   #float plant_starting_health 66;
   #float plant_minimal_health 0;
   #float sunset_angle 15;
   @game_field
   {
      @ground
      {
         #string name "winter";
         #string texground_name "winter_center_tile.tga";
         #string texmask_name "lx_fill_mask.tga";
      }
      @object_list
      {
      }
      @render_list
      {
      }
      @physics_list
      {
      }
      @object_map
      {
      }
   }
   @scenario
   {
      [level13_entry]
      @event
      {
         #string name "l13_init";
         @action
         {
            #string type "add to shop";
            #string data "box";
         }
         @action
         {
            #string type "add to shop";
            #string data "fivebox";
         }
         @action
         {
            #string type "add to shop";
            #string data "tenbox";
         }
         @action
         {
            #string type "add to shop";
            #string data "watercan";
         }
         @action
         {
            #string type "add to shop";
            #string data "big_watercan";
         }
         @action
         {
            #string type "add to shop";
            #string data "waterpump";
         }
         @action
         {
            #string type "add to shop";
            #string data "fertilizer";
         }
         @action
         {
            #string type "add to shop";
            #string data "big_fertilizer";
         }
         @action
         {
            #string type "add to shop";
            #string data "destructor";
         }
         @action
         {
            #string type "add to shop";
            #string data "transporter";
         }
         @action
         {
            #string type "add to shop";
            #string data "constructor";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_carrot";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_cabbage";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_beetroot";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_sheep 1 2";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_chicken 1 2";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_pig 1 2";
            #float delay 1000;
         }
         @action
         {
            #string type "add to shop";
            #string data "house_beehive";
         }
         @action
         {
            #string type "add to shop";
            #string data "waterboy";
         }
         @action
         {
            #string type "set money";
            #string data "100";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_dahlia";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_lily";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_orchid";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_wheat";
         }
         @action
         {
            #string type "add to shop";
            #string data "hangar_refrigerator";
         }
         @action
         {
            #string type "add to shop";
            #string data "helper";
         }
         @action
         {
            #string type "add to shop";
            #string data "harvester";
         }
         @action
         {
            #string type "add to shop";
            #string data "manager";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l13_intro";
            #float delay 3000;
         }
      }
      @event
      {
         #string name "l13_sale_day";
         #bool player_task true;
         @action
         {
            #string type "add dialogue";
            #string data "l13_herder";
         }
         @action
         {
            #string type "add to shop";
            #string data "herder";
         }
         @condition
         {
            #string type "sell house_pig";
            #string data ">=1";
         }
         @condition
         {
            #string type "sell house_sheep";
            #string data ">=2";
         }
         @condition
         {
            #string type "sell house_chicken";
            #string data ">=2";
         }
         @condition
         {
            #string type "sell house_beehive";
            #string data ">=2";
         }
      }
      @event
      {
         #string name "l13_need_herder";
         #bool player_task true;
         @action
         {
            #string type "set sun";
            #string data "7 10000";
            #float delay 5000;
         }
         @action
         {
            #string type "add dialogue";
            #string data "l13_generators";
            #float delay 1000;
         }
         @action
         {
            #string type "add to shop";
            #string data "generator";
         }
         @condition
         {
            #string type "place herder";
            #string data ">=1";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l13_sale_day";
         }
      }
      @event
      {
         #string name "l13_electrification";
         #bool player_task true;
         @action
         {
            #string type "add to shop";
            #string data "streetlamp";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l13_streetlamps";
         }
         @condition
         {
            #string type "place generator";
            #string data ">=2";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l13_need_herder";
         }
      }
      @event
      {
         #string name "l13_let_there_be_light";
         #bool player_task true;
         @action
         {
            #string type "add dialogue";
            #string data "l13_upgrades";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_sheep 1 3";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_chicken 1 3";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_pig 1 3";
         }
         @condition
         {
            #string type "place streetlamp";
            #string data ">=6";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l13_electrification";
         }
      }
      @event
      {
         #string name "l13_era_of_farm_technologies";
         #bool player_task true;
         @action
         {
            #string type "add dialogue";
            #string data "l13_victory";
         }
         @condition
         {
            #string type "upgraded house_pig 3";
            #string data ">=1";
         }
         @condition
         {
            #string type "upgraded house_chicken 3";
            #string data ">=1";
         }
         @condition
         {
            #string type "upgraded house_sheep 3";
            #string data ">=1";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l13_let_there_be_light";
         }
      }
      @event
      {
         #string name "l13_victory";
         @action
         {
            #string type "victory";
         }
         @condition
         {
            #string type "end dialogue l13_victory";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l13_max_harvester";
         @action
         {
            #string type "delete from shop";
            #string data "harvester";
         }
         @condition
         {
            #string type "place harvester";
            #string data ">=3";
         }
      }
      @event
      {
         #string name "l13_max_herder";
         @action
         {
            #string type "delete from shop";
            #string data "herder";
         }
         @condition
         {
            #string type "place herder";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l13_max_helper";
         @action
         {
            #string type "delete from shop";
            #string data "helper";
         }
         @condition
         {
            #string type "place helper";
            #string data ">=2";
         }
      }
      @event
      {
         #string name "l13_max_manager";
         @action
         {
            #string type "delete from shop";
            #string data "manager";
         }
         @condition
         {
            #string type "place manager";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l13_max_waterboy";
         @action
         {
            #string type "delete from shop";
            #string data "waterboy";
         }
         @condition
         {
            #string type "place waterboy";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l13_max_house_sheep";
         @action
         {
            #string type "delete from shop";
            #string data "house_sheep";
         }
         @condition
         {
            #string type "place house_sheep";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l13_max_house_pig";
         @action
         {
            #string type "delete from shop";
            #string data "house_pig";
         }
         @condition
         {
            #string type "place house_pig";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l13_max_chicken";
         @action
         {
            #string type "delete from shop";
            #string data "house_chicken";
         }
         @condition
         {
            #string type "place house_chicken";
            #string data ">=1";
         }
      }
   }
}

>>
