//Descent Objects

beginscendatascript;

//Creature Types

begindefinecreature 234; //dark crawler
	import = 161; //hydra
	cr_species = 12;
	cr_level = 23;
	cr_name = "Dark Thing";
	cr_which_sheet = 500;
	cr_default_attitude = 5;
	cr_icon_adjust = 17;
	cr_attack_1 = 8;
	cr_attack_2 = 6;
	cr_attack_3 = 5;
	cr_start_item 0 = 0;
	cr_start_item_chance 0 = 0;
	cr_start_item 1 = 0;
	cr_start_item_chance 1 = 0;
	cr_start_item 2 = 0;
	cr_start_item_chance 2 = 0;

begindefinecreature 235; //dark mist
	import = 138; //spectre
	cr_level = 20;
	cr_name = "Dark Mist";
	cr_which_sheet = 503;
	cr_icon_adjust = 64;
	cr_special_abil = 23;
	cr_species = 12;
	cr_default_attitude = 5;
	cr_immunities 5 = 66; //two-thirds immune to melee

begindefinecreature 236; //nether being
	import = 131; //bladesman
	cr_level = 28;
	cr_default_strategy = 1;
	cr_hp_bonus = 300;
	cr_sp_bonus = 100;
	cr_ap_bonus = 1;
	cr_species = 12;
	cr_name = "Malevolent Spirit";
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 16;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 16;
	cr_immunities 5 = 66;  //two-thirds immune to melee
	cr_immunities 3 = 100; //immune to mental
	cr_which_sheet = 502;
	cr_icon_adjust = 1;
	cr_default_attitude = 5;
	cr_start_item 0 = 446;
	cr_start_item_chance 0 = 100;
	cr_start_item_chance 1 = 0;
	cr_start_item_chance 2 = 0;
	cr_start_item_chance 3 = 0;
	cr_start_item_chance 4 = 0;
	cr_start_item_chance 5 = 0;
	cr_start_item_chance 6 = 0;
	cr_start_item_chance 7 = 0;

begindefinecreature 237; //terrified chitrach
	import = 159; //chitrach
	cr_name = "Terrified Chitrach";
	cr_default_script = "fleebug";

//Floor Types

begindefinefloor 132; //darkened blackened stone
	import = 89;
	fl_icon_adjust = 16;

begindefinefloor 133; //darkened tile floor
	import = 101;
	fl_icon_adjust = 16;

//Terrain Types

begindefineterrain 177; //invisible light producer
	import = 0;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 27;
	te_light_radius = 2;
	//te_which_sheet = 730;
	//te_which_icon = 0;

begindefineterrain 176; //weaker light producer
	te_light_radius = 1;

begindefineterrain 331; // fixing cave hill
	import = 116;
	te_which_sheet = 741;
	te_which_icon = 5;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 10;
	te_hidden_town_terrain = 106;
	te_special_property = 19;

begindefineterrain 358; //Vahnatai building
	import = 330;
	te_which_sheet = 504;
	te_which_icon = 5;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 82;

begindefineterrain 359; //Vahnatai building
	te_which_sheet = 504;
	te_which_icon = 6;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 20;

begindefineterrain 378; //submerged building
	import = 324;
	te_which_sheet = 504;
	te_which_icon = 7;

begindefineterrain 379; //dead chitrach
	import = 269;
	te_name = "Chitrach Husk";
	te_default_script = "deadchitrach";
	te_step_sound = 47;
	te_icon_offset_y = 5;
	te_which_sheet = 504;
	te_which_icon = 0;

begindefineterrain 394; // wall of mist
	import = 126; //boulder
	te_name = "Wall of Mist";
	te_icon_offset_x = 2;
	te_blocks_view_n = 1;
	te_blocks_view_s = 1;
	te_blocks_view_w = 1;
	te_blocks_view_e = 1;
	te_full_move_block = 1;
	te_full_look_block = 1;
	te_which_sheet = 504;
	te_which_icon = 1;
	te_anim_steps = 4;
	te_icon_adjust = 64;

begindefineterrain 392; //stain replacement
	import = 254;
	te_which_sheet = 706;
	te_which_icon = 7;
	te_name = "Slime Pool";

begindefineterrain 393; //stain replacement
	te_which_icon = 8;

begindefineterrain 421; //height-adding block table thing 1
	import = 0;
	te_height_adj_pixels = 25;
begindefineterrain 422; //height-adding block table thing 2
	te_height_adj_pixels = 40;
begindefineterrain 423; //height-adding block table thing 2
	te_height_adj_pixels = 55;
begindefineterrain 424; //height-adding block table thing 2
	te_height_adj_pixels = 70;
begindefineterrain 425; //height-adding block table thing 2
	te_height_adj_pixels = 85;
begindefineterrain 426; //height-adding block table thing 2
	te_height_adj_pixels = 100;




//Item Types

begindefineitem 445; //valor shield
	import = 423; //shield of Khar
	it_name = "Valor Shield";
	it_full_name = "Valor Shield";
	it_bonus = 5;
	it_icon_adjust = 2;
	it_ability_1 = 54;
	it_ability_str_1 = 1;
	it_ability_2 = 40;
	it_ability_str_2 = 6;

begindefineitem 446; //elrilok's robe
	import = 13; //white tunic
	it_icon_adjust = 64;
	it_name = "Elrilok's Robe";
	it_full_name = "Elrilok's Robe";
	it_magic = 1;
	it_value = 3000;
	it_cursed = 1;
	it_bonus = 10;
	it_ability_1 = 58;
	it_ability_str_1 = 10;
	it_ability_2 = 86;
	it_ability_str_2 = 6;