// v1.1.0
// A2Templatedata.txt
// Xoid (xoid@hotmail.com)
beginscendatascript;

// ### Custom FLR Types ###
// ###    130 to 254    ###

// [[[ BEGIN Internal use only
begindefinefloor 254;
	import = 1; // Cave Floor, splotchy green.
begindefinefloor 1;
	fl_ed_which_sheet = 510;
	fl_ed_which_icon = 16;

begindefinefloor 254;
	import = 3; // Cave Floor, similar to floor #0
begindefinefloor 3;
	fl_ed_which_sheet = 510;
	fl_ed_which_icon = 17;

begindefinefloor 254;
	import = 7; // Rough Cave Floor, similar to floor #4
begindefinefloor 7;
	fl_ed_which_sheet = 510;
	fl_ed_which_icon = 19;
// Internal use only END ]]]

// [[[ BEGIN Floor corrections
begindefinefloor 254;
	import = 8;
begindefinefloor 8;
	fl_is_rough = 1;
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;

begindefinefloor 254;
	import = 71;
begindefinefloor 71;
	fl_is_rough = 1; // Redundant?

begindefinefloor 254;
	import = 80;
begindefinefloor 80;
	fl_special_property = 6; // No more NPCs walking on fake lava.

begindefinefloor 254;
	import = 99;
begindefinefloor 99;
	fl_ed_which_icon = 81; // Ed. icon was 58, but that looks like FLR #103.

begindefinefloor 254;
	import = 100;
begindefinefloor 100;
	fl_ed_which_sheet = 510; // Ed. sheet was 680
	fl_ed_which_icon = 48; // Ed. icon was 62, but that looks like FLR #98.

begindefinefloor 254;
	import = 103;
begindefinefloor 103;
	fl_ed_which_icon = 58; // Ed. icon was 81, but that looks like FLR #99.

begindefinefloor 254;
	import = 117;
begindefinefloor 117;
	fl_name = "Carpet";
begindefinefloor 118;
	fl_which_icon = 4;
	fl_ed_which_icon = 74;
begindefinefloor 119;
	fl_which_sheet = 709;
	fl_which_icon = 0;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 90;
begindefinefloor 120;
	fl_which_icon = 1;
	fl_ed_which_icon = 91;
// Floor corrections END ]]]

// [[[ BEGIN New Floors
begindefinefloor 124; // Town use only.
	clear;
	fl_name = "Green Tiled Floor";
	fl_which_sheet = 761;
	fl_which_icon = 4;
	fl_ed_which_sheet = 510; // 686;
	fl_ed_which_icon = 49; // 4;
	fl_is_floor = 1;
	fl_is_rough = 1;
//begindefinefloor num;
//	fl_which_icon = 9;
//	fl_ed_which_icon = 49;
//begindefinefloor num;
//	fl_which_icon = 5;
//	fl_anim_steps = 4;
//	fl_ed_which_icon = 49;

begindefinefloor 129; // Town use only.
	import = 81;
	fl_which_sheet = 500;
	fl_which_icon = 22;
	fl_ed_which_sheet = 510;
	fl_ed_which_icon = 22;
begindefinefloor 130;
	fl_which_icon = 23;
	fl_ed_which_icon = 23;
begindefinefloor 93;
	fl_which_icon = 20;
	fl_ed_which_icon = 20;
begindefinefloor 94;
	fl_which_icon = 21;
	fl_ed_which_icon = 21;
begindefinefloor 153;
	fl_which_sheet = 759;
	fl_which_icon = 8;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 98;
begindefinefloor 154;
	fl_which_icon = 9;
	fl_ed_which_icon = 99;

begindefinefloor 131;
	import = 95;
	fl_special_property = 6; // Blocked...
begindefinefloor 132;
	import = 96;
	fl_special_property = 6;
begindefinefloor 133;
	import = 97;
	fl_special_property = 6;
begindefinefloor 134;
	import = 98;
	fl_special_property = 6;
begindefinefloor 135;
	import = 99;
	fl_special_property = 6;
begindefinefloor 136;
	import = 100;
	fl_special_property = 6;

begindefinefloor 139;
	clear;
	fl_name = "Ice";
	fl_which_sheet = 752;
	fl_which_icon = 0;
	fl_ed_which_sheet = 684;
	fl_ed_which_icon = 20;
	fl_special_property = 2;
	fl_special_strength = 50;
	fl_out_fight_town_used = 1009;
	fl_is_rough = 1;
	fl_anim_steps = 4;
begindefinefloor 140; // Fake...
	fl_special_property = 6;

begindefinefloor 142;
	import = 118;
	fl_special_property = 6;

begindefinefloor 143;
	import = 95;
	fl_special_property = 3; // Magic damage of 2 * fl_special_strength
	fl_special_strength = 8;

begindefinefloor 147;
	import = 123;
	fl_special_property = 6;
begindefinefloor 148;
	import = 124;
	fl_special_property = 6;

begindefinefloor 150;
	clear;
	fl_name = "Blasted Ground";
	fl_which_sheet = 703;
	fl_which_icon = 7;
	fl_ed_which_sheet = 680;
	fl_ed_which_icon = 37;
	fl_is_rough = 1;
// New Floors END ]]]

begindefinefloor 254;
	clear; // Clearing out the garbage...

// ### Custom TER Types ###
// ###    421 to 511    ###

// [[[ BEGIN Terrain Corrections
begindefineterrain 421;
	import = 172;
begindefineterrain 172;
	te_name = "Fence";
begindefineterrain 421;
	import = 173;
begindefineterrain 173;
	te_name = "Fence";

begindefineterrain 421;
	import = 236; // Dressers
begindefineterrain 236;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 54;
begindefineterrain 237;
	te_which_icon = 2;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 55;

begindefineterrain 421;
	import = 331; // Hillside Cave Entrance
begindefineterrain 331;
	te_special_property = 19;
begindefineterrain 332;
	import = 112;
	te_which_sheet = 741;
	te_which_icon = 6;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 11;
	te_special_property = 25;
	te_hidden_town_terrain = 112;

begindefineterrain 421;
	import = 360; // Lamppost
begindefineterrain 360;
	te_icon_offset_y = -13;
begindefineterrain 421;
	import = 361; // Lamppost
begindefineterrain 361;
	te_icon_offset_y = -14;

begindefineterrain 421;
	import = 367; // Ruined Statue
begindefineterrain 367;
	te_second_icon = 1;
	te_second_icon_offset_y = -55;

begindefineterrain 421;
	import = 403; // Empty Bookshelf
begindefineterrain 403;
	te_special_property = 0;

begindefineterrain 421;
	import = 405;
begindefineterrain 405;
	te_name = "Campsite";
begindefineterrain 406;
	te_name = "Totems";
	te_which_icon = 6;
	te_ed_which_icon = 66;
// Terrain Corrections END ]]]

// [[[ BEGIN Miscellaneous #1
begindefineterrain 377;
	import = 374; // Lever
	te_name = "Chained Lever";
	te_which_sheet = 500;
	te_which_icon = 56;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 56;
	te_swap_terrain = 374;
begindefineterrain 378;
	te_which_icon = 57;
	te_ed_which_icon = 57;
	te_swap_terrain = 375;

begindefineterrain 379;
	import = 368; // Ruined Statue
	te_which_icon = 3;
	te_ed_which_icon = 93;

begindefineterrain 391; // Empty Bookshelf
	import = 235;
	te_which_sheet = 500;
	te_which_icon = 29;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 29;
	te_special_property = 0;

begindefineterrain 407;
	import = 147;
	te_name = "Watch Tower";
	te_which_sheet = 500;
	te_which_icon = 18;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 18;
	te_second_icon = 19;

begindefineterrain 422;
	import = 219;
	te_name = "Stone Table";
	te_which_sheet = 500;
	te_which_icon = 54;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 96;
	te_ed_icon_adjust = 18;
begindefineterrain 423;
	te_which_icon = 55;
	te_ed_which_icon = 97;
// Miscellaneous #1 END ]]]

// [[[ BEGIN Vahnatai Terrains
begindefineterrain 424;
	import = 347; // Glow Crystal
	te_light_radius = 0;
	te_shimmers = 0;

begindefineterrain 425; // Rug
	import = 141;
	te_name = "Rug";
	te_which_sheet = 500;
	te_which_icon = 37;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 37;

begindefineterrain 426; // Rune
	import = 270;
	te_which_sheet = 500;
	te_which_icon = 33;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 33;

begindefineterrain 427; // Building
	import = 304;
	te_which_sheet = 500;
	te_which_icon = 38;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 38;
begindefineterrain 428;
	import = 322;
	te_which_sheet = 500;
	te_which_icon = 39;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 39;
begindefineterrain 429;
	te_which_sheet = 762;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 20;
begindefineterrain 430;
	te_which_sheet = 768;
	te_which_icon = 2;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 82;

begindefineterrain 431;
	clear;
	te_name = "Strange Barrier"; // ACTUAL name
	te_which_sheet = 764;
	te_which_icon = 0;
	te_ed_which_sheet = 686;
	te_ed_which_icon = 42;
	te_anim_steps = 4;
	te_full_move_block = 1;
	te_terrain_to_crumble_to = 0;
	te_special_property = 45;
// Vahnatai Terrains END ]]]

// [[[ BEGIN Miscellaneous #2
begindefineterrain 432;
	import = 170;
	te_name = "Broken Fence";
	te_which_sheet = 500;
	te_which_icon = 16;
begindefineterrain 433;
	import = 171;
	te_name = "Broken Fence";
	te_which_sheet = 500;
	te_which_icon = 17;
begindefineterrain 434;
	import = 172;
	te_name = "Broken Fence";
	te_which_sheet = 500;
	te_which_icon = 16;
begindefineterrain 435;
	import = 173;
	te_name = "Broken Fence";
	te_which_sheet = 500;
	te_which_icon = 17;

begindefineterrain 436;
	import = 125;
	te_name = "Boat in Drydock";
	te_which_sheet = 741;
	te_which_icon = 7;
	te_ed_which_sheet = 683;
	te_ed_which_icon = 17;

begindefineterrain 437;
	import = 232; // Pillar
	te_which_sheet = 500;
	te_which_icon = 48;
	te_ed_which_sheet = 682;
	te_ed_which_icon = 45;
	te_second_icon = 49;
begindefineterrain 438;
	te_name = "Statue";
	te_ed_which_sheet = 510;
	te_which_icon = 40;
	te_ed_which_icon = 40;
	te_second_icon = 41;
begindefineterrain 439;
	te_which_icon = 42;
	te_ed_which_icon = 42;
	te_second_icon = 43;
begindefineterrain 440;
	te_which_icon = 44;
	te_ed_which_icon = 44;
	te_second_icon = 45;
begindefineterrain 441;
	te_which_icon = 46;
	te_ed_which_icon = 46;
	te_second_icon = 47;
// Miscellaneous #2 END ]]]

// [[[ BEGIN Containers
begindefineterrain 421;
	import = 202; // Box
begindefineterrain 202;
	te_default_script = "container";
	te_swap_terrain = 448;
	te_special_property = 40;
begindefineterrain 203;
	te_which_icon = 5;
	te_ed_which_icon = 65;
	te_swap_terrain = 449;
begindefineterrain 448;
	te_which_sheet = 500;
	te_which_icon = 0;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 0;
	te_swap_terrain = 202;
begindefineterrain 449;
	te_which_icon = 1;
	te_ed_which_icon = 1;
	te_swap_terrain = 203;

begindefineterrain 421;
	import = 238; // Dresser
begindefineterrain 238;
	te_default_script = "container";
	te_swap_terrain = 450;
begindefineterrain 239;
	te_which_icon = 6;
	te_ed_which_icon = 86;
	te_swap_terrain = 451;
begindefineterrain 450;
	te_which_sheet = 500;
	te_which_icon = 10;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 10;
	te_swap_terrain = 238;
begindefineterrain 451;
	te_which_icon = 11;
	te_ed_which_icon = 11;
	te_swap_terrain = 239;

begindefineterrain 442;
	import = 202;
	te_name = "Cupboard";
	te_which_sheet = 500;
	te_which_icon = 2;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 2;
	te_swap_terrain = 453;
begindefineterrain 443;
	te_which_icon = 3;
	te_ed_which_icon = 3;
	te_swap_terrain = 454;
begindefineterrain 453;
	te_which_icon = 4;
	te_ed_which_icon = 4;
	te_swap_terrain = 442;
begindefineterrain 454;
	te_which_icon = 5;
	te_ed_which_icon = 5;
	te_swap_terrain = 443;

// DRAWERS
begindefineterrain 444;
	te_name = "Drawers";
	te_which_icon = 6;
	te_ed_which_icon = 6;
	te_swap_terrain = 455;
begindefineterrain 445;
	te_which_icon = 7;
	te_ed_which_icon = 7;
	te_swap_terrain = 456;
begindefineterrain 455;
	te_which_icon = 8;
	te_ed_which_icon = 8;
	te_swap_terrain = 444;
begindefineterrain 456;
	te_which_icon = 9;
	te_ed_which_icon = 9;
	te_swap_terrain = 445;

// LOCKERS
begindefineterrain 446;
	te_name = "Locker";
	te_which_icon = 12;
	te_ed_which_icon = 12;
	te_swap_terrain = 457;
begindefineterrain 447;
	te_which_icon = 13;
	te_ed_which_icon = 13;
	te_swap_terrain = 458;
begindefineterrain 457;
	te_which_icon = 14;
	te_ed_which_icon = 14;
	te_swap_terrain = 446;
begindefineterrain 458;
	te_which_icon = 15;
	te_ed_which_icon = 15;
	te_swap_terrain = 447;

begindefineterrain 421;
	import = 348; // Vahnatai Box
begindefineterrain 348;
	te_default_script = "container";
	te_swap_terrain = 452;
begindefineterrain 452;
	te_which_sheet = 500;
	te_which_icon = 31;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 31;
	te_swap_terrain = 348;
/// Containers END ]]]

// [[[ BEGIN Damaged terrains
begindefineterrain 459;
	import = 125; // Boulder
	te_name = "Ruined Potted Plant";
	te_which_sheet = 500;
	te_which_icon = 28;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 28;
begindefineterrain 460;
	te_name = "Destroyed Obelisk";
	te_which_icon = 30;
	te_ed_which_icon = 30;
begindefineterrain 461;
	te_name = "Destroyed Oven";
	te_which_icon = 32;
	te_ed_which_icon = 32;
begindefineterrain 462;
	te_name = "Pedestal";
	te_which_icon = 52;
	te_ed_which_icon = 52;
begindefineterrain 463;
	te_name = "Destroyed Pedestal";
	te_which_icon = 53;
	te_ed_which_icon = 53;
begindefineterrain 464;
	te_which_icon = 34;
	te_ed_which_icon = 34;
begindefineterrain 465;
	te_which_icon = 35;
	te_ed_which_icon = 35;
begindefineterrain 466;
	te_name = "Destroyed Pillar";
	te_which_icon = 36;
	te_ed_which_icon = 36;
begindefineterrain 467;
	te_name = "Ruined Bed";
	te_which_icon = 59;
	te_ed_which_icon = 59;
begindefineterrain 468;
	te_which_icon = 58;
	te_ed_which_icon = 58;

begindefineterrain 469;
	import = 200; // Box
	te_name = "Damaged Sarcophagus";
	te_which_sheet = 500;
	te_which_icon = 50;
	te_ed_which_sheet = 510;
	te_ed_which_icon = 50;
begindefineterrain 470;
	te_which_icon = 51;
	te_ed_which_icon = 51;
// Damaged terrains END ]]]

// [[[ BEGIN Ramps

// Ramps END ]]]

begindefineterrain 421;
	clear; // Clearing out the garbage...

// ### Custom CRE Types ###
// ###    234 to 255    ###

begindefinecreature 255;
	import = 5; // Captain
begindefinecreature 5;
	cr_default_script = "guard";

begindefinecreature 255;
	import = 6; // Soldier
begindefinecreature 6;
	cr_default_script = "guard";

begindefinecreature 255;
	import = 8; // Archer
begindefinecreature 8;
	cr_default_script = "guard";

begindefinecreature 255;
	import = 20; // Elite Soldier
begindefinecreature 20;
	cr_default_script = "guard";

begindefinecreature 255;
	import = 83;
begindefinecreature 83;
	cr_name = "Elder Aranea";
	cr_summon_class = 7;

begindefinecreature 255;
	import = 87; // Vampire
begindefinecreature 87;
	cr_summon_class = 7;

begindefinecreature 255;
	import = 100; // Slith Avatar
begindefinecreature 100;
	cr_icon_adjust = 2;

begindefinecreature 107;
	clear;
	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 108;
	import = 18; // Official
	cr_name = "King";
	cr_which_sheet = 1572;

begindefinecreature 109;
	import = 104; // Erika
	cr_name = "Garzahd";
	cr_which_sheet = 522;
	cr_default_attitude = 4;
	cr_species = 7;
	cr_immunities 5 = 99;

begindefinecreature 255;
	import = 131; // Bladesman
begindefinecreature 131;
	cr_default_script = "guard";

begindefinecreature 255;
	import = 132; // Empire Archer
begindefinecreature 132;
	cr_default_script = "guard";

begindefinecreature 255;
	import = 135;
begindefinecreature 135;
	cr_name = "Mutant Giant";
	cr_which_sheet = 520;
	cr_which_sheet_upper = 521;

begindefinecreature 255;
	import = 175; // Empire Dervish
begindefinecreature 175;
	cr_default_script = "guard";

begindefinecreature 234;
	clear; // Clearing out the garbage...
begindefinecreature 235;
begindefinecreature 236;
begindefinecreature 237;
begindefinecreature 238;
begindefinecreature 239;
begindefinecreature 240;
begindefinecreature 241;
begindefinecreature 242;
begindefinecreature 243;
begindefinecreature 244;
begindefinecreature 245;
begindefinecreature 246;
begindefinecreature 247;
begindefinecreature 248;
begindefinecreature 249;
begindefinecreature 250;
begindefinecreature 251;
begindefinecreature 252;
begindefinecreature 253;
begindefinecreature 254;
begindefinecreature 255;

// ### Custom ITM Types ###
// ###    445 to 499    ###

// [[[ BEGIN Item balancing
begindefineitem 499;
	import = 24; // Cursed Leather Armour
begindefineitem 24;
	it_bonus = -2;
	it_protection = 8;
	it_value = 0;

begindefineitem 499;
	import = 25; // Poor Leather Armour
begindefineitem 25;
	it_protection = 8;

begindefineitem 499;
	import = 26; // Leather Armour
begindefineitem 26;
	it_bonus = 2;
	it_protection = 8;

begindefineitem 499;
	import = 26; // Fine Leather Armour
begindefineitem 26;
	it_bonus = 4;
	it_protection = 8;

begindefineitem 499;
	import = 28; // Drakeskin Armour
begindefineitem 28;
	it_bonus = 6;
	it_encumbrance = 0;
	it_protection = 8;
	it_value = 200;

begindefineitem 499;
	import = 29; // Cursed Studded Armour
begindefineitem 29;
	it_protection = 10;
	it_value = 0;

begindefineitem 499;
	import = 31; // Iron Studded Armour
begindefineitem 31;
	it_bonus = 3;

begindefineitem 499;
	import = 32; // Steel Studded Armour
begindefineitem 32;
	it_bonus = 6;
	it_value = 300;

begindefineitem 499;
	import = 33; // Blessed Studded Armour
begindefineitem 33;
	it_encumbrance = 2;
	it_protection = 10;
	it_value = 600;

begindefineitem 499;
	import = 34; // Cursed Chain Mail
begindefineitem 34;
	it_value = 0;

begindefineitem 499;
	import = 35; // Poor Chain Mail
begindefineitem 35;
	it_value = 180;

begindefineitem 499;
	import = 36; // Iron Chain Mail
begindefineitem 36;
	it_bonus = 4;
	it_value = 450;

begindefineitem 499;
	import = 37; // Steel Chain Mail
begindefineitem 37;
	it_bonus = 8;
	it_value = 900;

begindefineitem 499;
	import = 38;
begindefineitem 38; // Mithral Chain Mail
	it_bonus = 12;
	it_encumbrance = 3;
	it_full_name = "Blessed Chain Mail";
	it_protection = 20;
	it_value = 1800;

begindefineitem 499;
	import = 39; // Cursed Plate Mail
begindefineitem 39;
	it_bonus = -7;
	it_full_name = "Cursed Bronze Plate Mail";
	it_value = 0;

begindefineitem 499;
	import = 40; // Bronze Plate Mail
begindefineitem 40;
	it_value = 540;

begindefineitem 499;
	import = 41; // Iron Plate Mail
begindefineitem 41;
	it_bonus = 7;
	it_value = 1350;

begindefineitem 499;
	import = 42; // Steel Plate Mail
begindefineitem 42;
	it_bonus = 14;
	it_value = 2700;

begindefineitem 499;
	import = 43; // Blessed Plate Mail
begindefineitem 43;
	it_bonus = 21;
	it_protection = 40;
	it_value = 5400;

begindefineitem 499;
	import = 111; // Sandals
begindefineitem 111;
	it_protection = 1;
	it_value = 10;

begindefineitem 499;
	import = 112; // Drakeskin Sandals
begindefineitem 112;
	it_protection = 1;

begindefineitem 499;
	import = 113; // Cursed Boots
begindefineitem 113;
	it_full_name = "Cursed Leather Boots";
	it_value = 0;

begindefineitem 499;
	import = 114; // Boots
begindefineitem 114;
	it_full_name = "Leather Boots";
	it_value = 20;

begindefineitem 499;
	import = 115; // Drakeskin Boots
begindefineitem 115;
	it_value = 160;

begindefineitem 499;
	import = 116; // Cursed Cloak
begindefineitem 116;
	it_value = 0;

begindefineitem 499;
	import = 117; // Blessed Cloak
begindefineitem 117;
	it_value = 100;

begindefineitem 499;
	import = 118; // Cursed Robe
begindefineitem 118;
	it_value = 0;

begindefineitem 499;
	import = 119; // Blessed Robe
begindefineitem 119;
	it_value = 200;

begindefineitem 499;
	import = 120; // Cursed Buckler
begindefineitem 120;
	it_bonus = -1;
	it_value = 0;

begindefineitem 499;
	import = 122; // Iron Buckler
begindefineitem 122;
	it_value = 24;

begindefineitem 499;
	import = 123; // Steel Buckler
begindefineitem 123;
	it_value = 48;

begindefineitem 499;
	import = 124; // Blesssed Buckler
begindefineitem 124;
	it_bonus = 3;
	it_protection = 4;
	it_value = 120;

begindefineitem 499;
	import = 125; // Cursed Small Shield
begindefineitem 125;
	it_bonus = -2;
	it_protection = 8;
	it_value = 0;

begindefineitem 499;
	import = 127; // Iron Small Shield
begindefineitem 127;
	it_value = 48;

begindefineitem 499;
	import = 128; // Steel Small Shield
begindefineitem 128;
	it_value = 96;

begindefineitem 499;
	import = 129; // Blesssed Small Shield
begindefineitem 129;
	it_protection = 8;
	it_value = 240;

begindefineitem 499;
	import = 130; // Cursed Large Shield
begindefineitem 130;
	it_bonus = -4;
	it_protection = 12;
	it_value = 0;

begindefineitem 499;
	import = 132; // Iron Large Shield
begindefineitem 132;
	it_bonus = 3;

begindefineitem 499;
	import = 133; // Steel Large Shield
begindefineitem 133;
	it_bonus = 6;
	it_value = 240;

begindefineitem 499;
	import = 134; // Blessed Large Shield
begindefineitem 134;
	it_bonus = 9;
	it_value = 720;

begindefineitem 499;
	import = 135; // Cursed Leather Helmet
begindefineitem 135;
	it_bonus = -1;
	it_value = 0;

begindefineitem 499;
	import = 137; // Leather Helmet
begindefineitem 137;
	it_bonus = 1;
	it_value = 16;

begindefineitem 499;
	import = 138; // Fine Leather Helmet
begindefineitem 138;
	it_bonus = 2;
	it_value = 48;

begindefineitem 499;
	import = 138; // Fine Leather Helmet
begindefineitem 139; // Wyrmskin Helmet
	it_full_name = "Drakeskin Helmet";
	it_bonus = 3;
	it_value = 128;
	it_magic = 1;

begindefineitem 499;
	import = 140; // Cursed Bronze Helmet
begindefineitem 140;
	it_value = 0;

begindefineitem 499;
	import = 144; // Blessed Steel Helmet
begindefineitem 144;
	it_full_name = "Blessed Helmet";
	it_bonus = 6;
	it_protection = 4;

begindefineitem 499;
	import = 145; // Cursed Gloves
begindefineitem 145;
	it_full_name = "Cursed Leather Gloves";

begindefineitem 499;
	import = 146; // Gloves
begindefineitem 146;
	it_full_name = "Leather Gloves";
	it_value = 16;

begindefineitem 499;
	import = 147; // Drakeskin Gloves
begindefineitem 147;
	it_value = 128;

begindefineitem 499;
	import = 148; // Gauntlets
begindefineitem 148;
	it_bonus = 1;
	it_full_name = "Iron Gauntlets";
	it_value = 128;

begindefineitem 344;
	import= 58;
	it_full_name = "Flaming Longsword";
	it_ability_1 = 70;
	it_ability_str_1 = 12;
	it_value = 1600;

begindefineitem 345;
	import = 58;
	it_full_name = "Icy Longsword";
	it_ability_1 = 89;
	it_ability_str_1 = 12;
	it_value = 1600;

begindefineitem 349;
	import = 78;
	it_full_name = "Jade Halberd";
	it_ability_1 = 71;
	it_ability_str_1 = 4;
	it_value = 6000;
	it_magic = 1;
	it_icon_adjust = 288;

begindefineitem 442;
	import = 63;
	it_full_name = "Mithril Blade";
	it_ability_1 = 50;
	it_ability_str_1 = 1;
	it_ability_2 = 1;
	it_ability_str_2 = 1;
	it_ability_3 = 30;
	it_ability_str_3 = 2;
	it_ability_4 = 74;
	it_ability_str_4 = 10;
	it_value = 6000;
	it_icon_adjust = 32;

begindefineitem 499;
	import = 443;
begindefineitem 443;
	it_full_name = "Iron Plate Boots";
	it_protection = 4;
	it_bonus = 2;
	it_value = 70;
	it_weight = 70;
begindefineitem 444;
	it_full_name = "Steel Plate Boots";
	it_protection = 4;
	it_bonus = 4;
	it_value = 210;
	it_weight = 70;
// Item balancing END ]]]

// [[[ BEGIN Stolen from Desperence.net and/or modified items
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_full_name = "Crude Rapier";
	it_damage_per_level = 5;
	it_bonus = 0;
	it_value = 40;
	it_cursed = 0;
begindefineitem 456;
	it_full_name = "Iron Rapier";
	it_damage_per_level = 5;
	it_bonus = 1;
	it_value = 80;
begindefineitem 457;
	it_full_name = "Steel Rapier";
	it_damage_per_level = 5;
	it_bonus = 2;
	it_value = 240;
begindefineitem 458;
	it_full_name = "Blessed Rapier";
	it_damage_per_level = 6;
	it_bonus = 4;
	it_value = 1620;
	it_magic = 1;

begindefineitem 459;
	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 460;
	it_full_name = "Crude Scimitar";
	it_damage_per_level = 6;
	it_bonus = 0;
	it_value = 60;
	it_cursed = 0;
begindefineitem 461;
	it_full_name = "Iron Scimitar";
	it_damage_per_level = 6;
	it_bonus = 1;
	it_value = 120;
begindefineitem 462;
	it_full_name = "Steel Scimitar";
	it_damage_per_level = 6;
	it_bonus = 2;
	it_value = 360;
begindefineitem 463;
	it_full_name = "Blessed Scimitar";
	it_damage_per_level = 7;
	it_bonus = 4;
	it_value = 3050;
	it_magic = 1;

begindefineitem 464;
	clear;
	it_bonus = 0;
	it_encumbrance = 1;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 8;
	it_full_name = "Leather Greaves";
	it_inventory_icon = 7;
	it_name = "Greaves";
	it_protection = 6;
	it_value = 15;
	it_variety = 11;
	it_weight = 60;
begindefineitem 465;
	it_bonus = 2;
	it_encumbrance = 0;
	it_full_name = "Drakeskin Greaves";
	it_value = 150;
	it_magic = 1;

begindefineitem 466;
	clear;
	it_bonus = -2;
	it_cursed = 1;
	it_encumbrance = 2;
	it_floor_which_sheet = 1028;
	it_floor_which_icon = 6;
	it_full_name = "Cursed Bronze Greaves";
	it_inventory_icon = 5;
	it_name = "Greaves";
	it_protection = 8;
	it_value = 0;
	it_variety = 11;
	it_weight = 90;
begindefineitem 467;
	it_bonus = 0;
	it_cursed = 0;
	it_full_name = "Bronze Greaves";
	it_value = 35;
begindefineitem 468;
	it_bonus = 2;
	it_full_name = "Iron Greaves";
	it_value = 70;
begindefineitem 469;
	it_bonus = 4;
	it_full_name = "Steel Greaves";
	it_value = 210;
begindefineitem 470;
	it_bonus = 6;
	it_encumbrance = 1;
	it_full_name = "Blessed Greaves";
	it_value = 560;
	it_magic = 1;

begindefineitem 471;
	import = 324;
	it_full_name = "Steel Bracer";
	it_value = 250;
	it_bonus = 4;

begindefineitem 472;
	import = 444;
	it_full_name = "Cursed Plate Boots";
	it_bonus = -2;
	it_value = 0;
	it_cursed = 1;
begindefineitem 473;
	import = 444;
	it_full_name = "Bronze Plate Boots";
	it_bonus = 0;
	it_value = 35;
begindefineitem 474;
	it_bonus = 6;
	it_encumbrance = 0;
	it_full_name = "Blessed Plate Boots";
	it_magic = 1;
	it_value = 560;
// Stolen from Desperence.net and/or modified items END ]]]

// [[[ BEGIN Avernum 2 Items
begindefineitem 475;
	clear;
	it_full_name = "Empire Records";
	it_variety = 21;
	it_charges = 1;
	it_floor_which_sheet = 1014;
	it_floor_which_icon = 5;
	it_inventory_icon = 6;
	it_ability_1 = 207;
	it_ability_str_1 = 10;
	it_value = 5;
	it_weight = 10;
	it_identified = 1;
begindefineitem 476;
	it_full_name = "Historical Scroll";
	it_ability_str_1 = 11;
	it_value = 30;
	it_weight = 5;
begindefineitem 481;
	it_full_name = "Book";
	it_floor_which_sheet = 1026;
	it_floor_which_icon = 0;
	it_inventory_icon = 0;
	it_ability_str_1 = 13;
	it_value = 6;
	it_weight = 30;
begindefineitem 477;
	it_full_name = "Mushroom Merlot '91";
	// If you want wine of the same age, relative to starting dates, use '91
	// for Avernum 2 or '23 for BoA.
	it_floor_which_sheet = 1023;
	it_floor_which_icon = 8;
	it_inventory_icon = 7;
	it_ability_1 = 178;
	it_ability_str_1 = 45; // Guesswork...
	it_value = 80;
	it_weight = 20;
begindefineitem 478;
	it_full_name = "Hardonnay '85";
	// If you want wine of the same age, relative to starting dates, use '85
	// for Avernum 2 or '17 for BoA.
	it_ability_str_1 = 55; // Guesswork...
	it_value = 90;
begindefineitem 479;
	it_full_name = "Almaria Yellow '91";
	it_ability_str_1 = 65; // Guesswork...
	it_value = 120;

begindefineitem 480;
	import = 481;
	it_name = "Mind Crystal";
	it_full_name = "Mind Crystal - Energy Pulse";
	it_floor_which_sheet = 1023;
	it_floor_which_icon = 5;
	it_inventory_icon = 4;
	it_ability_str_1 = 12;
	it_value = 1000;
	it_weight = 10;
	it_identified = 0;
// Avernum 2 Items END ]]]

begindefineitem 498;
	clear;
	it_full_name = "Debug Activator";;
	it_variety = 21;
	// it_charges = 1;
	it_floor_which_sheet = 1023;
	it_floor_which_icon = 0;
	it_inventory_icon = 0;
	it_ability_1 = 207;
	it_ability_str_1 = 14;
	it_value = 0;
	it_weight = 0;
	it_identified = 1;

begindefineitem 499;
	clear; // Clearing out the garbage...