
<<

@level
{
   #string level_name "level17";
   #point level_size 48, 32;
   #string level_env "grass";
   #float level_time 3800;
   #string name_emb_music "music_emb_grass_day.ogg";
   #string name_pri_music "music_pri_neutral4.ogg";
   #float plant_thirst_growth 0.2;
   #float plant_fruit_growth 2;
   #float plant_growth 2;
   #float health_reduction_after_harvest 7;
   #float health_reduction_when_thirsty 0.2;
   #float plant_fertilizer_strength 10;
   #float plant_fertilizer_time 10;
   #float plant_starting_health 100;
   #float plant_minimal_health 0;
   #bool terramorphing true;
   @game_field
   {
      @ground
      {
         #string name "desert";
         #string texground_name "desert_center_tile.tga";
         #string texmask_name "lx_fill_mask.tga";
      }
      @ground
      {
         #string name "grass";
         #string texground_name "grass_center_tile.tga";
         #string texmask_name "lx_morphing_mask.tga";
      }
      @object_list
      {
      }
      @render_list
      {
      }
      @physics_list
      {
      }
      @object_map
      {
      }
   }
   @scenario
   {
      [level17_entry]
      @event
      {
         #string name "l17_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 "big_watercan";
         }
         @action
         {
            #string type "add to shop";
            #string data "waterpump";
         }
         @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 "bulldozer";
         }
         @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 "hangar_vegetables";
         }
         @action
         {
            #string type "add to shop";
            #string data "hangar_flowers";
         }
         @action
         {
            #string type "add to shop";
            #string data "hangar_refrigerator";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_pig";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_chicken";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_cow";
         }
         @action
         {
            #string type "add to shop";
            #string data "house_beehive";
         }
         @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 "tree_date";
         }
         @action
         {
            #string type "add to shop";
            #string data "tree_coconut";
         }
         @action
         {
            #string type "add to shop";
            #string data "tree_pomegranate";
         }
         @action
         {
            #string type "add to shop";
            #string data "harvester";
         }
         @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 "helper";
         }
         @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_wheat";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_corn";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_beetroot";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_tomato";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_rose";
         }
         @action
         {
            #string type "add to shop";
            #string data "seed_orchid";
         }
         @action
         {
            #string type "add to shop";
            #string data "terra_irrigator";
         }
         @action
         {
            #string type "add to shop";
            #string data "constructor";
         }
         @action
         {
            #string type "set money";
            #string data "500";
         }
         @action
         {
			#float delay 2000;
            #string type "add dialogue";
            #string data "l17_intro";
         }
      }
      @event
      {
         #string name "l17_irrigation";
         #bool player_task true;
         @action
         {
            #string type "add to shop";
            #string data "water_sprinkler";
         }
         @action
         {
            #string type "add to shop";
            #string data "factory_sausage";
            #float delay 5000;
         }
         @condition
         {
            #string type "place terra_irrigator";
            #string data ">=1";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l17_factory";
         }
      }
     
      @event
      {
         #string name "l17_big_tits";
         #bool player_task true;
         @condition
         {
            #string type "sell factory_sausage";
            #string data ">=60";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l17_irrigation";
         }
      }

	   @event
      {
         #string name "l17_construct_factory";
         #bool player_task true;
         @condition
         {
            #string type "place factory_sausage";
            #string data ">=1";
         }
         @condition
         {
            #string type "enabled by event";
            #string data "l17_irrigation";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l17_workworkwork";
         }
      }
      @event
      {
         #string name "l17_victory";         
         @condition
         {
            #string type "enabled by event";
            #string data "l17_construct_factory, l17_big_tits";
         }
         @action
         {
            #string type "add dialogue";
            #string data "l17_victory";
         }
      }

	  @event
	  {
		#string name "l17_gotcha";
		 @action
         {
            #string type "victory";
         }
		@condition
		{
			#string type "end dialogue l17_victory";
			#string data ">=1";
		}

	  }
      @event
      {
         #string name "l17_max_factory";
         @action
         {
            #string type "delete from shop";
            #string data "factory_sausage";
         }
         @condition
         {
            #string type "place factory_sausage";
            #string data ">=1";
         }
      }
      @event
      {
         #string name "l17_max_herder";
         @action
         {
            #string type "delete from shop";
            #string data "herder";
         }
         @condition
         {
            #string type "place herder";
            #string data ">=2";
         }
      }
      @event
      {
         #string name "l17_max_waterboy";
         @action
         {
            #string type "delete from shop";
            #string data "waterboy";
         }
         @condition
         {
            #string type "place waterboy";
            #string data ">=4";
         }
      }
      @event
      {
         #string name "l17_max_harvester";
         @action
         {
            #string type "delete from shop";
            #string data "harvester";
         }
         @condition
         {
            #string type "place harvester";
            #string data ">=4";
         }
      }
      @event
      {
         #string name "l17_max_helper";
         @action
         {
            #string type "delete from shop";
            #string data "helper";
         }
         @condition
         {
            #string type "place helper";
            #string data ">=3";
         }
      }
   }
}

>>
