beginscendatascript;

// -----------------
// -----------------
// -----------------
// -----------------
// -----------------
// -----------------
// -----------------
// -----------------

// FLOOR TYPES
// A Blades of Avernum scenario can have up to 256 floor types.

// begin cave floors
begindefinefloor 0; // this floor gets imported for some basic floors
	fl_name = "Cave Floor";
	fl_which_sheet = 700;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 0;
	fl_is_ground = 1;
	fl_shortcut_key = 6;

begindefinefloor 1;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;
	fl_shortcut_key = -1;
begindefinefloor 2;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
begindefinefloor 3;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;

begindefinefloor 4;
	fl_name = "Rough Stone Floor";
	fl_which_icon = 4;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1001;
begindefinefloor 5;
	fl_which_icon = 5;
	fl_ed_which_icon = 5;
begindefinefloor 6;
	fl_which_icon = 6;
	fl_ed_which_icon = 6;
begindefinefloor 7;
	fl_which_icon = 7;
	fl_ed_which_icon = 7;

begindefinefloor 8;
	fl_name = "Volcanic Floor";
	fl_which_icon = 8;
	fl_ed_which_icon = 8;
	fl_is_rough = 0;
	fl_out_fight_town_used = 1008;
begindefinefloor 9;
	fl_which_icon = 9;
	fl_ed_which_icon = 9;
begindefinefloor 10;
	fl_which_sheet = 701;
	fl_which_icon = 0;
	fl_ed_which_icon = 10;

// cave/rough floors
begindefinefloor 11;
	import = 4;
	fl_which_sheet = 701;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 11;
begindefinefloor 12;
	fl_which_icon = 2;
	fl_ed_which_icon = 12;
begindefinefloor 13;
	fl_which_icon = 3;
	fl_ed_which_icon = 13;
begindefinefloor 14;
	fl_which_icon = 4;
	fl_ed_which_icon = 14;
begindefinefloor 15;
	fl_which_icon = 5;
	fl_ed_which_icon = 15;
begindefinefloor 16;
	fl_which_icon = 6;
	fl_ed_which_icon = 16;
begindefinefloor 17;
	fl_which_icon = 7;
	fl_ed_which_icon = 17;
begindefinefloor 18;
	fl_which_icon = 8;
	fl_ed_which_icon = 18;
begindefinefloor 19;
	fl_which_icon = 9;
	fl_ed_which_icon = 19;
begindefinefloor 20;
	fl_which_sheet = 702;
	fl_which_icon = 0;
	fl_ed_which_icon = 20;
begindefinefloor 21;
	fl_which_icon = 1;
	fl_ed_which_icon = 21;
begindefinefloor 22;
	fl_which_icon = 2;
	fl_ed_which_icon = 22;

// cave water
begindefinefloor 23;
	// imported for water later
	clear;
	fl_name = "Water";
	fl_which_sheet = 702;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 23;
	fl_is_water = 1;
	fl_shortcut_key = 22;
	fl_blocked = 1;
	fl_fly_over = 1;
	fl_out_fight_town_used = 1007;
	fl_shimmers = 2;
begindefinefloor 24;
	fl_which_icon = 4;
	fl_ed_which_icon = 24;
	fl_shortcut_key = -1;
begindefinefloor 25;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
begindefinefloor 26;
	fl_which_icon = 6;
	fl_ed_which_icon = 26;
begindefinefloor 27;
	fl_which_icon = 7;
	fl_ed_which_icon = 27;
begindefinefloor 28;
	fl_which_icon = 8;
	fl_ed_which_icon = 28;
begindefinefloor 29;
	fl_which_icon = 9;
	fl_ed_which_icon = 29;
begindefinefloor 30;
	fl_which_sheet = 703;
	fl_which_icon = 0;
	fl_ed_which_icon = 30;
begindefinefloor 31;
	fl_which_icon = 1;
	fl_ed_which_icon = 31;
begindefinefloor 32;
	fl_which_icon = 2;
	fl_ed_which_icon = 32;
begindefinefloor 33;
	fl_which_icon = 3;
	fl_ed_which_icon = 33;
begindefinefloor 34;
	fl_which_icon = 4;
	fl_ed_which_icon = 34;
begindefinefloor 35;
	fl_which_icon = 5;
	fl_ed_which_icon = 35;
begindefinefloor 36;
	fl_which_icon = 6;
	fl_ed_which_icon = 36;

// begin surface grass/desert
begindefinefloor 37;
	import = 0;
	fl_name = "Ground";
	fl_which_sheet = 780;
	fl_ed_which_sheet = 688;
	fl_out_fight_town_used = 1010;
begindefinefloor 38;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;
	fl_shortcut_key = -1;
begindefinefloor 39;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
begindefinefloor 40;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;
begindefinefloor 41;
	fl_name = "Dry Ground";
	fl_which_icon = 4;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1017;
begindefinefloor 42;
	fl_which_icon = 5;
	fl_ed_which_icon = 5;
begindefinefloor 43;
	fl_which_icon = 6;
	fl_ed_which_icon = 6;
begindefinefloor 44;
	fl_which_icon = 7;
	fl_ed_which_icon = 7;
begindefinefloor 45;
	fl_which_sheet = 781;
	fl_which_icon = 1;
	fl_ed_which_icon = 11;
begindefinefloor 46;
	fl_which_icon = 2;
	fl_ed_which_icon = 12;
begindefinefloor 47;
	fl_which_icon = 3;
	fl_ed_which_icon = 13;
begindefinefloor 48;
	fl_which_icon = 4;
	fl_ed_which_icon = 14;
begindefinefloor 49;
	fl_which_icon = 5;
	fl_ed_which_icon = 15;
begindefinefloor 50;
	fl_which_icon = 6;
	fl_ed_which_icon = 16;
begindefinefloor 51;
	fl_which_icon = 7;
	fl_ed_which_icon = 17;
begindefinefloor 52;
	fl_which_icon = 8;
	fl_ed_which_icon = 18;
begindefinefloor 53;
	fl_which_icon = 9;
	fl_ed_which_icon = 19;
begindefinefloor 54;
	fl_which_sheet = 782;
	fl_which_icon = 0;
	fl_ed_which_icon = 20;
begindefinefloor 55;
	fl_which_icon = 1;
	fl_ed_which_icon = 21;
begindefinefloor 56;
	fl_which_icon = 2;
	fl_ed_which_icon = 22;

// surface water
begindefinefloor 57;
	import = 23;
	fl_name = "Water";
	fl_which_sheet = 782;
	fl_which_icon = 3;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 23;
	fl_out_fight_town_used = 1016;
begindefinefloor 58;
	fl_which_icon = 4;
	fl_ed_which_icon = 24;
	fl_shortcut_key = -1;
begindefinefloor 59;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
begindefinefloor 60;
	fl_which_icon = 6;
	fl_ed_which_icon = 26;
begindefinefloor 61;
	fl_which_icon = 7;
	fl_ed_which_icon = 27;
begindefinefloor 62;
	fl_which_icon = 8;
	fl_ed_which_icon = 28;
begindefinefloor 63;
	fl_which_icon = 9;
	fl_ed_which_icon = 29;
begindefinefloor 64;
	fl_which_sheet = 783;
	fl_which_icon = 0;
	fl_ed_which_icon = 30;
begindefinefloor 65;
	fl_which_icon = 1;
	fl_ed_which_icon = 31;
begindefinefloor 66;
	fl_which_icon = 2;
	fl_ed_which_icon = 32;
begindefinefloor 67;
	fl_which_icon = 3;
	fl_ed_which_icon = 33;
begindefinefloor 68;
	fl_which_icon = 4;
	fl_ed_which_icon = 34;
begindefinefloor 69;
	fl_which_icon = 5;
	fl_ed_which_icon = 35;
begindefinefloor 70;
	fl_which_icon = 6;
	fl_ed_which_icon = 36;

	// STATIONARY WATER

begindefinefloor 71;
	import = 23;
begindefinefloor 72;
	import = 24;
begindefinefloor 73;
	import = 57;
begindefinefloor 74;
	import = 58;

// Mixed out floors
begindefinefloor 75;
	// imported later for a generic blocked floor
	clear;
	fl_name = "Pit";
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 43;
	fl_blocked = 1;
	fl_fly_over = 1;
	fl_is_water = 1;

begindefinefloor 76;
	import = 0;
	fl_name = "Dirt";
	fl_which_sheet = 780;
	fl_which_icon = 8;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 8;
	fl_shortcut_key = -1;
	fl_out_fight_town_used = 1021;
	fl_is_rough = 1;
begindefinefloor 77;
	fl_which_icon = 9;
	fl_ed_which_icon = 9;
begindefinefloor 78;
	fl_which_sheet = 781;
	fl_which_icon = 0;
	fl_ed_which_icon = 10;

	// DYING GRASS

begindefinefloor 79;
	import = 76;
	fl_name = "Dying Grass";
	fl_icon_adjust = 282;
begindefinefloor 80;
	import = 76;
	fl_name = "Dying Grass";
	fl_which_sheet = 751;
	fl_which_icon = 5;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 15;

	// SWAMPS

begindefinefloor 81;
	clear;
	fl_name = "Cave Swamp";
	fl_which_sheet = 704;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 44;
	fl_step_sound = 55;
	fl_out_fight_town_used = 1006;
	fl_special_property = 4;
	fl_special_strength = 3;
begindefinefloor 82;
	fl_name = "Rough Cave Swamp";
	fl_which_icon = 5;
	fl_ed_which_icon = 45;
	fl_is_rough = 1;
	fl_special_property = 5;
	fl_special_strength = 3;
begindefinefloor 83;
	fl_name = "Grassy Swamp";
	fl_which_sheet = 783;
	fl_which_icon = 8;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 38;
	fl_is_ground = 1;
	fl_out_fight_town_used = 1015;
	fl_special_property = 4;
	fl_special_strength = 3;
begindefinefloor 84;
	fl_name = "Dry Ground Swamp";
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_which_icon = 9;
	fl_ed_which_icon = 39;
	fl_out_fight_town_used = 1019;
	fl_special_property = 5;
	fl_special_strength = 3;
begindefinefloor 85;
        import = 77;
	fl_name = "Dirt Swamp";
        fl_which_sheet = 751;
        fl_which_icon = 6;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 16;

	// LAVA

begindefinefloor 86;
	clear;
	fl_name = "Lava";
	fl_which_sheet = 713;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 39;
	fl_special_property = 1;
	fl_special_strength = 50;
	fl_out_fight_town_used = 1009;
	fl_is_rough = 1;
	fl_anim_steps = 4;
begindefinefloor 87; // Fake lava! does no damage
	fl_special_property = 0;
begindefinefloor 88;
	import = 86;
	fl_name = "Ice";
	fl_which_sheet = 752;
	fl_which_icon = 0;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 20;
	fl_anim_steps = 4;
	fl_special_property = 2;
begindefinefloor 89; // Fake ice! does no damage
	fl_special_property = 0;

	// ODD CAVE FLOORS

begindefinefloor 90;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 704;
	fl_which_icon = 6;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 46;
	fl_out_fight_town_used = 1022;
begindefinefloor 91;
	fl_which_icon = 7;
	fl_ed_which_icon = 47;
begindefinefloor 92;
	clear;
	fl_name = "Cave Floor";
	fl_which_sheet = 704;
	fl_which_icon = 6;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 99;
	fl_out_fight_town_used = 1022;
	fl_icon_adjust = 593;
begindefinefloor 93;
	fl_which_icon = 7;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 99;
begindefinefloor 94;
        import = 90;
        fl_which_sheet = 759;
        fl_which_icon = 9;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 99;
begindefinefloor 95;
        import = 90;
	fl_blocked = 1;
        fl_which_sheet = 759;
        fl_which_icon = 8;
        fl_ed_which_sheet = 684;
        fl_ed_which_icon = 98;

	// CROPS

begindefinefloor 96;
	import = 90;
	fl_name = "Crops";
	fl_which_sheet = 706;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 60;
	fl_out_fight_town_used = 1000;
begindefinefloor 97;
	fl_which_icon = 1;
	fl_ed_which_icon = 61;
begindefinefloor 98;
	fl_name = "Crops";
	fl_which_sheet = 795;
	fl_which_icon = 7;
	fl_ed_which_sheet = 689;
	fl_ed_which_icon = 57;
	fl_out_fight_town_used = 1010;
begindefinefloor 99;
	fl_which_icon = 8;
	fl_ed_which_icon = 58;
begindefinefloor 100;
	fl_which_sheet = 789;
	fl_which_icon = 6;
	fl_ed_which_sheet = 688;
	fl_ed_which_icon = 96;
	fl_out_fight_town_used = 1010;
begindefinefloor 101;
	fl_which_icon = 7;
	fl_ed_which_icon = 97;

	// DOMESTIC FLOORS

begindefinefloor 102;
	clear;
	fl_name = "Floor";
	fl_which_sheet = 704;
	fl_which_icon = 8;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 48;
	fl_shortcut_key = 5;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 103;
	fl_which_icon = 9;
	fl_ed_which_icon = 49;
	fl_shortcut_key = -1;
begindefinefloor 104;
	fl_which_sheet = 705;
	fl_which_icon = 6;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 56;
begindefinefloor 105;
	fl_which_icon = 7;
	fl_ed_which_icon = 57;
begindefinefloor 106;
	fl_name = "Wooden Floor";
	fl_which_icon = 8;
	fl_ed_which_icon = 58;
begindefinefloor 107;
	fl_which_sheet = 709;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 94;
begindefinefloor 108;
	fl_which_sheet = 704;
	fl_which_icon = 2;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 82;
begindefinefloor 109;
	fl_which_sheet = 704;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 81;
begindefinefloor 110;
	clear;
	fl_name = "Red Floor";
	fl_which_sheet = 751;
	fl_which_icon = 7;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 17;
	fl_is_rough = 1;
begindefinefloor 111;
	fl_name = "Blue Floor";
	fl_icon_adjust = 33;
begindefinefloor 112;
	fl_name = "Carpet on Floor";
	fl_which_sheet = 709;
	fl_which_icon = 2;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 92;
	fl_icon_adjust = 0;
begindefinefloor 113;
	fl_name = "Resplendent Tile";
	fl_icon_adjust = 120;
begindefinefloor 114;
	fl_name = "Carpet on Floor";
	fl_which_sheet = 773;
	fl_which_icon = 9;
	fl_ed_which_sheet = 687;
	fl_ed_which_icon = 39;
	fl_icon_adjust = 0;

	// CARPETS

begindefinefloor 115;
	clear;
	fl_name = "Red Carpet";
	fl_which_sheet = 707;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 73;
	fl_is_floor = 1;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 116;
	import = 115;
	fl_which_sheet = 707;
	fl_which_icon = 4;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 74;
begindefinefloor 117;
	import = 116;
	fl_which_sheet = 709;
	fl_which_icon = 1;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 91;
begindefinefloor 118;
	fl_which_sheet = 709;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 90;
	fl_icon_adjust = 0;
begindefinefloor 119;
	import = 115;
	fl_icon_adjust = 18;
begindefinefloor 120;
	import = 116;
	fl_icon_adjust = 18;
begindefinefloor 121;
	import = 117;
	fl_icon_adjust = 18;
begindefinefloor 122;
	import = 118;
	fl_icon_adjust = 18;
begindefinefloor 123;
	import = 115;
	fl_icon_adjust = 4;
begindefinefloor 124;
	import = 116;
	fl_icon_adjust = 4;
begindefinefloor 125;
	import = 117;
	fl_icon_adjust = 4;
begindefinefloor 126;
	import = 118;
	fl_icon_adjust = 4;

	// MOSAICS

// mosaic 1 & 2
begindefinefloor 127;
	clear;
	fl_name = "Mosaic Floor";
	fl_which_sheet = 705;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 50;
	fl_is_floor = 1;
	fl_out_fight_town_used = 1024;
begindefinefloor 128;
	fl_which_icon = 1;
	fl_ed_which_icon = 51;
begindefinefloor 129;
	fl_which_icon = 2;
	fl_ed_which_icon = 52;
begindefinefloor 130;
	fl_which_icon = 3;
	fl_ed_which_icon = 53;
begindefinefloor 131;
	fl_which_icon = 4;
	fl_ed_which_icon = 54;
begindefinefloor 132;
	fl_which_icon = 5;
	fl_ed_which_icon = 55;
begindefinefloor 133;
	fl_which_sheet = 752;
	fl_which_icon = 4;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 24;
begindefinefloor 134;
	fl_which_icon = 5;
	fl_ed_which_icon = 25;
begindefinefloor 135;
	fl_which_icon = 6;
	fl_ed_which_icon = 26;
begindefinefloor 136;
	fl_which_icon = 7;
	fl_ed_which_icon = 27;
begindefinefloor 137;
	fl_which_icon = 8;
	fl_ed_which_icon = 28;
begindefinefloor 138;
	fl_which_icon = 9;
	fl_ed_which_icon = 29;

	// OTHER FLOORS

begindefinefloor 139;
	clear;
	fl_name = "Walkway";
	fl_which_sheet = 715;
	fl_which_icon = 9;
	fl_ed_which_sheet = 681;
	fl_ed_which_icon = 59;
	fl_shortcut_key = 20;
	fl_out_fight_town_used = 1025;
	fl_is_rough = 1;
begindefinefloor 140;
	clear;
	fl_name = "Blackened Stone";
	fl_which_sheet = 773;
	fl_which_icon = 2;
	fl_ed_which_sheet = 687;
	fl_ed_which_icon = 32;
	fl_out_fight_town_used = 1023;

	// V-Floors

begindefinefloor 141;
	import = 102;
	fl_name = "Vahnatai Floor";
	fl_which_sheet = 706;
	fl_which_icon = 2;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 62;
begindefinefloor 142;
	fl_which_sheet = 761;
	fl_which_icon = 4;
	fl_ed_which_sheet = 686;
	fl_ed_which_icon = 14;
begindefinefloor 143;
	fl_which_icon = 9;
	fl_ed_which_icon = 19;
begindefinefloor 144;
	fl_which_icon = 5;
	fl_ed_which_icon = 18;
	fl_anim_steps = 4;

// Blocked floors ... monsters won't enter these
begindefinefloor 145;
	import = 0;
	fl_shortcut_key = -1;
	fl_special_property = 6;
begindefinefloor 146;
	import = 4;
	fl_special_property = 6;
begindefinefloor 147;
	import = 37;
	fl_special_property = 6;
	fl_shortcut_key = -1;
begindefinefloor 148;
	import = 41;
	fl_special_property = 6;
begindefinefloor 149;
	import = 102;
	fl_special_property = 6;
	fl_shortcut_key = -1;
begindefinefloor 150;
	import = 76;
	fl_special_property = 6;
	fl_shortcut_key = -1;

// This special terrain is nothingness. DO NOT change it. It represents floor that the
// player will never step on or see (like inside walls).
begindefinefloor 255;
	clear;
	fl_name = "Solid Stone";
	fl_which_sheet = 704;
	fl_which_icon = 3;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 43;
	fl_blocked = 1;
	fl_shortcut_key = 1;

// ============
// MONSTERS
// ============

begindefinecreature 83;
	clear;
	cr_name = "Elder aranea";
	cr_level = 20;
	cr_what_stat_adjust 0 = 25;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 16;
	cr_what_stat_adjust 2 = 11;
	cr_amount_stat_adjust 2 = 16;
	cr_what_stat_adjust 3 = 26;
	cr_amount_stat_adjust 3 = 8;
	cr_what_stat_adjust 4 = 9;
	cr_amount_stat_adjust 4 = 8;
	cr_start_item 0 = 373;
	cr_start_item_chance 0 = 100;
	cr_default_attitude = 4;
	cr_species = 9;
	cr_which_sheet = 1568;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_ap_bonus = 0;
	cr_immunities 2 = 50;
	cr_default_strategy = 1;
begindefinecreature 100;
	clear;
	cr_name = "Slith Avatar";
	cr_level = 25;
	cr_default_attitude = 4;
	cr_species = 3;
	cr_which_sheet = 1532;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 1;
	cr_immunities 0 = 50;
	cr_immunities 1 = 50;
	cr_special_abil = 10;
	cr_icon_adjust = 2;
begindefinecreature 135;
	clear;
	cr_name = "Augmented Giant";
	cr_level = 35;
	cr_what_stat_adjust 0 = 29;
	cr_amount_stat_adjust 0 = 6;
	cr_what_stat_adjust 1 = 8;
	cr_amount_stat_adjust 1 = 6;
	cr_special_abil = 16;
	cr_start_item 0 = 2;
	cr_start_item_chance 0 = 80;
	cr_start_item 1 = 3;
	cr_start_item_chance 1 = 80;
	cr_start_item 2 = 192;
	cr_start_item_chance 2 = 80;
	cr_start_item 3 = 204;
	cr_start_item_chance 3 = 8;
	cr_start_item 4 = 115;
	cr_start_item_chance 4 = 5;
	cr_start_item 5 = 225;
	cr_start_item_chance 5 = 5;
	cr_default_attitude = 4;
	cr_species = 4;
	cr_natural_armor = 10;
	cr_which_sheet = 1613;
	cr_which_sheet_upper = 1614;
	cr_attack_2 = 6;
	cr_attack_3 = 6;
	cr_attack_23_type = 4;
	cr_immunities 4 = 100;
	cr_summon_class = 6;
	cr_icon_adjust = 1000;
begindefinecreature 234;
	clear;
	cr_default_script = "";
	cr_name = "Slime Pool";
	cr_hp_bonus = 991;
	cr_which_sheet = 1533;
	cr_level = 1;
        cr_species = 10;
	cr_special_abil = 37;
	cr_immunities 1 = 100;
	cr_immunities 2 = 50;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_immunities 5 = 75;
begindefinecreature 235;
	import = 18;
	cr_name = "King";
	cr_which_sheet = 1572;

// ============
// TERRAIN
// ============

begindefineterrain 297; 
	import = 141;
	te_name = "Dock";
	te_which_sheet = 742;
	te_which_icon = 8;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 12;
	te_is_bridge = 1;
	te_is_road = 1;
	te_draw_on_automap = 1;

begindefineterrain 390;
	import = 293;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 5;

begindefineterrain 391;
	import = 294;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 6;

begindefineterrain 392;
	import = 295;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 7;

begindefineterrain 393;
	import = 296;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 8;

begindefineterrain 397;
	import = 396;
	te_name = "Found Supply Cache";
	te_which_sheet = 787;
	te_which_icon = 0;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 70;

begindefineterrain 422;
	import = 125;
	te_which_sheet = 703;
	te_which_icon = 8;
	te_ed_which_sheet = 680;
	te_ed_which_icon = 38;

begindefineterrain 423;
	import = 96;
	te_which_sheet = 707;
	te_which_icon = 9;

begindefineterrain 424;
	import = 125;
	te_which_sheet = 717;
	te_which_icon = 7;
	te_ed_which_sheet = 681;
	te_ed_which_icon = 77;

begindefineterrain 425;
	import = 141;
	te_name = "Grave";
	te_which_sheet = 720;
	te_which_icon = 2;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 92;

begindefineterrain 426;
	te_which_sheet = 720;
	te_which_icon = 3;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 93;

begindefineterrain 427;
	import = 280;
	te_name = "Tombstone";
	te_which_sheet = 720;
	te_which_icon = 4;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 94;

begindefineterrain 428;
	import = 280;
	te_which_sheet = 720;
	te_which_icon = 5;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 95;

begindefineterrain 429;
	import = 125;
	te_name = "Keg";
	te_which_sheet = 720;
	te_which_icon = 6;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 96;

begindefineterrain 430;
	te_which_sheet = 720;
	te_which_icon = 7;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 97;

begindefineterrain 431;
	te_name = "Unlit Bonfire";
	te_which_sheet = 722;
	te_which_icon = 5;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 25;

begindefineterrain 432;
	import = 282;
	te_which_sheet = 726;
	te_which_icon = 7;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 67;

begindefineterrain 433;
	import = 219;
	te_which_sheet = 727;
	te_which_icon = 9;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 79;

begindefineterrain 434;
	import = 261;
	te_name = "Amphorae";
	te_which_sheet = 728;
	te_which_icon = 1;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 81;

begindefineterrain 435;
	import = 125;
	te_name = "Burial Spire";
	te_which_sheet = 728;
	te_which_icon = 6;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 86;

begindefineterrain 436;
	import = 141;
	te_name = "Mine";
	te_which_sheet = 730;
	te_which_icon = 0;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 10;
	te_swap_terrain = 437;
	te_default_script = "trap";

begindefineterrain 437;
	import = 141;
	te_name = "Destroyed Mine";
	te_which_sheet = 730;
	te_which_icon = 1;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 11;

begindefineterrain 438;
	import = 436;
	te_which_sheet = 731;
	te_which_icon = 0;
	te_anim_steps = 3;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 12;
	te_swap_terrain = 439;

begindefineterrain 439;
	import = 437;
	te_which_sheet = 731;
	te_which_icon = 3;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 13;

begindefineterrain 440;
	import = 267;
	te_name = "Light";
	te_which_sheet = 732;
	te_which_icon = 0;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 14;
	te_anim_steps = 3;
	te_light_radius = 4;

begindefineterrain 441;
	te_which_sheet = 732;
	te_which_icon = 3;
	te_ed_which_sheet = 687;
	te_ed_which_icon = 15;
	te_light_radius = 4;

begindefineterrain 442;
	import = 125;
	te_name = "Emblem";
	te_which_sheet = 743;
	te_which_icon = 7;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 37;

begindefineterrain 443;
	import = 293;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 5;
	te_icon_adjust = 593;

begindefineterrain 444;
	import = 294;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 6;
	te_icon_adjust = 593;

begindefineterrain 445;
	import = 295;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 7;
	te_icon_adjust = 593;

begindefineterrain 446;
	import = 296;
	te_name = "Slope";
	te_which_sheet = 744;
	te_which_icon = 8;
	te_icon_adjust = 593;

begindefineterrain 447;
	import = 219;
	te_name = "End Table";
	te_which_sheet = 757;
	te_which_icon = 9;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 79;

begindefineterrain 448;
	te_which_sheet = 759;
	te_which_icon = 6;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 96;

begindefineterrain 449;
	te_which_sheet = 759;
	te_which_icon = 7;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 97;

begindefineterrain 450;
	import = 304;
	te_name = "Building";
	te_which_sheet = 762;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 20;

begindefineterrain 451;
	import = 125;
	te_name = "Field";
	te_which_sheet = 764;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 42;
	te_anim_steps = 4;

begindefineterrain 452;
	import = 450;
	te_which_sheet = 768;
	te_which_icon = 2;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 82;

begindefineterrain 453;
	import = 368;
	te_which_sheet = 769;
	te_which_icon = 3;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 93;

begindefineterrain 454;
	import = 204;
	te_which_sheet = 786;
	te_which_icon = 6;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 66;

begindefineterrain 455;
	te_which_sheet = 786;
	te_which_icon = 7;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 67;

begindefineterrain 456;
	clear;
	te_name = "Hole";
	te_which_sheet = 787;
	te_which_icon = 0;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 70;
	te_swap_terrain = 457;

begindefineterrain 457;
	clear;
	te_name = "Mound";
	te_which_sheet = 788;
	te_which_icon = 2;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 82;
	te_swap_terrain = 456;

begindefineterrain 458;
	import = 450;
	te_which_sheet = 789;
	te_which_icon = 2;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 92;

begindefineterrain 459;
	import = 405;
	te_which_sheet = 796;
	te_which_icon = 8;
	te_ed_which_sheet = 689;
	te_ed_which_icon = 68;

begindefineterrain 460;
	import = 219;
	te_name = "Table";
	te_which_sheet = 709;
	te_which_icon = 9;
	te_ed_which_sheet = 680;
	te_ed_which_icon = 99;
	te_special_property = 41;
	te_height_adj_pixels = 8;

begindefineterrain 461;
	import = 144;
	te_which_sheet = 727;
	te_which_icon = 2;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 84;
	te_icon_offset_x = 18;
	te_icon_offset_y = -12;
begindefineterrain 462;
	te_which_icon = 8;
	te_ed_which_icon = 85;
	te_icon_offset_x = -18;
	te_icon_offset_y = -12;
begindefineterrain 463;
	te_which_icon = 2;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 86;
	te_icon_offset_x = 0;
	te_icon_offset_y = 0;
begindefineterrain 464;
	te_name = "Open Doorway";
	te_which_sheet = 727;
	te_which_icon = 8;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 87;

// --------
// ITEMS
// --------

begindefineitem 43;
	import = 42; 
	it_full_name = "Blessed Plate Mail";
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_bonus = 20;
	it_protection = 48;
	it_encumbrance = 4;
	it_value = 5000;
	it_magic = 1;

begindefineitem 53;
	import = 52;
	it_name = "Short Sword";
	it_full_name = "Blessed Short Sword";
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_damage_per_level = 5;
	it_bonus = 4;
	it_value = 500;
	it_magic = 1;

begindefineitem 73;
	import = 72;
	it_full_name = "Blessed Pike";
	it_floor_which_sheet = 1035;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 5;
	it_value = 900;
	it_magic = 1;

begindefineitem 132;
	import = 131;
	it_full_name = "Iron Large Shield";
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_bonus = 2;
	it_protection = 12;
	it_value = 120;
begindefineitem 133;
	it_full_name = "Steel Large Shield";
	it_bonus = 4;
	it_protection = 12;
	it_value = 250;
begindefineitem 134;
	it_full_name = "Blessed Large Shield";
	it_bonus = 7;
	it_protection = 16;
	it_value = 750;
	it_magic = 1;

begindefineitem 232;
	import = 220;
	it_full_name = "Poison Elixir";
	it_floor_which_sheet = 1043;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_ability_1 = 214;
	it_ability_str_1 = 25;
	it_value = 30;

begindefineitem 283;
	import = 282;
	it_full_name = "Wand of Ice";
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 106;
	it_ability_str_1 = 20;
	it_value = 70;

begindefineitem 286;
	import = 282;
	it_full_name = "Wand of Fire";
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_icon_adjust = 128;
	it_charges = 5;
	it_ability_1 = 116;
	it_ability_str_1 = 20;
	it_value = 120;

begindefineitem 288;
	import = 282;
	it_full_name = "Wand of Forcecage";
	it_floor_which_sheet = 1006;
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_icon_adjust = 2;
	it_charges = 5;
	it_ability_1 = 115;
	it_ability_str_1 = 20;
	it_value = 110;

begindefineitem 290;
	import = 282;
	it_name = "Rod";
	it_full_name = "Rod of Arcana";
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_charges = 3;
	it_ability_1 = 117;
	it_ability_str_1 = 20;
	it_value = 300;
	it_weight = 20;

begindefineitem 293;
	import = 282;
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_icon_adjust = 133;
	it_name = "Rod";
	it_full_name = "Rod of Illusions";
	it_charges = 5;
	it_ability_1 = 108;
	it_ability_str_1 = 15;
	it_value = 120;
	it_weight = 20;

begindefineitem 302;
// imported for other necklaces
	clear;
	it_name = "Necklace";
	it_full_name = "Chill Charm";
	it_variety = 19;
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 5;
	it_inventory_icon = 5;
	it_ability_1 = 55;
	it_ability_str_1 = 2;
	it_value = 1000;
	it_weight = 5;
	it_magic = 1;
begindefineitem 303;
	import = 302;
	it_full_name = "Warmth Charm";
	it_floor_which_icon = 3;
	it_inventory_icon = 3;
	it_ability_1 = 56;
	it_ability_str_1 = 2;
	it_value = 1000;
begindefineitem 307; // one found in rebellion
	import = 302;
	it_full_name = "War Charm";
	it_floor_which_sheet = 1021;
	it_floor_which_icon = 4;
	it_inventory_icon = 4;
	it_ability_1 = 22;
	it_ability_str_1 = 1;
	it_ability_2 = 24;
	it_ability_str_2 = 1;
	it_value = 1500;
begindefineitem 308;
	import = 302;
	it_full_name = "Freedom Charm";
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_ability_1 = 58;
	it_ability_str_1 = 5;
	it_value = 1500;
begindefineitem 310;
	import = 302;
	it_full_name = "Knowledge Charm";
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 6;
	it_inventory_icon = 6;
	it_ability_1 = 65;
	it_ability_str_1 = 5;
	it_ability_2 = 15;
	it_ability_str_2 = 2;
	it_value = 1800;

begindefineitem 337;
	clear;
	it_name = "Hatchet";
	it_full_name = "Hatchet";
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_variety = 1;
	it_damage_per_level = 4;
	it_bonus = 0;
	it_weapon_skill_used = 4;
	it_value = 20;
	it_weight = 30;
	it_cursed = 1;

begindefineitem 351;
	clear;
	it_name = "Wavy Sword";
	it_full_name = "Alien Blade";
	it_variety = 2;
	it_damage_per_level = 7;
	it_bonus = 3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1025;
	it_floor_which_icon = 4;
	it_inventory_icon = 4;
	it_ability_1 = 72;
	it_ability_str_1 = 20;
	it_value = 6000;
	it_weight = 250;
	it_magic = 1;

begindefineitem 420;
	clear;
	it_full_name = "Bar of Gold";
	it_variety = 21;
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_value = 500;
	it_weight = 100;
	it_identified = 1;

begindefineitem 445;
	clear;
	it_name = "Axe";
	it_full_name = "Cursed Axe";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = -3;
	it_weapon_skill_used = 4;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_value = 10;
	it_weight = 40;
	it_cursed = 1;
begindefineitem 446;
	it_full_name = "Crude Axe";
	it_damage_per_level = 6;
	it_bonus = 0;
	it_value = 60;
	it_cursed = 0;
begindefineitem 447;
	it_full_name = "Iron Axe";
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 120;
	it_cursed = 0;
begindefineitem 448;
	it_full_name = "Steel Axe";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 360;
	it_cursed = 0;
begindefineitem 449;
	it_full_name = "Blessed Axe";
	it_damage_per_level = 7;
	it_bonus = 4;
	it_value = 3050;
	it_cursed = 0;
	it_magic = 1;

begindefineitem 450;
	clear;
	it_name = "Cudgel";
	it_full_name = "Cursed Cudgel";
	it_variety = 1;
	it_damage_per_level = 4;
	it_bonus = -3;
	it_weapon_skill_used = 0;
	it_floor_which_sheet = 1005;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 5;
	it_weight = 50;
	it_cursed = 1;
begindefineitem 451;
	it_full_name = "Crude Cudgel";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 40;
	it_cursed = 0;
begindefineitem 452;
	it_full_name = "Fine Cudgel";
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 80;
	it_cursed = 0;
begindefineitem 453;
	it_full_name = "Blessed Cudgel";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 360;
	it_cursed = 0;
	it_magic = 1;
begindefineitem 454;
	import = 48;
	it_name = "Rapier";
	it_full_name = "Cursed Rapier";
	it_variety = 1;
	it_damage_per_level = 4;
	it_bonus = -3;
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_value = 5;
	it_weight = 80;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 455;
	it_name = "Rapier";
	it_full_name = "Crude Rapier";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 40;
	it_cursed = 0;
begindefineitem 456;
	it_name = "Rapier";
	it_full_name = "Iron Rapier";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 80;
begindefineitem 457;
	it_name = "Rapier";
	it_full_name = "Steel Rapier";
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 240;
begindefineitem 458;
	it_name = "Rapier";
	it_full_name = "Blessed Rapier";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_value = 1620;
	it_magic = 1;
begindefineitem 459;
	import = 68;
	it_name = "Tribal Spear";
	it_full_name = "Cursed Tribal Spear";
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_variety = 2;
	it_damage_per_level = 5;
	it_bonus = -4;
	it_encumbrance = 3;
	it_value = 0;
	it_weight = 150;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 460;
	it_full_name = "Crude Tribal Spear";
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 1;
	it_encumbrance = 2;
	it_value = 20;
	it_cursed = 0;
begindefineitem 461;
	it_full_name = "Fine Tribal Spear";
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_variety = 2;
	it_damage_per_level = 6;
	it_bonus = 2;
	it_encumbrance = 1;
	it_value = 1850;
begindefineitem 462;
	import = 48;
	it_name = "Scimitar";
	it_full_name = "Cursed Scimitar";
	it_variety = 1;
	it_damage_per_level = 5;
	it_bonus = -3;
	it_floor_which_sheet = 1046;
	it_floor_which_icon = 7;
	it_inventory_icon = 6;
	it_value = 10;
	it_weight = 80;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 463;
	it_name = "Scimitar";
	it_full_name = "Crude Scimitar";
	it_damage_per_level = 6;
	it_bonus = 0;
	it_value = 60;
	it_cursed = 0;
begindefineitem 464;
	it_name = "Scimitar";
	it_full_name = "Iron Scimitar";
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 120;
begindefineitem 465;
	it_name = "Scimitar";
	it_full_name = "Steel Scimitar";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 360;
begindefineitem 466;
	it_name = "Scimitar";
	it_full_name = "Blessed Scimitar";
	it_damage_per_level = 7;
	it_bonus = 4;
	it_value = 3050;
	it_magic = 1;
begindefineitem 467;
	import = 58;
	it_name = "Edge Sword";
	it_full_name = "Cursed Edge Sword";
	it_variety = 2;
	it_damage_per_level = 5;
	it_bonus = -4;
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_value = 5;
	it_weight = 150;
	it_magic = 0;
	it_cursed = 1;
begindefineitem 468;
	it_name = "Edge Sword";
	it_full_name = "Bronze Edge Sword";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_ability_1 = 50;
	it_ability_str_1 = 2;
	it_value = 460;
	it_cursed = 0;
begindefineitem 469;
	it_name = "Edge Sword";
	it_full_name = "Iron Edge Sword";
	it_damage_per_level = 6;
	it_bonus = 3;
	it_ability_1 = 50;
	it_ability_str_1 = 4;
	it_value = 1275;
begindefineitem 470;
	it_name = "Edge Sword";
	it_full_name = "Steel Edge Sword";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_ability_1 = 50;
	it_ability_str_1 = 6;
	it_value = 1900;
begindefineitem 471;
	it_name = "Edge Sword";
	it_full_name = "Blessed Edge Sword";
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_damage_per_level = 6;
	it_bonus = 5;
	it_ability_1 = 50;
	it_ability_str_1 = 8;
	it_value = 2300;
	it_magic = 1;

begindefineitem 472;
	clear;
	it_name = "Plate Mail";
	it_full_name = "Shamshod Plate Mail";
	it_variety = 13;
	it_bonus = 0;
	it_protection = 35;
	it_encumbrance = 5;
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_value = 300;
	it_weight = 600;
begindefineitem 473;
	clear;
	it_name = "Plate Mail";
	it_full_name = "Scrap Metal Mail";
	it_variety = 13;
	it_bonus = -10;
	it_protection = 40;
	it_encumbrance = 5;
	it_floor_which_sheet = 1038;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_ability_1 = 87;
	it_ability_str_1 = 30;
	it_value = 300;
	it_weight = 600;
begindefineitem 474;
	clear;
	it_name = "Cap";
	it_full_name = "Stylish Cap";
	it_variety = 14;
	it_bonus = 0;
	it_protection = 2;
	it_floor_which_sheet = 1040;
	it_floor_which_icon = 3;
	it_inventory_icon = 2;
	it_value = 75;
	it_weight = 40;
begindefineitem 475;
	clear;
	it_name = "Cap";
	it_full_name = "Very Stylish Cap";
	it_variety = 14;
	it_bonus = 0;
	it_protection = 2;
	it_floor_which_sheet = 1040;
	it_floor_which_icon = 7;
	it_inventory_icon = 6;
	it_value = 500;
	it_weight = 40;
begindefineitem 476;
	clear;
	it_full_name = "Toga";
	it_variety = 13;
	it_protection = 2;
	it_floor_which_sheet = 1002;
	it_floor_which_icon = 3;
	it_inventory_icon = 4;
	it_value = 20;
	it_weight = 30;
	it_identified = 1;
begindefineitem 477;
        import = 154;
        it_floor_which_sheet = 1010;
        it_floor_which_icon = 3;
	it_inventory_icon = 3;

begindefineitem 478;
	clear;
	it_name = "Gems";
	it_full_name = "Sapphires";
	it_floor_which_sheet = 1042;
	it_floor_which_icon = 5;
	it_inventory_icon = 2;
	it_variety = 21;
	it_value = 1000;
	it_weight = 20;
begindefineitem 479;
	it_full_name = "Spinel";
	it_floor_which_icon = 6;
	it_inventory_icon = 3;
begindefineitem 480;
	it_full_name = "Aquamarines";
	it_floor_which_icon = 7;
	it_inventory_icon = 4;
begindefineitem 481;
        clear;
        it_name = "Garnet";
        it_full_name = "Garnet";
        it_variety = 21;
        it_floor_which_sheet = 1030;
        it_floor_which_icon = 2;
        it_inventory_icon = 3;
        it_value = 5;
        it_weight = 10;

begindefineitem 482;
	import = 176;
	it_full_name = "Malachai's Key";
        it_floor_which_sheet = 1035;
        it_floor_which_icon = 6;
        it_inventory_icon = 7;
	it_value = 0;

// GENEFORGE ITEMS

begindefineitem 483;
	clear;
	it_name = "Scaly Armor";
	it_full_name = "Chitin Armor";
	it_variety = 13;
	it_bonus = 0;
	it_protection = 13;
	it_encumbrance = 1;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 0;
	it_inventory_icon = 1;
	it_value = 20;
	it_weight = 150;
begindefineitem 484;
	clear;
	it_name = "Pod";
	it_full_name = "Healing Pod";
	it_variety = 7;
	it_charges = 1;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_ability_1 = 200;
	it_ability_str_1 = 9;
	it_value = 30;
	it_weight = 5;
	it_magic = 1;
begindefineitem 485;
	clear;
	it_name = "Spores";
	it_full_name = "Healing Spores";
	it_variety = 7;
	it_charges = 1;
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
	it_ability_1 = 130;
	it_ability_str_1 = 3;
	it_value = 50;
	it_weight = 5;
	it_magic = 1;
begindefineitem 486;
	import = 84;
	it_name = "Baton";
	it_full_name = "Thorn Baton";
	it_damage_per_level = 4;
	it_charges = 0;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
	it_value = 48;
	it_weight = 20;
	it_missile_anim_type = 11;
begindefineitem 487;
	import = 83;
	it_name = "Baton";
	it_full_name = "Broken Baton";
	it_weight = 20;
	it_value = 0;
	it_floor_which_sheet = 1029;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
begindefineitem 488;
	it_name = "Lab Equipment";
	it_full_name = "Lab Equipment";
	it_weight = 100;
	it_value = 50;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 2;
	it_inventory_icon = 2;
begindefineitem 489;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 3;
	it_inventory_icon = 3;
begindefineitem 490;
	it_name = "Tools";
	it_full_name = "Tools";
	it_weight = 10;
	it_value = 10;
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 4;
	it_inventory_icon = 5;
begindefineitem 491;
	it_name = "Limb";
	it_full_name = "Limb";
	it_weight = 50;
	it_value = 0;
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;
begindefineitem 492;
	import = 172;
	it_floor_which_sheet = 1033;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_value = 25;
	it_weight = 50;
begindefineitem 493;
	it_name = "Treasure Sword";
	it_full_name = "Treasure Sword";
	it_weight = 100;
	it_value = 750;
	it_floor_which_sheet = 1037;
	it_floor_which_icon = 2;
	it_inventory_icon = 3;
	it_ability_1 = -1;
	it_ability_str_1 = -1;
begindefineitem 494;
	it_name = "Limb";
	it_full_name = "Limb";
	it_weight = 50;
	it_value = 0;
	it_floor_which_sheet = 1032;
	it_floor_which_icon = 6;
	it_inventory_icon = 7;

begindefineitem 495;
	clear;
	it_name = "Greaves";
	it_full_name = "Leather Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 0;
	it_encumbrance = 1;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 8;
	it_inventory_icon = 7;
	it_value = 15;
	it_weight = 60;

begindefineitem 496;
	clear;
	it_name = "Greaves";
	it_full_name = "Iron Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 2;
	it_encumbrance = 1;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 6;
	it_inventory_icon = 5;
	it_value = 40;
	it_weight = 60;

begindefineitem 497;
	clear;
	it_name = "Greaves";
	it_full_name = "Steel Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 4;
	it_encumbrance = 1;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 6;
	it_inventory_icon = 5;
	it_value = 100;
	it_weight = 60;
begindefineitem 498;
	clear;
	it_name = "Greaves";
	it_full_name = "Magic Greaves";
	it_variety = 11;
	it_protection = 6;
	it_bonus = 8;
	it_encumbrance = 0;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 6;
	it_inventory_icon = 5;
	it_ability_1 = 61;
	it_ability_str_1 = 1;
	it_value = 1750;
	it_weight = 60;
	it_magic = 1;

// -----------------
// -----------------
// -----------------
// -----------------
// -----------------
// -----------------
// -----------------
// -----------------

// CUSTOM FLOORS

begindefinefloor 37;
	import = 0;
	fl_name = "Ground";
	fl_which_sheet = 520;
	fl_ed_which_sheet = 688;
	fl_out_fight_town_used = 1010;
begindefinefloor 38;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;
	fl_shortcut_key = -1;
begindefinefloor 39;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
begindefinefloor 40;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;
begindefinefloor 41;
	fl_name = "Dry Ground";
	fl_which_icon = 4;
	fl_ed_which_icon = 4;
	fl_is_ground = 0;
	fl_is_rough = 1;
	fl_out_fight_town_used = 1017;
begindefinefloor 42;
	fl_which_icon = 5;
	fl_ed_which_icon = 5;
begindefinefloor 43;
	fl_which_icon = 6;
	fl_ed_which_icon = 6;
begindefinefloor 44;
	fl_which_icon = 7;
	fl_ed_which_icon = 7;

begindefinefloor 148;
	import = 41;
	fl_special_property = 6;

begindefinefloor 156;
	import = 0;
	fl_name = "Ground";
	fl_which_sheet = 780;
	fl_ed_which_sheet = 688;
	fl_out_fight_town_used = 1010;
begindefinefloor 157;
	fl_which_icon = 1;
	fl_ed_which_icon = 1;
	fl_shortcut_key = -1;
begindefinefloor 158;
	fl_which_icon = 2;
	fl_ed_which_icon = 2;
begindefinefloor 159;
	fl_which_icon = 3;
	fl_ed_which_icon = 3;

// CUSTOM TERRAINS

begindefineterrain 90; // desert hills
	import = 74;
	te_which_sheet = 521;
	te_which_icon = 2;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 52;
	te_out_fight_town_used = 1020;
begindefineterrain 91; 
	te_which_icon = 3;
	te_ed_which_icon = 53;
	te_special_property = 20;
begindefineterrain 92; 
	te_which_icon = 4;
	te_ed_which_icon = 54;
	te_special_property = 21;
begindefineterrain 93; 
	te_which_icon = 5;
	te_ed_which_icon = 55;
	te_special_property = 22;
begindefineterrain 94; 
	te_which_icon = 6;
	te_ed_which_icon = 56;
	te_special_property = 23;
begindefineterrain 95; 
	te_which_icon = 7;
	te_ed_which_icon = 57;
	te_special_property = 24;
begindefineterrain 96; 
	te_which_icon = 8;
	te_ed_which_icon = 58;
	te_special_property = 25;
begindefineterrain 97; 
	te_which_icon = 9;
	te_ed_which_icon = 59;
	te_special_property = 26;
begindefineterrain 98; 
	te_which_sheet = 522;
	te_which_icon = 0;
	te_ed_which_icon = 60;
	te_special_property = 27;
begindefineterrain 99; 
	te_which_icon = 1;
	te_ed_which_icon = 61;
	te_special_property = 28;
begindefineterrain 100; 
	te_which_icon = 2;
	te_ed_which_icon = 62;
	te_special_property = 29;
begindefineterrain 101; 
	te_which_icon = 3;
	te_ed_which_icon = 63;
	te_special_property = 30;
begindefineterrain 102; // hills w. road 
	te_which_sheet = 524;
	te_which_icon = 4;
	te_ed_which_sheet = 689;
	te_ed_which_icon = 34;
	te_is_road = 1;
	te_special_property = 25;
begindefineterrain 103; 
	te_which_icon = 5;
	te_ed_which_icon = 35;
	te_special_property = 19;
begindefineterrain 104;
	te_which_icon = 6;
	te_ed_which_icon = 36;
	te_special_property = 21;
begindefineterrain 105; 
	te_which_icon = 7;
	te_ed_which_icon = 37;
	te_special_property = 23;
begindefineterrain 144;
	import = 143;
	te_name = "Shrub";
	te_which_sheet = 523;
	te_which_icon = 5;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 75;
	te_out_fight_town_used = 1013;
begindefineterrain 145;
	te_which_icon = 6;
	te_ed_which_icon = 76;
begindefineterrain 146;
	te_which_icon = 7;
	te_ed_which_icon = 77;
begindefineterrain 151;
	import = 147;
	te_which_sheet = 523;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 78;
	//te_full_look_block = 1;
begindefineterrain 152;
	te_which_icon = 3;
	te_ed_which_icon = 73;
	te_second_icon = 4;
begindefineterrain 153;
	import = 149;
	te_which_sheet = 523;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 71;
	//te_full_look_block = 1;
begindefineterrain 154;
	te_which_icon = 9;
	te_ed_which_icon = 79;
begindefineterrain 159;
	import = 158;
	te_which_sheet = 525;
	te_which_icon = 0;
	te_ed_which_sheet = 689;
	te_ed_which_icon = 70;
	te_out_fight_town_used = 1018;
begindefineterrain 160;
	te_which_icon = 1;
	te_ed_which_icon = 71;

begindefineterrain 468; // n wall
	clear;
	te_name = "Wall";
	te_which_sheet = 526;
	te_which_icon = 0;
	te_ed_which_sheet = 690;
	te_ed_which_icon = 0;
	te_cutaway_which_sheet = 526;
	te_cutaway_which_icon = 2;
	te_icon_offset_x = 18;
	te_icon_offset_y = -12;
	te_move_block_n = 1;
	te_look_block_n = 1;
	te_blocks_view_n = 1;
	te_draw_on_automap = 1;
begindefineterrain 469; // w wall
	te_which_icon = 1;
	te_ed_which_icon = 1;
	te_cutaway_which_icon = 3;
	te_icon_offset_x = -18;
	te_icon_offset_y = -12;
	te_move_block_n = 0;
	te_look_block_n = 0;
	te_blocks_view_n = 0;
	te_move_block_w = 1;
	te_look_block_w = 1;
	te_blocks_view_w = 1;
begindefineterrain 470; // s wall
	te_which_icon = 0;
	te_ed_which_icon = 2;
	te_cutaway_which_icon = 2;
	te_icon_offset_x = 0;
	te_icon_offset_y = 0;
	te_move_block_s = 1;
	te_look_block_s = 1;
	te_blocks_view_s = 1;
	te_move_block_w = 0;
	te_look_block_w = 0;
	te_blocks_view_w = 0;
begindefineterrain 471; // e wall
	te_which_icon = 1;
	te_ed_which_icon = 3;
	te_cutaway_which_icon = 3;
	te_move_block_s = 0;
	te_look_block_s = 0;
	te_blocks_view_s = 0;
	te_move_block_e = 1;
	te_look_block_e = 1;
	te_blocks_view_e = 1;
begindefineterrain 472;
	import = 125;
	te_name = "Impasse";
	te_which_sheet = 793;
	te_which_icon = 9;
begindefineterrain 473;
	import = 241;
	te_name = "Sunshine";
	te_which_sheet = 793;
	te_which_icon = 9;
	te_light_radius = 7;

begindefineterrain 474;
	import = 90;
	te_which_sheet = 524;
	te_which_icon = 8;

begindefineterrain 480;
	import = 144;
	te_name = "Shrub";
	te_which_sheet = 787;
	te_which_icon = 5;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 75;
	te_out_fight_town_used = 1013;
	te_step_sound = -1;
begindefineterrain 481;
	te_which_icon = 6;
	te_ed_which_icon = 76;
	te_step_sound = -1;
begindefineterrain 482;
	te_which_icon = 7;
	te_ed_which_icon = 77;
	te_step_sound = -1;

begindefineterrain 483;
	import = 147;
	te_which_sheet = 787;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 78;
	//te_full_look_block = 1;
begindefineterrain 484;
	te_which_icon = 3;
	te_ed_which_icon = 73;
	te_second_icon = 4;
begindefineterrain 485;
	import = 149;
	te_which_sheet = 787;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 71;
	//te_full_look_block = 1;
begindefineterrain 486;
	te_which_icon = 9;
	te_ed_which_icon = 79;

begindefineterrain 487;
	import = 207;
	te_full_move_block = 0;
	te_height_adj_pixels = 0;

begindefineterrain 488;
	import = 134;
	te_which_sheet = 525;
begindefineterrain 489;
	import = 135;
	te_which_sheet = 525;
begindefineterrain 490;
	import = 136;
	te_which_sheet = 525;

// CUSTOM CREATURES

begindefinecreature 22;
	clear;
	cr_name = "Nephil";
	cr_level = 10;
	cr_start_item 0 = 127;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 128;
	cr_start_item_chance 1 = 25;
	cr_start_item 2 = 114;
	cr_start_item_chance 2 = 30;
	cr_start_item 3 = 16;
	cr_start_item_chance 3 = 30;
	cr_start_item 4 = 51;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 52;
	cr_start_item_chance 5 = 30;
	cr_start_item 6 = 2;
	cr_start_item_chance 6 = 30;
	cr_start_item 7 = 225;
	cr_start_item_chance 7 = 5;
	cr_default_attitude = 4;
	cr_species = 2;
	cr_which_sheet = 502;
	cr_summon_class = 1;
	cr_small_or_large_template = 1;
begindefinecreature 23;
	clear;
	cr_name = "Nephil Warrior";
	cr_level = 12;
	cr_start_item 0 = 128;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 129;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 56;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 57;
	cr_start_item_chance 3 = 40;
	cr_start_item 4 = 114;
	cr_start_item_chance 4 = 40;
	cr_start_item 5 = 58;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 433;
	cr_start_item_chance 6 = 2;
	cr_start_item 7 = 225;
	cr_start_item_chance 7 = 10;
	cr_default_attitude = 4;
	cr_species = 2;
	cr_which_sheet = 506;
	cr_summon_class = 2;
	cr_small_or_large_template = 1;
begindefinecreature 24;
	clear;
	cr_name = "Nephil Archer";
	cr_level = 6;
	cr_what_stat_adjust 0 = 6;
	cr_amount_stat_adjust 0 = 0;
	cr_what_stat_adjust 1 = 9;
	cr_amount_stat_adjust 1 = 2;
	cr_start_item 0 = 91;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 92;
	cr_start_item_chance 1 = 40;
	cr_start_item 2 = 100;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 101;
	cr_start_item_chance 3 = 50;
	cr_start_item 4 = 51;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 2;
	cr_start_item_chance 5 = 50;
	cr_start_item 6 = 275;
	cr_start_item_chance 6 = 5;
	cr_start_item 7 = 233;
	cr_start_item_chance 7 = 15;
	cr_default_attitude = 4;
	cr_species = 2;
	cr_which_sheet = 503;
	cr_summon_class = 2;
	cr_small_or_large_template = 1;
	cr_default_strategy = 1;
begindefinecreature 25;
	clear;
	cr_name = "Nephil Shaman";
	cr_level = 12;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 8;
	cr_start_item 0 = 16;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 80;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 127;
	cr_start_item_chance 2 = 40;
	cr_start_item 3 = 115;
	cr_start_item_chance 3 = 15;
	cr_start_item 4 = 3;
	cr_start_item_chance 4 = 40;
	cr_start_item 5 = 207;
	cr_start_item_chance 5 = 15;
	cr_start_item 6 = 254;
	cr_start_item_chance 6 = 15;
	cr_start_item 7 = 223;
	cr_start_item_chance 7 = 20;
	cr_default_attitude = 4;
	cr_species = 2;
	cr_which_sheet = 505;
	cr_summon_class = 3;
	cr_small_or_large_template = 1;
	cr_default_strategy = 1;
begindefinecreature 26;
	clear;
	cr_name = "Nephil Chieftain";
	cr_level = 14;
	cr_start_item 0 = 58;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 129;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 139;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 3;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 230;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 88;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 294;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 117;
	cr_start_item_chance 7 = 100;
	cr_default_attitude = 4;
	cr_species = 2;
	cr_which_sheet = 504;
	cr_summon_class = 3;
	cr_small_or_large_template = 1;

begindefinecreature 27;
	import = 23;
	cr_name = "Nephil Nomad";
	cr_hp_bonus = 30;
	cr_ap_bonus = 2;
	cr_which_sheet = 500;
	cr_small_or_large_template = 0;

begindefinecreature 28;
	import = 24;
	cr_name = "Nephil Nomad";
	cr_hp_bonus = 30;
	cr_ap_bonus = 2;
	cr_which_sheet = 501;
	cr_small_or_large_template = 0;

begindefinecreature 234;
	import = 175;
	cr_name = "Dervish Malachai";
	cr_ap_bonus = 1;
	cr_start_item 0 = 491;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 134;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 115;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 8;
	cr_start_item_chance 3 = 50;
	cr_start_item 4 = 3;
	cr_start_item_chance 4 = 80;
	cr_start_item 5 = 272;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 233;
	cr_start_item_chance 6 = 20;
	cr_icon_adjust = 288;
	cr_summon_class = -1;

begindefinecreature 235;
	clear;
	cr_name = "Zenbu";
	cr_which_sheet = 507;
	cr_level = 100;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_immunities 5 = 100;
	cr_small_or_large_template = 1;
	cr_summon_class = -1;

begindefinecreature 236;
	clear;
	cr_name = "Zenbu";
	cr_which_sheet = 508;
	cr_level = 100;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_immunities 5 = 100;
	cr_start_item 0 = 490;
	cr_start_item_chance 0 = 100;
	cr_small_or_large_template = 1;
	cr_summon_class = -1;

begindefinecreature 237; // One 8d12
	clear;
	cr_level = 21;
	cr_name = "Chika";
	cr_hp_bonus = 522;
	cr_which_sheet = 509;
	cr_attack_1 = 4;
	cr_attack_1_type = 8;
	cr_summon_class = -1;
	cr_small_or_large_template = 1;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 100;
	cr_immunities 4 = 0;
	cr_immunities 5 = 100;

begindefinecreature 238;
	import = 61;
	cr_name = "? ? ?";
	cr_which_sheet = 1570;
	cr_icon_adjust = 128;
	cr_summon_class = -1;

begindefinecreature 239;
	import = 175;
	cr_name = "Dervish Malachai";
	cr_ap_bonus = 1;
	cr_start_item 0 = 491;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 134;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 115;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 8;
	cr_start_item_chance 3 = 50;
	cr_start_item 4 = 3;
	cr_start_item_chance 4 = 80;
	cr_start_item 5 = 272;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 233;
	cr_start_item_chance 6 = 20;
	cr_summon_class = -1;

begindefinecreature 240;
	clear;
	cr_name = "Luthair";
	cr_which_sheet = 510;
	cr_level = 100;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;
	cr_immunities 5 = 100;
	cr_start_item 0 = 43;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 449;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 134;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 498;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 144;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 325;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 444;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 486;
	cr_start_item_chance 7 = 100;
	cr_summon_class = -1;

begindefinecreature 241;
	clear;
	cr_name = "Nephil Elder";
	cr_level = 10;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 1;
	cr_hp_bonus = 50;
	cr_start_item 0 = 16;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 80;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 127;
	cr_start_item_chance 2 = 40;
	cr_start_item 3 = 115;
	cr_start_item_chance 3 = 15;
	cr_start_item 4 = 3;
	cr_start_item_chance 4 = 40;
	cr_start_item 5 = 207;
	cr_start_item_chance 5 = 15;
	cr_start_item 6 = 254;
	cr_start_item_chance 6 = 15;
	cr_start_item 7 = 223;
	cr_start_item_chance 7 = 20;
	cr_default_attitude = 4;
	cr_species = 2;
	cr_which_sheet = 511;
	cr_summon_class = -1;
	cr_small_or_large_template = 1;
	cr_default_strategy = 1;

begindefinecreature 242;
	clear;
	cr_name = "Luthair";
	cr_which_sheet = 510;
	cr_level = 20;
	cr_hp_bonus = 111;
	cr_start_item 0 = 43;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 449;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 134;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 498;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 144;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 325;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 444;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 486;
	cr_start_item_chance 7 = 100;
	cr_summon_class = -1;

// CUSTOM ITEMS

begindefineitem 224;
	import = 220;
	it_full_name = "Poison Potion";
	it_floor_which_sheet = 1044;
	it_floor_which_icon = 1;
	it_inventory_icon = 0;
	it_ability_1 = 208;
	it_ability_str_1 = 14;
	it_value = 20;

begindefineitem 486;
	clear;
	it_name = "Necklace";
	it_full_name = "Gimeit Ambiere";
	it_variety = 19;
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_value = 6000;
	it_magic = 1;
	it_weight = 1;
	it_ability_1 = 50;
	it_ability_str_1 = 5;
	it_ability_2 = 51;
	it_ability_str_2 = 2;
	it_ability_3 = 83;
	it_ability_str_3 = 3;
	it_ability_4 = 81;
	it_ability_str_4 = 2;

begindefineitem 487;
	clear;
	it_variety = 21;
	it_name = "Book";
	it_full_name = "Magic Book";
	it_identified = 1;
	it_floor_which_sheet = 1026;
	it_floor_which_icon = 2;
	it_inventory_icon = 2;
	it_ability_1 = 207;
	it_ability_str_1 = 10;
	it_weight = 80;
	it_value = 0;

begindefineitem 488;
	clear;
	it_variety = 21;
	it_name = "Book";
	it_full_name = "Magic Book";
	it_identified = 1;
	it_floor_which_sheet = 1026;
	it_floor_which_icon = 1;
	it_inventory_icon = 1;
	it_ability_1 = 207;
	it_ability_str_1 = 11;
	it_weight = 80;
	it_value = 0;

begindefineitem 489;
	clear;
	it_variety = 21;
	it_name = "Book";
	it_full_name = "Magic Book";
	it_identified = 1;
	it_floor_which_sheet = 1026;
	it_floor_which_icon = 0;
	it_inventory_icon = 0;
	it_ability_1 = 207;
	it_ability_str_1 = 12;
	it_weight = 80;
	it_value = 0;

begindefineitem 490;
	clear;
	it_name = "Plate Mail";
	it_full_name = "Zenbu no Yoroi";
	it_variety = 13;
	it_bonus = 15;
	it_protection = 55;
	it_encumbrance = 8;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 1;
	it_inventory_icon = 2;
	it_icon_adjust = 258;
	it_ability_1 = 54;
	it_ability_str_1 = 10;
	it_value = 5500;
	it_magic = 1;
	it_weight = 700;

begindefineitem 491;
	clear;
	it_name = "Rapier";
	it_full_name = "Malachai's Rapier";
	it_variety = 1;
	it_floor_which_sheet = 1036;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_damage_per_level = 6;
	it_bonus = 0;
	it_ability_1 = 51;
	it_ability_str_1 = 8;
	it_ability_2 = 50;
	it_ability_str_2 = 5;
	it_ability_3 = 61;
	it_ability_str_3 = 1;
	it_value = 3600;
	it_weight = 60;
	it_magic = 1;
