
<<

@level
{
   #string level_name "level21";
   #point level_size 48, 40;
   #string level_env "stone";
   #float level_time 3200;
   #string name_emb_music "music_emb_sand_day.ogg";
   #string name_pri_music "music_pri_neutral3.ogg";
   #float plant_thirst_growth 0.2;
   #float plant_fruit_growth 4;
   #float plant_growth 4;
   #float health_reduction_after_harvest 13;
   #float health_reduction_when_thirsty 0.2;
   #float plant_fertilizer_strength 10;
   #float plant_fertilizer_time 10;
   #float plant_starting_health 66;
   #float plant_minimal_health 0;
   #float sunset_angle 20;
   @game_field
   {
      @ground
      {
         #string name "stone";
         #string texground_name "stone_center_tile.tga";
         #string texmask_name "lx_fill_mask.tga";
      }
      @object_list
      {
      }
      @render_list
      {
      }
      @physics_list
      {
      }
      @object_map
      {
      }
   }
   @scenario
   {
      [level21_entry]
      @event
      {
         #string name "l21_init";
         @action
         {
            #string type "set money";
            #string data "450";
         }
         @action
         {
            #string type "add to shop";
            #string data "box";
         }
         @action
         {
            #string type "add to shop";
            #string data "tenbox";
         }
         @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 "water_sprinkler";
         }
         @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 "bulldozer";
         }
         @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_cabbage";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_carrot";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_corn";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_wheat";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_tomato";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_cucumber";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_pepper";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_radish";
         }
         @action
         {
            #string type "add to shop";
            #string data "hangar_vegetables";
         }
         @action
         {
            #string type "add to shop";
            #string data "hangar_refrigerator";
         }
         @action
         {
            #string type "add to shop";
            #string data "hangar_flowers";
         }
         @action
         {
            #string type "add to shop";
            #string data "harvester";
         }
         @action
         {
            #string type "add to shop";
            #string data "helper";
         }
         @action
         {
            #string type "add to shop";
            #string data "herder";
         }
         @action
         {
            #string type "add to shop";
            #string data "waterboy";
         }
         @action
         {
            #string type "add to shop";
            #string data "manager";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_sheep 1 3";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_pig 1 3";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_cow 1 3";
         }
         @action
         {
            #string type "set upgrade";
            #string data "house_chicken 1 3";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_beehive";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_sunflower";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_yellowlily";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_rose";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_strawberries";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_pig";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_cow";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_chicken";
         }
         @action
         {
            #string type "add to shop";
            #string data "factory_sausage";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l21_intro";
            #float delay 3000;
         }
      }
      @event
      {
         #string name "l21_ilove_tits";
         #bool player_task true;
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sweeties 2";
         }
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sausage 2";
         }
         @action
         {
            #string type "add to shop";
            #string data "big_generator";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l21_generator";
         }
         @condition
         {
            #string type "place factory_sausage";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l21_operation_peaceful_atom";
         #bool player_task true;
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sweeties 3";
         }
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sausage 3";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l21_place_generator";
         }
         @condition
         {
            #string type "place big_generator";
            #string data ">=1";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_ilove_tits";
         }
      }
      @event
      {
         #string name "l21_big_consignment";
         #bool player_task true;
         @action
         {
            #string type "add dialogue";
            #string data "l21_victory";
         }
         @condition
         {
            #string type "sell factory_sweeties";
            #string data ">=120";
         }
         @condition
         {
            #string type "sell factory_sausage";
            #string data ">=90";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_operation_peaceful_atom";
         }
      }
      @event
      {
         #string name "l21_shot_in_the_dark";
         #bool player_task true;
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sweeties 3";
         }
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sausage 3";
         }
         @action
         {
            #string type "add money";
            #string data "-1500";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l21_repaired_generator";
         }
         @condition
         {
            #string type "money";
            #string data ">=3000";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_ahtung_ahtung";
         }
      }
      @event
      {
         #string name "l21_victory";
         @action
         {
            #string type "victory";
         }
         @condition
         {
            #string type "end dialogue l21_victory";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l21_ahtung_ahtung";
         @action
         {
            #string type "set money";
            #string data "15";
         }
         @action
         {
            #string type "add to shop";
            #string data "streetlamp";
         }
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sweeties 2";
         }
         @action
         {
            #string type "upgrade factory";
            #string data "factory_sausage 2";
         }
         @action
         {
            #string type "center view";
            #string data "big_generator";
         }
         @action
         {
            #string type "overload generator";
            #string data "big_generator";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l21_lightning";
         }
         @condition
         {
            #string type "lightning strike";
            #string data ">=2";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_switch_for_ahtung1, l21_operation_peaceful_atom";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_switch_for_ahtung2, l21_operation_peaceful_atom";
         }
      }
      @event
      {
         #string name "l21_switch_for_ahtung1";
         @action
         {
            #string type "start rain";
            #string data "heavyrain";
         }
         @action
         {
            #string type "set plant thirst";
            #string data "0";
         }
         @action
         {
            #string type "water all";
            #string data "0";
         }
         @condition
         {
            #string type "sell factory_sweeties";
            #string data ">=80";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_ilove_tits";
         }
         @condition
         {
            #string type "disabled by event";
            #string data "l21_switch_for_ahtung2";
         }
      }
      @event
      {
         #string name "l21_switch_for_ahtung2";
         @action
         {
            #string type "start rain";
            #string data "heavyrain";
         }
         @action
         {
            #string type "set plant thirst";
            #string data "0";
         }
         @action
         {
            #string type "water all";
            #string data "0";
         }
         @condition
         {
            #string type "sell factory_sausage";
            #string data ">=30";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_ilove_tits";
         }
         @condition
         {
            #string type "disabled by event";
            #string data "l21_switch_for_ahtung1";
         }
      }
      @event
      {
         #string name "l21_dawn_of_the_dead";
         @action
         {
            #string type "start morning";
            #string data "20000";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l21_shot_in_the_dark";
         }
         @condition
         {
            #string type "time";
            #string data ">=60000";
         }
      }
      @event
      {
         #string name "l21_max_factory_sausage";
         @action
         {
            #string type "delete from shop";
            #string data "factory_sausage";
         }
         @condition
         {
            #string type "place factory_sausage";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l21_end_rain";
         @condition
         {
            #string type "end rain";
            #string data ">=1";
         }
         @action
         {
            #string type "set plant thirst";
            #string data "0.2";
         }
      }
      @event
      {
         #string name "l21_max_big_generator";
         @condition
         {
            #string type "place big_generator";
            #string data ">=1";
         }
         @action
         {
            #string type "delete from shop";
            #string data "big_generator";
         }
      }
   }
}

>>
