beginscendatascript;

//MONSTERS

begindefinecreature 107;
	clear;
	cr_name = "Shambling Hulk";
	cr_level = 10;
	cr_hp_bonus = 9000;
	cr_special_abil = 15;
	cr_default_attitude = 5;
	cr_species = 8;
	cr_attack_1 = 20;
	cr_attack_1_type = 6;
	cr_which_sheet = 500;
	cr_which_sheet_upper = 501;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 20;

begindefinecreature 108;
	clear;
	cr_name = "Necromancer";
	cr_level = 7;
	cr_hp_bonus = 250;
	cr_sp_bonus = 200;
	cr_default_attitude = 4;
	cr_special_abil = 21;
	cr_species = 0;
	cr_attack_1 = 5;
	cr_attack_1_type = 0;
	cr_which_sheet = 502;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 6;
	cr_immunities 0 = 30;
	cr_immunities 1 = 30;
	cr_immunities 2 = 30;
	cr_immunities 3 = 100;
	cr_immunities 4 = 50;
	cr_immunities 5 = 10;

begindefinecreature 109;
	clear;
	import = 56;
	cr_name = "Bat Familiar";
	cr_level = 50;
	cr_hp_bonus = 5000;
	cr_ap_bonus = 12;
	cr_which_sheet = 503;
	cr_summon_class = -1;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_immunities 5 = 100;

begindefinecreature 110;
	clear;
	import = 61;
	cr_icon_adjust = 9;

begindefinecreature 206;
	clear;
	cr_name = "Troglodyte";
	cr_level = 3;
	cr_hp_bonus = 15;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_natural_armor = 3;
	cr_attack_1 = 5;
	cr_attack_1_type = 0;
	cr_which_sheet = 1640;
	cr_start_item 0 = 50;
	cr_start_item_chance 0 = 40;
	cr_start_item 1 = 51;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 26;
	cr_start_item_chance 2 = 40;
	cr_start_item 3 = 30;
	cr_start_item_chance 3 = 20;
	cr_start_item 4 = 126;
	cr_start_item_chance 4 = 25;
	cr_start_item 5 = 85;
	cr_start_item_chance 5 = 100;

begindefinecreature 207;
	clear;
	cr_name = "Troglodyte Warrior";
	cr_level = 4;
	cr_hp_bonus = 50;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_natural_armor = 7;
	cr_attack_1 = 8;
	cr_attack_1_type = 0;
	cr_which_sheet = 1641;
	cr_start_item 0 = 70;
	cr_start_item_chance 0 = 40;
	cr_start_item 1 = 71;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 30;
	cr_start_item_chance 2 = 70;
	cr_start_item 3 = 31;
	cr_start_item_chance 3 = 20;
	cr_start_item 4 = 222;
	cr_start_item_chance 4 = 5;
	cr_start_item 5 = 85;
	cr_start_item_chance 5 = 100;

begindefinecreature 208;
	clear;
	cr_name = "Troglodyte Shaman";
	cr_level = 5;
	cr_hp_bonus = 50;
	cr_sp_bonus = 80;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_natural_armor = 7;
	cr_attack_1 = 3;
	cr_attack_1_type = 0;
	cr_which_sheet = 1642;
	cr_default_strategy = 1;
	cr_what_stat_adjust 0 = 2;
	cr_amount_stat_adjust 0 = 4;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 3;
	cr_what_stat_adjust 2 = 12;
	cr_amount_stat_adjust 2 = 5;
	cr_start_item 0 = 83;
	cr_start_item_chance 0 = 40;
	cr_start_item 1 = 213;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 30;
	cr_start_item_chance 2 = 70;
	cr_start_item 3 = 31;
	cr_start_item_chance 3 = 20;

begindefinecreature 210;
	clear;
	cr_name = "Troglodyte Defender";
	cr_level = 7;
	cr_hp_bonus = 120;
	cr_default_attitude = 4;
	cr_species = 1;
	cr_natural_armor = 15;
	cr_attack_1 = 15;
	cr_attack_1_type = 0;
	cr_which_sheet = 1641;
	cr_icon_adjust = 9;
	cr_default_strategy = 1;
	cr_what_stat_adjust 0 = 9;
	cr_amount_stat_adjust 0 = 4;
	cr_what_stat_adjust 1 = 21;
	cr_amount_stat_adjust 1 = 4;
	cr_start_item 0 = 71;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 72;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 36;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 37;
	cr_start_item_chance 3 = 20;
	cr_start_item 4 = 225;
	cr_start_item_chance 4 = 5;

begindefinecreature 234;
	clear;
	import = 42;
	cr_default_script = "messagechar";
begindefinecreature 235;
	clear;
	import = 43;
	cr_default_script = "messagechar";
begindefinecreature 236;
	clear;
	import = 44;
	cr_default_script = "messagechar";
begindefinecreature 237;
	clear;
	import = 45;
	cr_default_script = "messagechar";
begindefinecreature 238;
	clear;
	import = 46;
	cr_default_script = "messagechar";
begindefinecreature 239;
	clear;
	import = 47;
	cr_default_script = "messagechar";
begindefinecreature 240;
	clear;
	import = 120;
	cr_default_script = "messagechar";
begindefinecreature 241;
	clear;
	import = 121;
	cr_default_script = "messagechar";

// TERRAIN

begindefineterrain 377;
	clear;
	te_name = "Energy Gate";
	te_which_sheet = 400;
	te_which_icon = 3;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 33;
	te_swap_terrain = 378;
	te_draw_on_automap = 1;
	te_move_block_e = 1;

begindefineterrain 378;
	clear;
	te_name = "Energy Gate";
	te_which_sheet = 400;
	te_which_icon = 1;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 37;
	te_swap_terrain = 377;

begindefineterrain 390;
	clear;
	import = 138;
	te_name = "Dirt";
	te_icon_adjust = 64;
	te_can_look_at = 1;
	te_default_script = "dirty";

begindefineterrain 391;
	clear;
	import = 223;
	te_name = "Muck";
	te_icon_adjust = 8;
	te_can_look_at = 1;
	te_default_script = "dirty";
	



// ITEMS

begindefineitem 445; // skullcap
	clear;
	it_name = "Helmet";
	it_full_name = "Skull Cap";
	it_variety = 14;
	it_bonus = -2;
	it_protection = 3;
	it_encumbrance = 1;
	it_floor_which_sheet = 1015;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_icon_adjust = 24;
	it_value = 5;
	it_weight = 10;
	it_cursed = 1;
	it_ability_1 = 85;
	it_ability_str_1 = 1;
	
begindefineitem 446; // odious visage
	clear;
	it_name = "Grim Helmet";
	it_full_name = "Odious Visage";
	it_variety = 14;
	it_bonus = 5;
	it_protection = 10;
	it_encumbrance = 2;
	it_floor_which_sheet = 1008;
	it_floor_which_icon = 7;
	it_inventory_icon = 8;
	it_icon_adjust = 65; // 65,68,72,73,80
	it_value = 1151;
	it_weight = 125;
	it_magic = 1;
	it_cursed = 1;
	it_ability_1 = 51;
	it_ability_str_1 = 3;
	it_ability_2 = 81;
	it_ability_str_2 = 1;
	it_ability_3 = 87;
	it_ability_str_3 = 7;
	it_ability_4 = 58;
	it_ability_str_4 = -20;

begindefineitem 447; // necromantic necrotic boon
	clear;
	it_name = "Ring";
	it_full_name = "Necrotic Symbiosis";
	it_variety = 18;
	it_floor_which_sheet = 1018;
	it_floor_which_icon = 1;
	it_inventory_icon = 4;
	it_icon_adjust = 7;
	it_ability_1 = 86;
	it_ability_str_1 = 3;
	it_ability_2 = 85;
	it_ability_str_2 = -1;
	it_value = 600;
	it_weight = 0;
	it_magic = 1;

begindefineitem 448;
	clear;
	it_name = "Potion";
	it_full_name = "The Special(tm)";
	it_variety = 7;
	it_charges = 1;
	it_floor_which_sheet = 1043;
	it_floor_which_icon = 5;
	it_icon_adjust = 39;
	it_inventory_icon = 4;
	it_ability_1 = 220;
	it_ability_str_1 = 20;
	it_value = 10000;
	it_identified = 1;

begindefineitem 449;
	clear;
	it_name = "Gloves";
	it_full_name = "Hands of Fido";
	it_variety = 15;
	it_bonus = 1;
	it_protection = 2;
	it_floor_which_sheet = 1008;
	it_floor_which_icon = 9;
	it_icon_adjust = 16;
	it_inventory_icon = 0;
	it_ability_1 = 55;
	it_ability_str_1 = 1;
	it_ability_2 = 56;
	it_ability_str_2 = 1;
	it_ability_3 = 60;
	it_ability_str_3 = 1;
	it_magic = 1;
	it_value = 200;
	it_weight = 20;

begindefineitem 450;
	clear;
	it_name = "Mysterious Book";
	it_full_name = "Tome of Circular Logic";
	it_variety = 5;
	it_bonus = 3;
	it_damage_per_level = 2;
	it_weapon_skill_used = 39;
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_ability_1 = 3;
	it_ability_str_1 = -1;
	it_magic = 1;
	it_value = 300;
	it_weight = 50;
	it_missile_anim_type = 3;