beginscendatascript;

// GOD'S CREATURES

begindefinecreature 51;
	clear;
	cr_name = "Giant lizard";
	cr_level = 8;
	cr_default_attitude = 4; //Hostile A
	cr_species = 5; //Reptile
	cr_attack_1 = 6;
	cr_attack_1_type = 2; //Bite
	cr_attack_2 = 4;
	cr_attack_23_type = 1; //Claw
	cr_attack_3 = 4;
	cr_which_sheet = 1542;
	cr_summon_class = 2;
	cr_immunities 4 = 50; //Poison/acid

begindefinecreature 81;
	clear;
	cr_name = "Mayor";
	cr_level = 25;
	cr_default_attitude = 2; //Frendly
	cr_which_sheet = 1559;
	cr_small_or_large_template = 1;
	cr_what_stat_adjust 0 = 10; //Assassination
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 4; //Melee Weapons
	cr_amount_stat_adjust 1 = 6;
	cr_what_stat_adjust 2 = 21; //Blademaster
	cr_amount_stat_adjust 2 = 6;
	cr_what_stat_adjust 3 = 5; //Pole Weapons
	cr_amount_stat_adjust 3 = 4;
	cr_start_item 0 = 36;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 56;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 57;
	cr_start_item_chance 2 = 15;
	cr_start_item 3 = 131;
	cr_start_item_chance 3 = 40;
	cr_start_item 4 = 142;
	cr_start_item_chance 4 = 25;
	cr_start_item 5 = 114;
	cr_start_item_chance 5 = 25;
	cr_start_item 6 = 3;
	cr_start_item_chance 6 = 30;
	cr_start_item 7 = 270;
	cr_start_item_chance 7 = 5;
	cr_start_item 7 = 225;
	cr_start_item_chance 7 = 4;

begindefinecreature 234;
	import = 32;
	cr_name = "Ogre brute";
	cr_level = 14;
	cr_hp_bonus = 20;
	cr_natural_armor = 15;
	cr_attack_2 = 5;
	cr_attack_23_type = 4; //Punches
	cr_attack_3 = 4;
	cr_what_stat_adjust 0 = 0; //Strength
	cr_amount_stat_adjust 0 = 2;
	cr_what_stat_adjust 1 = 4; //Melee Weapons
	cr_amount_stat_adjust 1 = 7;
	cr_which_sheet = 500;
	cr_summon_class = -1;
	cr_start_item 2 = 222;
	cr_start_item_chance 2 = 15;
	cr_start_item 7 = 228;
	cr_start_item_chance 7 = 4;

begindefinecreature 235;
	clear;
	cr_name = "Blood swarm";
	cr_level = 8;
	cr_hp_bonus = -10;
	cr_sp_bonus = 0;
	cr_special_abil = 6; //Melee attack diseases target
	cr_default_attitude = 4; //Hostile A
	cr_species = 9; //Insect
	cr_attack_1 = 10;
	cr_attack_1_type = 5; //Stings
	cr_ap_bonus = 1;
	cr_which_sheet = 501;
	cr_what_stat_adjust 0 = 1; //Dexterity
	cr_amount_stat_adjust 0 = 5;
	cr_immunities 4 = 100; //Poison/acid
	cr_immunities 5 = 90; //Melee

begindefinecreature 236;
	clear;
	cr_name = "Mighty beast";
	cr_level = 30;
	cr_hp_bonus = 195;
	cr_special_abil = 1; //Melee attack poisons target
	cr_default_attitude = 5; //Hostile B
	cr_species = 5; //Reptile
	cr_natural_armor = 20;
	cr_attack_1 = 4;
	cr_attack_1_type = 2; //Bite
	cr_attack_2 = 3;
	cr_attack_23_type = 1; //Claw
	cr_which_sheet = 504;
	cr_icon_adjust = 16;
	cr_what_stat_adjust 0 = 0; //Strength
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 1; //Dexterity
	cr_amount_stat_adjust 1 = 2;
	cr_what_stat_adjust 2 = 8; //Hardiness
	cr_amount_stat_adjust 2 = 12;

begindefinecreature 237;
	clear;
	cr_name = "Lord of Worgs";
	cr_level = 24;
	cr_hp_bonus = 211;
	cr_default_attitude = 4; //Hostile A
	cr_species = 4; //Giant
	cr_which_sheet = 1528;
	cr_icon_adjust = 4;
	cr_what_stat_adjust 0 = 11; //Mage Spells
	cr_amount_stat_adjust 0 = 14;
	cr_what_stat_adjust 1 = 25; //Magery
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 38; //Magic Resistance
	cr_amount_stat_adjust 2 = 10;
	cr_what_stat_adjust 3 = 27; //Magical Efficiency
	cr_amount_stat_adjust 3 = 4;
	cr_start_item 0 = 60;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 117;
	cr_start_item_chance 1 = 15;
	cr_start_item 2 = 3;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 208;
	cr_start_item_chance 3 = 15;
	cr_start_item 4 = 276;
	cr_start_item_chance 4 = 4;
	cr_start_item 5 = 214;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 215;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 191;
	cr_start_item_chance 7 = 15;
	cr_immunities 0 = 15; //Fire
	cr_immunities 1 = 100; //Cold
	cr_immunities 2 = 75; //Magic

begindefinecreature 238;
	clear;
	cr_name = "Angerfist";
	cr_level = 25;
	cr_hp_bonus = 55;
	cr_default_attitude = 4; //Hostile A
	cr_species = 4; //Giant
	cr_natural_armor = 20;
	cr_which_sheet = 506;
	cr_which_sheet_upper = 507;
	cr_start_item 0 = 448;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 228;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 228;
	cr_start_item_chance 2 = 50;
	cr_start_item 3 = 208;
	cr_start_item_chance 3 = 15;
	cr_start_item 4 = 307;
	cr_start_item_chance 4 = 100;
	cr_what_stat_adjust 0 = 0; //Strength
	cr_amount_stat_adjust 0 = 12;
	cr_what_stat_adjust 1 = 1; //Dexterity
	cr_amount_stat_adjust 1 = 6;
	cr_what_stat_adjust 2 = 4; //Hardiness
	cr_amount_stat_adjust 2 = 8;
	cr_what_stat_adjust 3 = 10; //Assassination
	cr_amount_stat_adjust 3 = 4;
	cr_immunities 5 = 60; //Melee

begindefinecreature 239;
	clear;
	cr_name = "Lord of Sheep";
	cr_level = 23;
	cr_hp_bonus = 50;
	cr_default_attitude = 4; //Hostile A
	cr_species = 4; //Giant
	cr_which_sheet = 1528;
	cr_icon_adjust = 37;
	cr_what_stat_adjust 0 = 12; //Priest Spells
	cr_amount_stat_adjust 0 = 11;
	cr_what_stat_adjust 1 = 25; //Magery
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 38; //Magic Resistance
	cr_amount_stat_adjust 2 = 2;
	cr_what_stat_adjust 3 = 27; //Magical Efficiency
	cr_amount_stat_adjust 3 = 4;
	cr_start_item 0 = 60;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 117;
	cr_start_item_chance 1 = 15;
	cr_start_item 2 = 3;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 208;
	cr_start_item_chance 3 = 15;
	cr_start_item 4 = 276;
	cr_start_item_chance 4 = 4;
	cr_start_item 5 = 214;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 215;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 191;
	cr_start_item_chance 7 = 15;
	cr_immunities 0 = 5; //Fire
	cr_immunities 1 = 85; //Cold
	cr_immunities 2 = 95; //Magic

begindefinecreature 240;
	clear;
	cr_name = "Lord of Flies";
	cr_level = 24;
	cr_hp_bonus = 211;
	cr_default_attitude = 4; //Hostile A
	cr_species = 4; //Giant
	cr_which_sheet = 1528;
	cr_icon_adjust = 10;
	cr_what_stat_adjust 0 = 11; //Mage Spells
	cr_amount_stat_adjust 0 = 14;
	cr_what_stat_adjust 1 = 25; //Magery
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 38; //Magic Resistance
	cr_amount_stat_adjust 2 = 10;
	cr_what_stat_adjust 3 = 27; //Magical Efficiency
	cr_amount_stat_adjust 3 = 4;
	cr_start_item 0 = 60;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 117;
	cr_start_item_chance 1 = 15;
	cr_start_item 2 = 3;
	cr_start_item_chance 2 = 25;
	cr_start_item 3 = 208;
	cr_start_item_chance 3 = 15;
	cr_start_item 4 = 276;
	cr_start_item_chance 4 = 4;
	cr_start_item 5 = 214;
	cr_start_item_chance 5 = 10;
	cr_start_item 6 = 215;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 191;
	cr_start_item_chance 7 = 15;
	cr_immunities 0 = 5; //Fire
	cr_immunities 1 = 85; //Cold
	cr_immunities 2 = 95; //Magic

begindefinecreature 241;
	clear;
	cr_name = "Angerfist - ghost";
	cr_level = 2;
	cr_icon_adjust = -3;
	cr_default_attitude = 4; //Hostile A
	cr_species = 4; //Giant
	cr_which_sheet = 506;
	cr_which_sheet_upper = 507;

begindefinecreature 242;
	clear;
	cr_name = "Killer sheep";
	cr_level = 6;
	cr_default_attitude = 4; //Hostile A
	cr_species = 6; //Beast
	cr_attack_1 = 3;
	cr_attack_1_type = 2; //Bite
	cr_which_sheet = 1626;
	cr_summon_class = 2;
	cr_what_stat_adjust 0 = 0; //Strength
	cr_amount_stat_adjust 0 = 4;
	cr_default_script = "sheep";

begindefinecreature 243;
	clear;
	cr_name = "Aprillia";
	cr_level = 25;
	cr_default_attitude = 3; //Neutral
	cr_attack_1 = 2;
	cr_attack_1_type = 10; //Kicks
	cr_default_strategy = 1; //Archer/caster. Maintains a safe distance when possible
	cr_which_sheet = 1569;
	cr_icon_adjust = 5;
	cr_what_stat_adjust 0 = 11; //Mage Spells
	cr_amount_stat_adjust 0 = 20;
	cr_what_stat_adjust 1 = 9; //Defense
	cr_amount_stat_adjust 1 = 5;
	cr_what_stat_adjust 2 = 25; //Magery
	cr_amount_stat_adjust 2 = 6;
	cr_what_stat_adjust 3 = 18; //Luck
	cr_amount_stat_adjust 3 = 1;
	cr_start_item 0 = 433;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 48;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 335;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 332;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 212;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 447;
	cr_start_item_chance 5 = 100;
	cr_immunities 0 = 50; //Fire
	cr_immunities 1 = 75; //Cold
	cr_immunities 2 = 95; //Magic
	cr_immunities 3 = 100; //Mental
	cr_immunities 4 = 20; //Poison/acid

begindefinecreature 244;
	clear;
	cr_name = "Ogre child";
	cr_level = 2;
	cr_which_sheet = 508;
	cr_default_attitude = 4;
	cr_attack_1 = 2;
	cr_attack_1_type = 10; //Kicks

// Maastokuviointi

begindefineterrain 306;
 
	import = 304;	te_name = "City Wall";	te_which_sheet = 740;

	te_which_icon = 5;

	te_ed_which_sheet = 683;	te_ed_which_icon = 51;

begindefineterrain 307;
 
	te_which_icon = 3;	te_ed_which_icon = 56;

begindefineterrain 308;
 
	te_which_icon = 9;

	te_ed_which_icon = 54;

begindefineterrain 309;
 
	te_which_sheet = 741;

	te_which_icon = 1;	te_ed_which_icon = 55;

begindefineterrain 310;
 
	te_which_sheet = 740;

	te_which_icon = 8;	te_ed_which_icon = 50;
	te_hidden_town_terrain = 310;

begindefineterrain 314;
 
	import = 304;
	te_name = "City Wall";

	te_which_sheet = 778;
	te_which_icon = 5;

	te_ed_which_sheet = 683;
	te_ed_which_icon = 61;
	te_hidden_town_terrain = 314;

begindefineterrain 315;
 
	te_which_icon = 3;
	te_ed_which_icon = 66;
	te_hidden_town_terrain = 315;

begindefineterrain 316;
 
	te_which_icon = 9;

	te_ed_which_icon = 64;
	te_hidden_town_terrain = 316;

begindefineterrain 317;
 
	te_which_icon = 7;
	te_ed_which_icon = 65;
	te_hidden_town_terrain = 317;

begindefineterrain 318;
 
	te_which_icon = 1;
	te_ed_which_icon = 60;
	te_hidden_town_terrain = 318;

begindefineterrain 319;
 
	te_which_icon = 0;

	te_ed_which_icon = 67;
	te_hidden_town_terrain = 319;

begindefineterrain 320;
 
	te_name = "City Gate";

	te_which_icon = 4;

	te_ed_which_icon = 63;

	te_full_move_block = 0;
	te_hidden_town_terrain = 320;

begindefineterrain 321;
 
	te_which_icon = 6;

	te_ed_which_icon = 62;
	te_hidden_town_terrain = 321;

begindefineterrain 322;
 
	import = 304;
	te_name = "Building";

	te_which_sheet = 741;

	te_which_icon = 2;

	te_ed_which_sheet = 683;

	te_ed_which_icon = 12;
	te_hidden_town_terrain = 322;

begindefineterrain 323;
 
	te_which_sheet = 743;

	te_which_icon = 0;
	te_ed_which_icon = 7;
	te_hidden_town_terrain = 323;
begindefineterrain 324;
 
	te_which_sheet = 750;
	te_which_icon = 7;
	te_ed_which_sheet = 684;
	te_ed_which_icon = 7;
	te_hidden_town_terrain = 324;

begindefineterrain 325;
 
	te_which_icon = 8;

	te_ed_which_icon = 8;
	te_hidden_town_terrain = 325;

begindefineterrain 326;
 
	te_which_icon = 6;
	te_ed_which_icon = 6;
	te_hidden_town_terrain = 326;

begindefineterrain 327;
 
	te_which_sheet = 751;
	te_which_icon = 9;

	te_ed_which_icon = 19;
	te_hidden_town_terrain = 327;

begindefineterrain 328;
 
	te_which_sheet = 788;

	te_which_icon = 9;

	te_ed_which_sheet = 688;

	te_ed_which_icon = 89;
	te_hidden_town_terrain = 328;

begindefineterrain 329;
 
	te_which_sheet = 789;
	te_which_icon = 0;

	te_ed_which_icon = 90;
	te_hidden_town_terrain = 329;

begindefineterrain 330;
 
	te_which_icon = 3;
	te_ed_which_icon = 93;
	te_hidden_town_terrain = 330;

begindefineterrain 432;
	import = 149;
	te_which_sheet = 999;
	te_which_icon = 0;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 78;
	te_icon_offset_y = -8;
begindefineterrain 433;
	te_which_icon = 1;
	te_ed_which_icon = 73;
begindefineterrain 435;
	te_which_icon = 3;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 71;
begindefineterrain 437;
	te_which_icon = 5;
	te_ed_which_icon = 79;
begindefineterrain 434;
	import = 144;
	te_which_sheet = 999;
	te_which_icon = 2;
	te_ed_which_sheet = 688;
	te_ed_which_icon = 75;
	te_icon_offset_y = -8;
begindefineterrain 436;
	te_which_icon = 4;
	te_ed_which_icon = 76;

begindefineterrain 438;
	import = 166;
	te_which_sheet = 999;
	te_which_icon = 10;

begindefineterrain 439;
	import = 209;
	te_which_sheet = 999;
	te_which_icon = 11;
	te_anim_steps = 3;
	te_icon_offset_y = -3;

begindefineterrain 446;
	import = 125;
	te_name = "Magic pool";
	te_which_sheet = 999;
	te_which_icon = 24;
	te_anim_steps = 3;
	te_icon_offset_y = -2;

begindefineterrain 447;
	import = 125;
	te_name = "Magic pool";
	te_which_sheet = 999;
	te_which_icon = 28;
	te_icon_offset_y = -2;

begindefineterrain 448;
	import = 139;
	te_name = "Dead lizard";
	te_which_sheet = 999;
	te_which_icon = 15;

begindefineterrain 449;
	import = 238;
	te_name = "Locker";
	te_which_sheet = 999;
	te_which_icon = 16;
	te_icon_offset_y = -5;
begindefineterrain 450;
	te_which_icon = 17;

begindefineterrain 451;
	import = 139;
	te_name = "Dead ogre";
	te_which_sheet = 999;
	te_which_icon = 18;

begindefineterrain 452;
	import = 141;
	te_name = "Arrow";
	te_which_sheet = 999;
	te_which_icon = 19;

// Lattioita

begindefinefloor 132;
	import = 72;
	fl_which_sheet = 999;
	fl_which_icon = 6;
begindefinefloor 133;
	fl_which_icon = 7;
begindefinefloor 134;
	fl_which_icon = 8;
begindefinefloor 135;
	fl_which_icon = 9;

// Esineit

begindefineitem 445;
	clear;
	it_name = "Crossbow";
	it_full_name = "Yelbro Crossbow";
	it_variety = 22; // Crossbow
	it_damage_per_level = 5;
	it_bonus = 3;
	it_weapon_skill_used = 6; // Bows
	it_floor_which_sheet = 1008;
	it_floor_which_icon = 4;
	it_inventory_icon = 3;
	it_icon_adjust = 2;
	it_ability_1 = 61; // Affect action points, +[0 to str] each turn
	it_ability_str_1 = 1;
	it_ability_2 = 52; // +5% to hit / str (missile)
	it_ability_str_2 = 1;
	it_value = 555;
	it_weight = 150;
	it_magic = 1;
	it_missile_anim_type = 8;

begindefineitem 446;
	clear;
	it_name = "Book";
	it_full_name = "Under A Strange Religion";
	it_variety = 21;
	it_floor_which_sheet = 1026;
	it_floor_which_icon = 1;
	it_inventory_icon = 1;
	it_ability_1 = 207;
	it_ability_str_1 = 10;

begindefineitem 447;
	clear;
	it_name = "Staff";
	it_full_name = "Healing Rod";
	it_variety = 9; // Wand/Rod
	it_charges = 6;
	it_floor_which_sheet = 1030;
	it_floor_which_icon = 8;
	it_inventory_icon = 9;
	it_icon_adjust = 3;
	it_ability_1 = 120; // Healing. Casting lvl = 1 + (str / 10),
	it_ability_str_1 = 50;
	it_value = 220;

begindefineitem 448;
	clear;
	it_name = "Sword";
	it_full_name = "Angerblade";
	it_variety = 2; // 2-handed weapon
	it_damage_per_level = 8;
	it_bonus = 2;
	it_weapon_skill_used = 4; // Melee Weapons
	it_floor_which_sheet = 1046;
	it_floor_which_icon = 9;
	it_inventory_icon = 8;
	it_icon_adjust = 8;
	it_value = 150;
	it_weight = 200;

begindefineitem 449;
	import = 314;
	it_full_name = "Rabbit Sling";
	it_icon_adjust = 7;
	it_ability_1 = 61; // Affect action points, +[0 to str] each turn
	it_ability_str_1 = 1;

begindefineitem 450;
	import = 16;
	it_full_name = "Chieftain's Cloak";
	it_bonus = 2;
	it_icon_adjust = 1;
	it_ability_1 = 3; // Intelligence
	it_ability_str_1 = 1;
	it_magic = 1;
	it_value = 200;

begindefineitem 451;
	import = 18;
	it_full_name = "Workman Pants";
	it_floor_which_icon = 9;
	it_inventory_icon = 0;
	it_ability_1 = 54; // +5% to all resistance / str
	it_ability_str_1 = 1;
	it_value = 200;