beginscenscript;
	
// ABILITY TYPES
// Reserving 0 - 99 for hostile, targeted abils (touch and missile)
// 100 - 199  Just happen abilities (both friendly and hostile), non-targeted
// 200 - 255  Targeted abilities used on friends (touch, generally)
begindefineability 9;
// Held in reserve to import to totally flush values

begindefineability 0;
// import for basic melee damage
	ab_name = "Melee Attack";
	ab_abil_type = 0;
	ab_graphic_type = 1;

	ab_stat_ability_linked_to = 4;
	ab_stat_for_ability_bonus = -1;

	ab_impact_sfx_effect = -1;//23;

	ab_effect_type = 0;
	ab_effect_base = 5;
	ab_effect_per_level = 4;

	ab_accuracy_adjust = 60;
	ab_ability_sound = 16;
	ab_impact_sound = 8;
	ab_random_effect_shift = 1;
	
begindefineability 1;
	ab_name = "Bite";
	ab_ability_sound = 18;
	ab_impact_sound = -1;
	
begindefineability 2; // npc sword
	ab_name = "Sword";
	ab_effect_base = 3;
	ab_effect_per_level = 4;
	ab_accuracy_adjust = 50;
	ab_ability_sound = 16;
	ab_impact_sound = 7;
	
	
// Begin simple projectiles
begindefineability 3;
	// Basic missile -> radiate cloud for importation
	ab_name = "Bolt of Fire";
	ab_abil_type = 2;
	ab_graphic_type = 0;
	
	ab_missile_type_fired = 73; //0;
	ab_impact_sfx_effect = -1;
	ab_random_effect_shift = 0;

	ab_stat_ability_linked_to = 40; 
	ab_stat_for_ability_bonus = 11;
	
	ab_damage_type = 2;
	ab_effect_type = 0;
	ab_effect_base = 10;
	ab_effect_per_level = 3;	

	ab_range = 10;
	ab_ability_sound = 191;
	ab_impact_sound = 9;
	ab_energy_cost = 2;
	ab_accuracy_adjust = 100;
	
begindefineability 4;
	// Basic missile for importation
	ab_name = "Acid Spit";
	ab_abil_type = 3;
	ab_graphic_type = 0;
	
	ab_missile_type_fired = 2;
	ab_impact_sfx_effect = -1;//12;
	ab_number_of_effect = 8;
	
	ab_stat_ability_linked_to = 42; 
	ab_stat_for_ability_bonus = 9;
	
	ab_effect_type = 0;
	ab_damage_type = 5;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = -1;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 132; 
	ab_impact_sound = 158;
	ab_energy_cost = 0;
	ab_accuracy_adjust = 100;
	
begindefineability 5;
	import = 3;
	ab_name = "Lightning Spray";
	
	ab_missile_type_fired = 1110;
	ab_impact_sfx_effect = -1;//1;
	ab_number_of_effect = 12;
	
	ab_stat_ability_linked_to = 50; 
	ab_stat_for_ability_bonus = 11;

	ab_num_of_missiles = 3;
	ab_damage_type = 1;
	ab_effect_base = 15;
	ab_effect_per_level = 4;	

	ab_ability_sound = 107;
	ab_impact_sound = 117;
	ab_energy_cost = 15;

begindefineability 7;
	ab_name = "Diamond Spray";

	ab_missile_type_fired = 36;//1111;

	ab_num_of_missiles = 8;
	ab_damage_type = 1;
	ab_effect_base = 30;
	ab_effect_per_level = 6;
		
	ab_ability_sound = 175;

	ab_energy_cost = 0;
	ab_accuracy_adjust = 100;
	
begindefineability 10;
// Imported for instant effects with nimbus around target
	ab_name = "Stun";
	ab_abil_type = 1;
	ab_graphic_type = 1;
	
	ab_impact_sfx_effect = 13;
	ab_number_of_effect = 10;

	ab_damage_type = 1;
	ab_effect_type = 0;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = 3;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 104;
	ab_impact_sound = -1;
	ab_energy_cost = 0;
	ab_accuracy_adjust = 100;
	
begindefineability 13; // monster-cast terror
	ab_name = "Terror";
	ab_abil_type = 1;
	ab_graphic_type = 1;
	
	ab_impact_sfx_effect = -1;//158;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 51; 
	ab_stat_for_ability_bonus = 11;

	ab_damage_type = 4;
	ab_effect_type = 0;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = 7;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 2;

	ab_ability_sound = 123;
	ab_impact_sound = -1;
	ab_energy_cost = 7;

begindefineability 14; // pc-cast terror
	ab_effect_type = -1;
	
begindefineability 15;
	ab_name = "Control Foe";
	ab_abil_type = 1;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//154;
	ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 74; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = -1;
	ab_status_effect = 5;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 2;

	ab_ability_sound = 128;
	ab_impact_sound = -1;
	ab_energy_cost = 12;

begindefineability 16; // tougher fire breath, single flame poof
	import = 3;
	ab_ability_sound = 178;
	ab_abil_type = 3;

	ab_missile_type_fired = 70;
	
	ab_effect_type = 0;
	ab_effect_base = 10;
	ab_effect_per_level = 4;	

begindefineability 17;
	ab_name = "Smite";
	
	ab_missile_type_fired = 74;
	ab_impact_sfx_effect = -1;
	ab_random_effect_shift = 0;
	
	ab_stat_ability_linked_to = 65; 
	ab_stat_for_ability_bonus = 12;

	ab_damage_type = 6;
	ab_effect_type = 0;
	ab_effect_base = 3;
	ab_effect_per_level = 5;	

	ab_stunning_chance = 70;
	ab_ability_sound = 118;
	ab_impact_sound = 9;
	ab_energy_cost = 8;

begindefineability 20;
	import = 4;
	ab_name = "Javelin";
	ab_abil_type = 3;
	
	ab_missile_type_fired = 15;
	ab_impact_sfx_effect = -1;//23;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 7; 
	ab_stat_for_ability_bonus = -1;

	ab_damage_type = 0;
	ab_effect_type = 0;
	ab_effect_base = 8;
	ab_effect_per_level = 4;
	ab_status_effect = -1;

	ab_ability_sound = 2;
	ab_impact_sound = 17;
	ab_accuracy_adjust = 50;
	ab_energy_cost = 0;

begindefineability 21; 
	ab_name = "Razordisk";
	ab_abil_type = 3;
	
	ab_missile_type_fired = 17;

	ab_accuracy_adjust = 60;
	ab_ability_sound = 134;
	ab_effect_per_level = 5;

begindefineability 22;
	ab_name = "Thrown Rock";
	
	ab_missile_type_fired = 16;

	ab_effect_per_level = 6;

begindefineability 25;
	import = 10;
	ab_name = "Repel Spirit";
	ab_graphic_type = 4;
	
	ab_impact_sfx_effect = -1;//173;
	ab_number_of_effect = 1;
	
	ab_stat_ability_linked_to = 64; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 0;
	ab_damage_type = 3;
	ab_effect_base = 10;
	ab_effect_per_level = 5;
	ab_status_effect = -1;

	ab_energy_cost = 6;
	ab_impact_sound = 114;
	

// other melee abilities
begindefineability 30;
	import = 2;
	ab_name = "Shortsword";

	ab_effect_base = 3;
	ab_effect_per_level = 2;

	ab_accuracy_adjust = 50;
	ab_ability_sound = 16;
	ab_impact_sound = 6;	
begindefineability 31;
	ab_name = "Broadsword";

	ab_number_of_effect = 5;

	ab_effect_base = 4;
	ab_effect_per_level = 3;

	ab_accuracy_adjust = 60;
	ab_ability_sound = 16;
	ab_impact_sound = 7;	
begindefineability 32; // sound?
	ab_name = "Spear";

	ab_number_of_effect = 5;

	ab_effect_base = 4;
	ab_effect_per_level = 3;

	ab_accuracy_adjust = 50;
	ab_ability_sound = 16;
	ab_impact_sound = 17;	
begindefineability 33; // sound?
	ab_name = "Halberd";

	ab_stat_ability_linked_to = 5; 

	ab_number_of_effect = 10;

	ab_effect_base = 6;
	ab_effect_per_level = 4;

	ab_accuracy_adjust = 75;
	ab_ability_sound = 16;
	ab_impact_sound = 139;	
begindefineability 34;
	import = 31;
	ab_name = "Oozing Blade";

	ab_effect_base = 4;
	ab_effect_per_level = 3;
	ab_status_effect = 6;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_accuracy_adjust = 60;
begindefineability 35;
	import = 31;
	ab_name = "Jinx Blade";

	ab_status_effect = 0;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
begindefineability 36;
	ab_name = "Venom Blade";

	ab_status_effect = 2;
begindefineability 37; // sound?
	import = 33;
	ab_name = "Slith Spear";
	ab_accuracy_adjust = 60;

	ab_effect_base = 1;
	ab_effect_per_level = 4;

	ab_accuracy_adjust = 40;
begindefineability 38; // acid halberd
	import = 33;
	ab_name = "Acid Blade";

	ab_status_effect = 6;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
begindefineability 39; // stun blade
	import = 30;
	ab_name = "Stunning Blade";

	ab_status_effect = 3;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;
begindefineability 40; // fire blade
	import = 31;
	ab_name = "Fiery Blade";
	ab_damage_type = 2;

	
// more projectiles
begindefineability 42; // single cloud ice breath
	import = 3;
	ab_ability_sound = 178;
	ab_abil_type = 3;

	ab_missile_type_fired = 71;
	
	ab_effect_type = 0;
	ab_damage_type = 6;
	ab_effect_base = 15;
	ab_effect_per_level = 5;	
begindefineability 45; // nasty rain of fire breath
	import = 3;
	ab_ability_sound = 178;
	ab_abil_type = 3;

	ab_missile_type_fired = 1113;
	
	ab_effect_type = 0;
	ab_effect_base = 15;
	ab_effect_per_level = 5;	
begindefineability 46; // nasty rain of ice breath
	ab_missile_type_fired = 1114;
	ab_damage_type = 6;
begindefineability 47; // ray damage + ligtning aura
	import = 4;
	ab_name = "Decaying Ray";
	ab_graphic_type = 0;
	ab_abil_type = 3;
	
	ab_missile_type_fired = 1111;
	ab_impact_sfx_effect = -1;//3;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 8;
	ab_effect_per_level = 5;
	ab_status_effect = 22;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_impact_sound = 175; 

	
	
// Arrow/projectile abilities
begindefineability 50; 
	import = 4;
	ab_name = "Arrow";
	ab_abil_type = 2;
	ab_graphic_type = 0;
	
	ab_missile_type_fired = 20;
	ab_impact_sfx_effect = -1;//23;
	ab_number_of_effect = 1;
	
	ab_stat_ability_linked_to = 6; 
	ab_stat_for_ability_bonus = 1;

	ab_damage_type = 0;
	ab_effect_type = 0;
	ab_effect_base = 4;
	ab_effect_per_level = 2;
	ab_status_effect = -1;

	ab_accuracy_adjust = 50;
	ab_missile_short_range = 1;
	ab_ability_sound = 194;
	ab_impact_sound = 8;
	ab_energy_cost = 0;
	
begindefineability 51;
	ab_name = "Venom Arrow";

	ab_impact_sfx_effect = -1;//3;

	ab_status_effect = 2;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_missile_short_range = 1;
	
begindefineability 52;
	ab_name = "Acid Arrow";

	ab_impact_sfx_effect = 12;
	
	ab_status_effect = 6;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_missile_short_range = 1;

begindefineability 53;
	ab_name = "Submission Arrow";

	ab_missile_type_fired = 21;
	ab_impact_sfx_effect = -1;//17;
	ab_number_of_effect = 8;
	
	ab_status_effect = 3;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_missile_short_range = 1;
	ab_impact_sound = 123;

begindefineability 54;
	ab_name = "Heartstriker";

	ab_impact_sfx_effect = 18;

	ab_effect_type = 0;
	ab_effect_base = 10;
	ab_effect_per_level = 4;
	ab_status_effect = -1;

	ab_missile_short_range = 1;
	ab_ability_sound = 129;
	ab_impact_sound = 103;

begindefineability 55; // thorn 
	import = 50;
	ab_missile_type_fired = 11;
	ab_ability_sound = 159;
begindefineability 56; // thorn 
	import = 52;
	ab_missile_type_fired = 13;
	ab_ability_sound = 159;
begindefineability 57; // thorn 
	import = 53;
	ab_missile_type_fired = 12;
	ab_ability_sound = 159;
begindefineability 58; // thorn 
	import = 54;
	ab_missile_type_fired = 14;
	ab_ability_sound = 159;
begindefineability 59; 
	import = 50;
	ab_name = "Longbow Arrow";
	ab_effect_per_level = 3;
	ab_accuracy_adjust = 60;
	ab_ability_sound = 129;
	
// Other projectiles
begindefineability 60; // ray damage + poison
	import = 4;
	ab_name = "Decaying Ray";
	ab_graphic_type = 0;
	ab_abil_type = 3;
	
	ab_missile_type_fired = 36;
	ab_impact_sfx_effect = -1;//3;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 4;
	ab_effect_base = 8;
	ab_effect_per_level = 5;
	ab_status_effect = 2;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 0;

	ab_impact_sound = 165;

begindefineability 62;
	ab_name = "Charm Ray";// ray damage + charm

	ab_missile_type_fired = 37;
	ab_impact_sfx_effect = -1;//154;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 8;
	ab_effect_per_level = 5;
	ab_status_effect = 5;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 2;
	
	ab_impact_sound = 128;

begindefineability 64; // ray damage + slow
	ab_name = "Slowing Mist";

	ab_missile_type_fired = 39;
	ab_impact_sfx_effect = -1;//152;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 8;
	ab_effect_per_level = 5;
	ab_status_effect = 1;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 0;
	
	ab_ability_sound = 174; 
	ab_impact_sound = 124;

// Other melee abilities
begindefineability 80;
	import = 0;
	ab_name = "Poison Sting";

	ab_impact_sfx_effect = -1;//3;
	ab_random_effect_shift = 1;

	ab_status_effect = 2;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

begindefineability 81;
	import = 1;
	ab_name = "Poison Bite";

	ab_impact_sfx_effect = -1;//3;
	ab_random_effect_shift = 1;

	ab_status_effect = 2;
	ab_status_effect_base = 5;
	ab_status_effect_per_level = 0;

begindefineability 82; // cold damage + slow
	import = 0;
	ab_name = "Icy Touch";

	ab_impact_sfx_effect = -1;//22;
	ab_number_of_effect = 8;
	ab_random_effect_shift = 1;

	ab_stat_ability_linked_to = 5; 

	ab_effect_type = 0;
	ab_damage_type = 6;
	ab_status_effect = 1;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 0;

	ab_ability_sound = 174; 
	ab_impact_sound = 118;
	
begindefineability 83; // acid damage + acid
	ab_name = "Rotting Touch";

	ab_impact_sfx_effect = -1;//11;

	ab_effect_type = 0;
	ab_damage_type = 5;
	ab_status_effect = 6;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 0;

	ab_impact_sound = 177;

begindefineability 84; // melee damage + light stun
	ab_name = "Stunning Blow";

	ab_impact_sfx_effect = 10;

	ab_effect_type = 0;
	ab_damage_type = 0;
	ab_status_effect = 3;
	ab_status_effect_base = 5;
	ab_status_effect_per_level = 0;

	ab_impact_sound = 104;
	
begindefineability 85; // like stun touch, but nastier and with different name
	ab_name = "Radiate Energy";

	ab_impact_sfx_effect = 9;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 25;
	ab_effect_per_level = 6;
	ab_status_effect = 3;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 3;

	ab_ability_sound = 119;
	ab_impact_sound = -1;

begindefineability 86; // touch curse + damage
	ab_name = "Confusing Touch";
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//161;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 0;
	ab_effect_base = 5;
	ab_effect_per_level = 5;
	ab_status_effect = 0;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 3;
	
begindefineability 87; // touch damage + fear
	ab_name = "Terror Touch";

	ab_impact_sfx_effect = -1;//158;
	ab_number_of_effect = 12;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 5;
	ab_effect_per_level = 5;
	ab_status_effect = 7;
	ab_status_effect_base = 3;
	ab_status_effect_per_level = 2;

begindefineability 88; // touch damage + charm
	ab_name = "Charming Touch";
	ab_effect_type = 0;

	ab_impact_sfx_effect = -1;//154;
	ab_number_of_effect = 12;

	ab_damage_type = 1;
	ab_effect_base = 6;
	ab_effect_per_level = 6;
	ab_status_effect = 5;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 3;

begindefineability 89; // touch weaken
	ab_name = "Weakening Touch";
	ab_status_effect = 8;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 0;

begindefineability 90; // touch lightning aura 
	ab_name = "Electric Touch";
	ab_status_effect = 22;
	ab_status_effect_base = 5;
	ab_status_effect_per_level = 0;

begindefineability 91; // death curse touch 
	ab_name = "Death Touch";
	ab_status_effect = 26;
		
		
// Begein radaited (non-targeted) abilities
begindefineability 100;
	// imported for radiated abils
	import = 9;
	ab_name = "War Blessing";
	ab_abil_type = 22;
	
	ab_impact_sfx_effect = -1;//156;
	ab_number_of_effect = 14;
	
	ab_stat_ability_linked_to = 62; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 25;
	ab_effect_base = 2;
	ab_effect_per_level = 1;	

	ab_range = 5;
	ab_energy_cost = 5;
	ab_ability_sound = 100;
	
begindefineability 110;
	ab_name = "Haste";
	ab_abil_type = 22;
	
	ab_stat_ability_linked_to = 44; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 1;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_range = 5;
	ab_energy_cost = 6;
	ab_ability_sound = 101;
begindefineability 112; // cloak of curses on self,
	ab_name = "Cloak of Curses";
	ab_abil_type = 21;
	
	ab_stat_ability_linked_to = 42; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 29;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_energy_cost = 12;
	ab_ability_sound = 114;
	
begindefineability 120; // items only now
	ab_name = "Unlock Doors";
	ab_abil_type = 24;

	ab_graphic_type = 2;
	ab_impact_sfx_effect = 162;
	
	ab_stat_ability_linked_to = -1; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 27;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	
	ab_status_effect = -1;

	ab_range = 2;
	ab_energy_cost = 12;
	ab_ability_sound = 120;

begindefineability 121;
	ab_name = "Dispel Barrier";
	ab_abil_type = 24;
	
	ab_graphic_type = 2;
	ab_impact_sfx_effect = 163;
	
	ab_stat_ability_linked_to = 53; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 33;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	

	ab_range = 5;
	ab_energy_cost = 15;
	ab_ability_sound = 195;

begindefineability 130;
	ab_name = "Mass Healing";
	ab_abil_type = 22;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;//190;
	ab_number_of_effect = 16;

	ab_stat_ability_linked_to = 70; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 21;
	ab_effect_base = 4;
	ab_effect_per_level = 3;	

	ab_ability_sound = 160;
	ab_range = 5;
	ab_energy_cost = 15;

begindefineability 131;
	ab_name = "Mass Curing";
	
	ab_impact_sfx_effect = -1;//14;

	ab_stat_ability_linked_to = 71; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 22;

	ab_energy_cost = 12;
	ab_ability_sound = 181;
begindefineability 132;
	ab_name = "Divine Restoration";

	ab_stat_ability_linked_to = 78; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 23;
	ab_effect_base = 8;
	ab_effect_per_level = 8;	

	ab_ability_sound = 120;
	ab_energy_cost = 25;


begindefineability 140;
	ab_name = "Arcane Shield";
	ab_abil_type = 22;
	ab_graphic_type = 1;

	//ab_impact_sfx_effect = 6;

	ab_stat_ability_linked_to = 58; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 26;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	

	ab_ability_sound = 176;
	ab_range = 5;
	ab_energy_cost = 40;

// other PC abilities
begindefineability 160; // acid distance attack
	import = 3;
	ab_name = "Spray Acid";
	ab_abil_type = 1;
	ab_graphic_type = 3;

	ab_impact_sfx_effect = 171;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 42; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 0;
	ab_damage_type = 5;
	ab_effect_base = 5;
	ab_effect_per_level = 3;
	ab_status_effect = 6;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 177; 
	ab_energy_cost = 7;
	ab_impact_sound = -1;

begindefineability 161; // slow distance attack
	import = 3;
	ab_name = "Slow";
	ab_abil_type = 23;

	ab_stat_ability_linked_to = 45; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 1;
	ab_status_effect_base = 1;
	ab_status_effect_per_level = 1;

	ab_energy_cost = 15;
	ab_ability_sound = 174; 
	
begindefineability 162; // acid ae 
	import = 9;
	ab_name = "Acid Shower";
	ab_abil_type = 23;
	ab_graphic_type = 3;
	
	ab_impact_sfx_effect = 171;
	ab_number_of_effect = 1;

	ab_stat_ability_linked_to = 45; 
	ab_stat_for_ability_bonus = 9;

	ab_effect_type = 0;
	ab_damage_type = 5;
	ab_effect_base = 5;
	ab_effect_per_level = 4;
	ab_status_effect = 6;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 2;

	ab_range = 10;
	ab_ability_sound = 177;
	ab_energy_cost = 0;
	ab_missile_short_range = 1;
	
begindefineability 163; // acid ae
	ab_status_effect = -1;

begindefineability 164; // fire ae 
	ab_name = "Aura of Flames";
	ab_graphic_type = 4;
	
	ab_impact_sfx_effect = 170;

	ab_stat_ability_linked_to = 77; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 0;
	ab_damage_type = 2;
	ab_effect_base = 10;
	ab_effect_per_level = 4;
	ab_status_effect = -1;

	ab_range = 8;
	ab_energy_cost = 40;
	ab_missile_short_range = 1;
	ab_ability_sound = 178;
	
begindefineability 165; // stun ae
	ab_name = "Stunning Aura";
	ab_graphic_type = 1;

	ab_impact_sfx_effect = 17;
	ab_number_of_effect = 8;

	ab_effect_type = -1;
	ab_status_effect = 3;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 3;

	ab_ability_sound = 123;
	
begindefineability 166; // death ray
	import = 3; 
	ab_name = "Kill";

	ab_missile_type_fired = 4;
	ab_impact_sfx_effect = -1;
	ab_random_effect_shift = 0;

	ab_stat_ability_linked_to = 46; 
	ab_stat_for_ability_bonus = 9;

	ab_effect_type = 0;
	ab_damage_type = 1;
	ab_effect_base = 20;
	ab_effect_per_level = 10;
	ab_status_effect = -1;

	ab_energy_cost = 20;
	ab_accuracy_adjust = 100;
	ab_ability_sound = 179;

begindefineability 167; // divine retribution, make not fire
	import = 164;
	ab_name = "Divine Retribution";
	ab_damage_type = 1;
	ab_range = 6;
	
begindefineability 168; // daze effect
	import = 9;
	ab_name = "Daze";
	ab_abil_type = 23;

	ab_stat_ability_linked_to = 43; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 17;
	ab_status_effect_base = 6;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 180;
	ab_energy_cost = 6;
begindefineability 170; // stronger daze
	import = 9;
	ab_name = "Strong Daze";
	ab_abil_type = 23;
	
	ab_stat_ability_linked_to = 55; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 17;
	ab_status_effect_base = 4;
	ab_status_effect_per_level = 2;

	ab_energy_cost = 18;
	ab_ability_sound = 180;
	
begindefineability 172; // ae madness
	ab_name = "Mass Madness";
	
	ab_impact_sfx_effect = 174;
	ab_number_of_effect = 1;
	ab_graphic_type = 4;

	ab_stat_ability_linked_to = 57; 
	ab_stat_for_ability_bonus = 10;

	ab_effect_type = 30;
	ab_effect_base = 2;
	ab_effect_per_level = 2;
	
	ab_ability_sound = 179;
	ab_energy_cost = 200;


// all these abils need sounds
begindefineability 174; 
	import = 9;
	ab_name = "Skribbane";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;

	ab_effect_type = -1;
	ab_status_effect = 9;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 2;

	ab_ability_sound = 258;
	ab_energy_cost = 10;

	
begindefineability 178; // Enduring shield, 1 pc
	ab_name = "Enduring Shield";
	ab_abil_type = 11;

	//ab_impact_sfx_effect = 5;
	//ab_number_of_effect = 10;
	
	ab_stat_ability_linked_to = 67; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = -1;
	ab_status_effect = 11;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 164;
	ab_energy_cost = 15;
	
begindefineability 179; // essence shield, on self
	ab_abil_type = 21;

begindefineability 180; // Enduring armor, 1 pc
	ab_abil_type = 11;
	ab_name = "Enduring Armor";

	//ab_impact_sfx_effect = 5;
	//ab_number_of_effect = 10;
	
	ab_stat_ability_linked_to = 75; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = -1;
	ab_status_effect = 12;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_energy_cost = 25;
begindefineability 181; // essence armor, on self
	ab_abil_type = 21;

begindefineability 182; // cloak of bolts, self
	ab_abil_type = 21;
	ab_name = "Cloak of Bolts";

	//ab_impact_sfx_effect = 3;
	//ab_number_of_effect = 10;
	
	ab_stat_ability_linked_to = 48; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 10;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_ability_sound = 109;
	ab_energy_cost = 25;

begindefineability 183; // ration, all nearby
	ab_name = "Regeneration";
	ab_abil_type = 22;

	ab_effect_type = -1;
	ab_status_effect = 21;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	
begindefineability 184; // cloak of blades, self
	ab_name = "Cloak of Blades";
	ab_abil_type = 21;

	
	ab_stat_ability_linked_to = 42; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = -1;
	ab_status_effect = 15;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 121;
	ab_energy_cost = 50;
begindefineability 185; // Cloak of the Arcane, on self
	ab_name = "Cloak of the Arcane";
	
	ab_stat_ability_linked_to = 58; 
	ab_stat_for_ability_bonus = 11;
	
	ab_status_effect = 16;
	
	ab_ability_sound = 121;
	ab_energy_cost = 75;	
begindefineability 186; // Ward of Elements, on self
	ab_name = "Ward of Elements";

	ab_stat_ability_linked_to = 75; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = -1;
	ab_status_effect = 13;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;
	
	ab_energy_cost = 75;
	ab_ability_sound = 233;
begindefineability 187; 
	ab_name = "Return Life";
	ab_abil_type = 21;

	ab_stat_ability_linked_to = 76; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 36;
	ab_status_effect = -1;

	ab_ability_sound = 121;
	ab_energy_cost = 50;

	
begindefineability 188; // Ward of Thoughts, self
	ab_name = "Ward of Thoughts";
	ab_abil_type = 21;
	
	ab_stat_ability_linked_to = 67; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = -1;
	ab_status_effect = 9;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 121;
	ab_energy_cost = 25;

	
begindefineability 189; // Ward of Steel, self
	ab_name = "Ward of Steel";
	ab_abil_type = 21;
	
	ab_stat_ability_linked_to = 72; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = -1;
	ab_status_effect = 14;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;
	
	ab_ability_sound = 121;
	ab_energy_cost = 40;	
	
// begin AE kabooms
begindefineability 190;
	import = 3; 
	ab_name = "Icy Rain";
	ab_abil_type = 4;
	ab_graphic_type = 4;

	ab_impact_sfx_effect = 172;
	ab_number_of_effect = 1;
	
	ab_stat_ability_linked_to = 46; 
	ab_stat_for_ability_bonus = 11;
	
	ab_damage_type = 6;
	ab_effect_type = 0;
	ab_effect_base = 10;
	ab_effect_per_level = 3;	

	ab_impact_sound = 9;
	ab_energy_cost = 8;
	ab_ability_sound = 144;
begindefineability 191;
	ab_name = "Fireblast";
	
	ab_impact_sfx_effect = 170;

	ab_stat_ability_linked_to = 56; 
	ab_stat_for_ability_bonus = 11;

	ab_damage_type = 2;
	ab_effect_type = 0;
	ab_effect_base = 14;
	ab_effect_per_level = 5;	

	ab_ability_sound = 178;
	ab_energy_cost = 15;
begindefineability 192;
	ab_name = "Arcane Blow";
	
	ab_impact_sfx_effect = 177;

	ab_stat_ability_linked_to = 59; 
	ab_stat_for_ability_bonus = 11;

	ab_damage_type = 1;
	ab_effect_type = 0;
	ab_effect_base = 30;
	ab_effect_per_level = 6;	

	ab_ability_sound = 131;
	ab_energy_cost = 25;
begindefineability 193;
	ab_name = "Divine Fire";

	ab_impact_sfx_effect = 181;
	
	ab_stat_ability_linked_to = 73; 
	ab_stat_for_ability_bonus = 12;

	ab_damage_type = 2;
	ab_effect_type = 0;
	ab_effect_base = 6;
	ab_effect_per_level = 5;	

	ab_energy_cost = 15;
	ab_ability_sound = 191;

// Begein targeted, beneficial abilities
begindefineability 200;
// imported for other targeted, beneficial
	import = 9;
	ab_name = "Heal";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	//ab_impact_sfx_effect = 101;
	//ab_number_of_effect = 12;

	ab_stat_ability_linked_to = 69; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 21;
	ab_effect_base = 30;
	ab_effect_per_level = 6;
		
	ab_range = 10;
	ab_energy_cost = 8;
	ab_ability_sound = 160;
begindefineability 201;
	ab_name = "Heal Self";
	ab_abil_type = 21;
begindefineability 202;
	ab_name = "Heal Group";
	ab_abil_type = 22;
	ab_range = 5;
	ab_stat_ability_linked_to = 70; 
	ab_stat_for_ability_bonus = 12;

begindefineability 204;
// imported for other targeted, beneficial
	import = 201;
	ab_name = "Restore Health"; // FOOD
	
	ab_impact_sfx_effect = -1;

	ab_effect_type = 39;
	ab_effect_base = 5;
	ab_effect_per_level = 1;	

	ab_energy_cost = 0;
	ab_ability_sound = 138;
begindefineability 205;
	ab_name = "Bandage Self";
	ab_ability_sound = 199;
	ab_effect_type = 21;

begindefineability 206; // minor 1 pc heal
	import = 200;
	ab_name = "Minor Heal";
	//ab_impact_sfx_effect = 100;
	//ab_number_of_effect = 8;
	
	ab_stat_ability_linked_to = 60; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 21;
	ab_effect_base = 15;
	ab_effect_per_level = 4;

	ab_energy_cost = 2;
begindefineability 207; 
	ab_name = "Major Heal";

	//ab_impact_sfx_effect = 102;
	//ab_number_of_effect = 16;

	ab_effect_type = 21;
	ab_effect_base = 45;
	ab_effect_per_level = 8;

	ab_energy_cost = 20;
begindefineability 210;
	ab_name = "Cure Acid/Poison";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	//ab_impact_sfx_effect = 103;
	//ab_number_of_effect = 12;

	ab_stat_ability_linked_to = 61; 
	ab_stat_for_ability_bonus = 12;
	
	ab_effect_type = 22;
	ab_effect_base = 4;
	ab_effect_per_level = 2;	

	ab_range = 10;
	ab_energy_cost = 3;
	ab_ability_sound = 181;

begindefineability 211; // switch to far better cure here
	ab_name = "Cure Affliction";
	ab_abil_type = 21;

	ab_effect_type = 32;
begindefineability 212;
	ab_name = "Group Strong Cure";
	ab_abil_type = 22;
	ab_range = 5;
	ab_effect_type = 32;

begindefineability 213;
	ab_name = "Unshackle Mind";
	ab_abil_type = 24;
	ab_energy_cost = 10;
	
	//ab_impact_sfx_effect = 16;
	//ab_number_of_effect = 8;

	ab_effect_type = 35;
	ab_effect_base = 2;
	ab_effect_per_level = 1;	

	ab_stat_ability_linked_to = 68; 
	ab_stat_for_ability_bonus = 12;

	
// now for the _good_ haste
begindefineability 215;
	ab_name = "Haste Other";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;
	//ab_number_of_effect = 14;

	ab_stat_ability_linked_to = 44; 
	ab_stat_for_ability_bonus = 11;
	
	ab_effect_type = 24;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	

	ab_range = 10;
	ab_energy_cost = 6;
	ab_ability_sound = 101;
begindefineability 216;
	ab_name = "Haste Self";
	ab_abil_type = 21;
begindefineability 217;
	ab_name = "Haste Group";
	ab_abil_type = 22;
	ab_range = 5;

begindefineability 219; // skribbane
	ab_name = "Skribbane";
	ab_abil_type = 22;
	ab_graphic_type = 1;

	ab_impact_sfx_effect = -1;
	//ab_number_of_effect = 14;

	ab_stat_ability_linked_to = -1; 
	ab_stat_for_ability_bonus = -1;
	
	ab_effect_type = 40;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	

	ab_range = 10;
	ab_energy_cost = 0;
	ab_ability_sound = 258;
begindefineability 220;
	ab_name = "Restore Energy";
	ab_abil_type = 21;
	ab_graphic_type = 1;
	
	//ab_impact_sfx_effect = 105;
	//ab_number_of_effect = 10;

	ab_effect_type = 28;
	ab_effect_base = 0;
	ab_effect_per_level = 3;	

	ab_range = 10;
	ab_energy_cost = 0;
	ab_ability_sound = 181;
	
begindefineability 222; 
	ab_name = "Invulnerability";
	ab_abil_type = 21;
	ab_graphic_type = 1;

	//ab_impact_sfx_effect = 104;
	//ab_number_of_effect = 14;

	ab_effect_type = -1;
	ab_status_effect = 18;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_range = 10;
	ab_energy_cost = 20;
	ab_ability_sound = 190;
begindefineability 223;
	ab_name = "New Knowledge";
	ab_effect_type = 37;
	ab_effect_base = 1;
	ab_effect_per_level = 1;	
	ab_status_effect = -1;
	
begindefineability 225; // 1 pc shield
	ab_name = "Protection";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	//ab_impact_sfx_effect = 106;
	//ab_number_of_effect = 14;

	ab_stat_ability_linked_to = 63; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 29;
	ab_effect_base = 2;
	ab_effect_per_level = 2;
	ab_status_effect = -1;
		
	ab_range = 10;
	ab_ability_sound = 164;
	ab_energy_cost = 4;
begindefineability 226;
	ab_name = "Shield Self";
	ab_abil_type = 21;
begindefineability 227;
	ab_name = "Shield Group";
	ab_abil_type = 22;
	ab_range = 6;

begindefineability 228; //
	ab_name = "Spineshield";
	ab_abil_type = 22;

	ab_effect_type = -1;
	ab_status_effect = 20;
	ab_status_effect_base = 2;
	ab_status_effect_per_level = 1;

	ab_range = 8;
	ab_energy_cost = 20;
	ab_ability_sound = 190;
begindefineability 229; // regen + spineshield
	ab_name = "Battle Blessing";
	ab_effect_type = 38;
	ab_effect_base = 2;
	ab_effect_per_level = 2;
	ab_status_effect = -1;

begindefineability 230;
	ab_name = "Bless";
	ab_abil_type = 11;
	ab_graphic_type = 1;

	//ab_impact_sfx_effect = 108;
	//ab_number_of_effect = 10;

	ab_stat_ability_linked_to = 62; 
	ab_stat_for_ability_bonus = 12;

	ab_effect_type = 25;
	ab_effect_base = 2;
	ab_effect_per_level = 2;

	ab_range = 10;
	ab_ability_sound = 100;
	ab_energy_cost = 5;
	
begindefineability 231;
	ab_name = "Bless Self";
	ab_abil_type = 21;
begindefineability 232;
	ab_name = "Bless Group";
	ab_abil_type = 22;
	ab_range = 6;
	
begindefineability 238; // light
	import = 9;
	ab_name = "Light";
	ab_abil_type = 21;
	ab_graphic_type = -1;

	ab_effect_type = -1;
	ab_status_effect = 23;
	ab_status_effect_base = 20;
	ab_status_effect_per_level = 4;
		
	ab_range = 8;
	ab_ability_sound = 191;
	
// summon abils
begindefineability 240; 
	import = 9;
	ab_name = "Call Beast";
	ab_abil_type = 20;

	ab_stat_ability_linked_to = 41; 
	ab_stat_for_ability_bonus = 11;

	ab_effect_type = 34;
	ab_summon_what_char = 0;
	ab_effect_base = 0;
	ab_effect_per_level = 1;

	ab_energy_cost = 5;
	ab_ability_sound = 166; 
begindefineability 241; 
	ab_name = "Minor Summon";

	ab_stat_ability_linked_to = 49; 

	ab_summon_what_char = 2;
	ab_energy_cost = 12;
begindefineability 242; 
	ab_name = "Summon Aid";

	ab_stat_ability_linked_to = 54; 

	ab_summon_what_char = 3;
	ab_energy_cost = 15;
begindefineability 243; 
	ab_name = "Arcane Summon";

	ab_stat_ability_linked_to = 57; 

	ab_summon_what_char = 7;
	ab_energy_cost = 25;
	ab_ability_sound = 161;

begindefineability 244; 
	ab_name = "Summon Shade";
	ab_stat_ability_linked_to = 66; 
	ab_stat_for_ability_bonus = 12;

	ab_summon_what_char = 4;
	ab_energy_cost = 10;
	ab_ability_sound = 190;
begindefineability 245; 
	ab_name = "Divine Host";

	ab_stat_ability_linked_to = 79; 

	ab_summon_what_char = 5;
	ab_energy_cost = 30;
	
// OBJECT TYPES
begindefineobject 0;
	// imported to get null item
	
begindefineobject 1;
// imported for 128x64 boxes
	ob_object_type = 11;
	ob_name = "Box";
	ob_graphic_template = 63;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 1;	
	ob_which_icon_destroyed = 1;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 128;	
	ob_height = 64;	
	ob_blockage_type = 2;	
	//ob_can_target = 1;
	ob_default_script = "box";
	ob_in_space_offset_x = -2;
	ob_in_space_offset_y = 7;

begindefineobject 2;
// imported for 64x128 boxes
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 3;	
	ob_width = 64;	
	ob_height = 128;
	ob_in_space_offset_x = 2;
	ob_in_space_offset_y = 7;

begindefineobject 3;
	import = 0;
	ob_object_type = 2;
	ob_name = "Glowing Crystal S";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 9;
	ob_blockage_type = 2;	
	ob_object_trait = 2;

begindefineobject 4;
	ob_graphic_template = 30;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 1;
	
begindefineobject 5;
// imported for potentially usable, non-destroyable 64x64 items
	import = 0;
	ob_object_type = 11;
	ob_name = "Odd Box";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 3;
	ob_blockage_type = 2;	
	ob_default_script = "box";

begindefineobject 7;
// imported for potentially usable, non-destroyable 256x256 items
	import = 0;
	ob_object_type = 11;
	ob_name = "Sacks C ND";
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 5;
	ob_width = 256;	
	ob_height = 256;	
	ob_blockage_type = 2;	

begindefineobject 8;
	// imported for 64x64 usable items.
	ob_object_type = 11;
	ob_name = "Clay Jar D C";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 10;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 64;	
	ob_height = 64;	
	ob_blockage_type = 2;	
	//ob_can_target = 1;
	ob_effect_when_slain = 1;

begindefineobject 9;
// imported for never usable, non-destroyable 64x64 items
	import = 0;
	ob_object_type = 2;
	ob_name = "Pot of coals ND";
	ob_graphic_template = 63;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 4;
	ob_blockage_type = 2;	
	ob_block_move_when_destroyed = 0;
	
begindefineobject 10;
// imported for talking, non-destroyable 256x256 items
	import = 7;
	ob_name = "Obelisk D";
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 2;	
	ob_default_script = "talkobj";

begindefineobject 11;
	import = 5;
	ob_name = "Sign";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 5;
	ob_default_script = "talkobj";

begindefineobject 12;
	// imported for other chairs
	import = 9;
	ob_name = "Stone Chair D";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 12;	
	ob_block_move_when_destroyed = 1;
begindefineobject 13;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 13;	
begindefineobject 14;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 14;	
begindefineobject 15;
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 15;	
begindefineobject 16;
	import = 9;
	ob_name = "Wood Chair D";
	ob_graphic_template = 33;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;	
	ob_block_move_when_destroyed = 1;
begindefineobject 17;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 5;	
begindefineobject 18;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 6;	
begindefineobject 19;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;	

begindefineobject 20;
// imported for never usable, non-destroyable 256x256 items
	import = 7;
	ob_object_type = 1;
	ob_name = "Art";
	ob_graphic_template = 28;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 3;
	
begindefineobject 21;
	import = 1;
	ob_name = "Case";
	ob_graphic_template = 63;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 2;
	ob_default_script = "box";
	ob_in_space_offset_y = 5;
begindefineobject 22;
	import = 2;
	ob_name = "Case";
	ob_graphic_template = 63;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
	ob_default_script = "box";
	ob_in_space_offset_y = 5;
begindefineobject 23;
	ob_name = "Blue Box";
	ob_graphic_template = 33;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 14;
	
begindefineobject 24;
	import = 5;
	ob_name = "Sign";
	ob_graphic_template = 63;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 3;
	ob_default_script = "talkobj";

//begindefineobject 25;
//	import = 7;
//	ob_name = "Altar";
//	ob_graphic_template = 49;
//	ob_graphic_sheet = 4;	
//	ob_base_icon_num = 8;
	
begindefineobject 26;
	import = 5;
	ob_name = "Basin of Water DS";
	ob_graphic_template = 63;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 2;	
	ob_effect_when_slain = 8;
	ob_default_script = "basin";
	ob_block_move_when_destroyed = 1;

begindefineobject 27;
	import = 9;
	ob_name = "Brazier D";
	ob_graphic_template = 63;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 1;
	ob_num_anim_steps = 6;	
	ob_light_level = 6;
	ob_which_icon_destroyed = 0;	
	ob_block_move_when_destroyed = 1;
	ob_object_trait = 1;

	ob_glow_type = 2;
	ob_glow_trans = 30;
begindefineobject 28;
	ob_name = "Magic Brazier D";
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 0;	

begindefineobject 29;
	import = 7;
	ob_name = "Vat D";
	ob_graphic_template = 28;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 8;	
	ob_block_move_when_destroyed = 1;
begindefineobject 30;
	import = 20;
	ob_name = "Lava Vat ND";
	ob_graphic_template = 28;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 5;
	ob_num_anim_steps = 2;	
	ob_object_trait = 1;
begindefineobject 31;
	import = 7;
	ob_name = "Oven D";
	ob_graphic_template = 28;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 1;
	ob_block_move_when_destroyed = 1;

begindefineobject 32;
	import = 7;
	ob_name = "Buried Object S";
	ob_graphic_template = 46;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 3;
	ob_block_move_when_destroyed = 1;
	ob_default_script = "dirt";
	ob_in_space_offset_y = -6;

begindefineobject 33;
	import = 7;
	ob_name = "Job Board S";
	ob_graphic_template = 28;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = -1;	
	ob_default_script = "jobboard";
begindefineobject 34;
	import = 7;
	ob_name = "Sarcophagus D";
	ob_graphic_template = 28;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 3;	
	ob_height = 256;
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -8;
begindefineobject 35;
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 5;	
	ob_width = 256;
	ob_height = 128;
	
begindefineobject 36;
// imported for othe r book
	import = 5;
	ob_name = "Book Stand S";	
	ob_graphic_template = 63;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 9;		
	ob_default_script = "talkobj";
	ob_block_move_when_destroyed = 1;

begindefineobject 37;
	import = 7;
	ob_name = "Coffin ND";
	ob_graphic_template = 46;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 5;
	ob_height = 256;
	ob_in_space_offset_y = 2;

begindefineobject 38;
	import = 5;
	ob_name = "Egg Sac S";
	ob_graphic_template = 33;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 14;
	ob_which_icon_destroyed = 15;		
	ob_default_script = "eggsac";
	ob_block_move_when_destroyed = 1;

begindefineobject 39;//### weong icon
	import = 36;
	ob_name = "Pedestal ND";
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 17;	


begindefineobject 40;
	// imported for other mines
	// this is basic mine, blows when anything gets close, normal color
	ob_object_type = 1;
	ob_name = "Mine S";
	ob_graphic_template = 30;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 3;	
	ob_which_icon_destroyed = 3;	
	ob_num_anim_steps_destroyed = 1;
	ob_width = 64;	
	ob_height = 64;	
	ob_blockage_type = 0;	
	//ob_can_target = 0;
	ob_effect_when_slain = 1;
	ob_default_script = "mine";

begindefineobject 41;
	import = 7;
	ob_name = "Stone Nest ND";	
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 4;

begindefineobject 42;
	import = 9;
	ob_name = "Potted Plant D";
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 14;
	ob_block_move_when_destroyed = 1;
begindefineobject 43;
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 15;

begindefineobject 44;
	import = 7;
	ob_name = "Peasant Body ND";	
	ob_graphic_template = 35;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 2;
begindefineobject 45;
	ob_name = "Mage Body ND";	
	ob_base_icon_num = 1;
begindefineobject 46;
	ob_name = "Soldier Body ND";	
	ob_base_icon_num = 3;

begindefineobject 47;
	import = 9;
	ob_name = "Stone Post ND";	
	ob_graphic_template = 63;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 7;

begindefineobject 48;
	ob_name = "Pot ND";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 7;

begindefineobject 49;
	import = 7;
	ob_name = "Trap S";	
	ob_graphic_template = 63;
	ob_graphic_sheet = 7;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 1;
	ob_block_move_when_destroyed = 0;
	ob_in_space_offset_y = -6;
	ob_default_script = "floortrap";
begindefineobject 50;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 3;
begindefineobject 51;
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 5;

begindefineobject 52;
	import = 9;
	ob_name = "Stone Marker ND";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 0;	
	
// nonusable pots
begindefineobject 53;
	import = 9;
	ob_name = "Pot ND NC";
	ob_graphic_template = 33;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 7;
begindefineobject 54;
	ob_base_icon_num = 8;
begindefineobject 55;
	ob_base_icon_num = 9;
begindefineobject 56;
	ob_graphic_template = 63;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
begindefineobject 57;
	ob_base_icon_num = 1;
begindefineobject 58;
	ob_name = "Basket D NC";
	ob_graphic_template = 33;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 13;
	ob_which_icon_destroyed = 12;
begindefineobject 59;
	ob_name = "Basket ND NC";
	ob_base_icon_num = 14;

begindefineobject 39;//### remove this later, fixes dumb mistake
	import = 56;
	
begindefineobject 60;
	import = 7;
	ob_name = "Straw Nest ND";	
	ob_graphic_template = 27;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 3;
	
begindefineobject 61;
	import = 8;
	ob_name = "Lever S";
	ob_graphic_template = 33;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 10;
	//ob_can_target = 1;
	ob_default_script = "doorlever";
	ob_width = 256;	
	ob_height = 256;	
begindefineobject 62;
	ob_name = "Locked Lever S";
	ob_base_icon_num = 12;

begindefineobject 63;
	import = 7;
	ob_name = "Humanoid Body ND";	
	ob_graphic_template = 35;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 0;
begindefineobject 64;
	import = 7;
	ob_name = "Gong S";	
	ob_graphic_template = 28;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 2;

begindefineobject 65;
	import = 9;
	ob_name = "Dock Post ND";	
	ob_graphic_template = 63;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 7;

begindefineobject 66; // beds
	// beds imported fo rbeds later
	import = 9;
	ob_name = "Bed D";
	ob_graphic_template = 49;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 6;
	ob_width = 128;	
	ob_height = 192;	
	ob_in_space_offset_x = 12;
	ob_in_space_offset_y = -8;
	ob_block_move_when_destroyed = 1;
begindefineobject 67;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 6;
	ob_width = 192;	
	ob_height = 128;	
	ob_in_space_offset_x = -12;
	ob_in_space_offset_y = -8;

begindefineobject 70;
// Import for all 256x64 north wall items, with destroyed poses
	import = 9;
	ob_name = "Pots D";
	ob_graphic_template = 28;
	ob_graphic_sheet = 4;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;
	ob_width = 256;	
	ob_height = 64;	
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -3;
	
begindefineobject 71;
// Import for all 64x256 west wall items, with destroyed poses
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 5;
	ob_width = 64;	
	ob_height = 256;	
	ob_in_space_offset_y = -3;
	
begindefineobject 72;
	import = 70;
	ob_name = "Pots 2 D";
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 6;
begindefineobject 73;
	import = 71;
	ob_name = "Pots 2 D";
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;
	
begindefineobject 74;
	import = 70;
	ob_name = "Wood Shelves D";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 4;
	ob_in_space_offset_x = -2;
	ob_in_space_offset_y = 3;
begindefineobject 75;
	import = 71;
	ob_name = "Wood Shelves D";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 5;
	ob_in_space_offset_x = 2;
	ob_in_space_offset_y = 3;

begindefineobject 76;
	import = 70;
	ob_name = "Stone Shelves D";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 6;
	ob_in_space_offset_x = -2;
	ob_in_space_offset_y = 3;
begindefineobject 77;
	import = 71;
	ob_name = "Stone Shelves D";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 7;
	ob_in_space_offset_x = 2;
	ob_in_space_offset_y = 3;

begindefineobject 78;
	import = 70;
	ob_name = "Sacks of Meal D";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
begindefineobject 79;
	import = 71;
	ob_name = "Sacks of Meal D";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;

begindefineobject 80;
	import = 70;
	ob_name = "Curtain D";
	ob_graphic_sheet = 8;
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 8;
	ob_in_space_offset_y = -15;
begindefineobject 81;
	import = 71;
	ob_name = "Curtain D";
	ob_graphic_sheet = 8;
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 9;
	ob_in_space_offset_y = -15;

begindefineobject 82;
	import = 70;
	ob_name = "Cloaks on Wall D";
	ob_graphic_sheet = 7;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_in_space_offset_x = 9;
	ob_in_space_offset_y = -17;
begindefineobject 83;
	import = 71;
	ob_name = "Cloaks on Wall D";
	ob_graphic_sheet = 7;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_in_space_offset_x = -1;//-9;
	ob_in_space_offset_y = -17;//-17;

begindefineobject 84;
	import = 70;
	ob_name = "Fence D";
	ob_graphic_template = 35;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_block_move_when_destroyed = 1;
	ob_width = 256;	
	ob_height = 64;	
	ob_in_space_offset_x = 0;
	ob_in_space_offset_y = 0;
begindefineobject 85;
	import = 71;
	ob_name = "Fence D";
	ob_graphic_template = 35;
	ob_graphic_sheet = 3;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_block_move_when_destroyed = 1;
	ob_width = 64;	
	ob_height = 256;	
	ob_in_space_offset_x = 0;
	ob_in_space_offset_y = -2;

begindefineobject 86;
	import = 70;
	ob_name = "Scroll Rack ND";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 8;
begindefineobject 87;
	import = 71;
	ob_name = "Scroll Rack ND";
	ob_graphic_sheet = 5;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 9;

begindefineobject 88;
	import = 70;
	ob_name = "Meat on Hooks ND";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 4;
	ob_in_space_offset_y = -16;
begindefineobject 89;
	import = 71;
	ob_name = "Meat on Hooks ND";
	ob_graphic_sheet = 6;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 5;
	ob_in_space_offset_y = -16;

// some other wall hangings, but with smaller graphics
begindefineobject 90;
	import = 70;
	ob_name = "Painting ND";
	ob_width = 64;	
	ob_height = 64;	
	ob_graphic_template = 33;
	ob_graphic_sheet = 2;
	ob_base_icon_num = 4;
	ob_in_space_offset_y = -22;
begindefineobject 91;
	ob_name = "Painting ND";
	ob_base_icon_num = 5;
begindefineobject 92;
	ob_name = "Trophy ND";
	ob_base_icon_num = 6;
begindefineobject 93;
	ob_base_icon_num = 7;
begindefineobject 94;
	ob_name = "Crossed Swords ND";
	ob_base_icon_num = 8;
begindefineobject 95;
	ob_base_icon_num = 9;

begindefineobject 96;
	import = 7;
	ob_name = "Sealed Vat S";
	ob_graphic_template = 28;
	ob_graphic_sheet = 0;	
	ob_which_icon_destroyed = 1;	
	ob_base_icon_num = 0;
	ob_block_move_when_destroyed = 1;

begindefineobject 97; // pylon
	import = 7;
	ob_name = "Pylon S";
	ob_graphic_template = 49;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 4;	
	ob_default_script = "teleport";	
	ob_in_space_offset_y = -8;
	ob_object_trait = 10;

//begindefineobject 98;
//	import = 70;
//	ob_name = "Low Shelves";
//	ob_graphic_template = 46;
//	ob_graphic_sheet = 5;
//	ob_base_icon_num = 6;
//begindefineobject 99;
//	import = 71;
//	ob_name = "Low Shelves";
//	ob_graphic_template = 46;
//	ob_graphic_sheet = 5;
//	ob_base_icon_num = 7;

begindefineobject 100;
	import = 70;
	ob_name = "Webs ND";
	ob_graphic_template = 46;
	ob_graphic_sheet = 5;
	ob_base_icon_num = 8;
begindefineobject 101;
	import = 71;
	ob_name = "Webs ND";
	ob_graphic_template = 46;
	ob_graphic_sheet = 5;
	ob_base_icon_num = 9;	

// next 2 are imported for thick shelves
begindefineobject 102;
	import = 70;
	ob_name = "Shelves Tools D";
	ob_graphic_template = 49;
	ob_graphic_sheet = 0;
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 6;
	ob_in_space_offset_y = 2;
begindefineobject 103;
	import = 71;
	ob_name = "Shelves Tools D";
	ob_graphic_template = 49;
	ob_graphic_sheet = 0;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 7;
	ob_in_space_offset_y = 2;
begindefineobject 104;
	import = 102;
	ob_name = "Shelves Jars D";
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 6;
begindefineobject 105;
	import = 103;
	ob_name = "Shelves Jars D";
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 7;
begindefineobject 106;
	import = 102;
	ob_name = "Shelves D";
	ob_graphic_sheet = 1;
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 8;
begindefineobject 107;
	import = 103;
	ob_name = "Shelves D";
	ob_graphic_sheet = 1;
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 9;

begindefineobject 108;
	import = 102;
	ob_name = "Shelves Cloth DAlt";
	ob_graphic_sheet = 2;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 7;
begindefineobject 109;
	import = 103;
	ob_name = "Shelves Cloth DAlt";
	ob_graphic_sheet = 2;
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 8;

begindefineobject 110;
	import = 7;
	ob_name = "Machinery S";
	ob_graphic_template = 28;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 0;
	
	
begindefineobject 111;
	import = 9;
	ob_object_type = 2;
	ob_name = "Warning Crystal S";
	ob_graphic_template = 30;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 3;	
	ob_blockage_type = 2;	
	ob_default_script = "warncryst";

begindefineobject 112; // Crystal Jar
	import = 20;
	ob_object_type = 1;
	ob_name = "Crystal Jar NC S";
	ob_graphic_template = 28;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 4;
begindefineobject 113; // Crystal Jar usable
	ob_object_type = 12;
	ob_name = "Usable Jar C S";
	
//begindefineobject 114;
//	import = 7;
//	ob_name = "Altar";
//	ob_graphic_template = 46;
//	ob_graphic_sheet = 4;	
//	ob_base_icon_num = 0;
//	ob_in_space_offset_y = -3;
//begindefineobject 115;
//	ob_base_icon_num = 1;
//begindefineobject 116;
//	ob_name = "Evil Altar";
//	ob_base_icon_num = 2;
//begindefineobject 117;
//	ob_base_icon_num = 3;

begindefineobject 118;
	import = 20;
	ob_name = "Candles";
	ob_graphic_template = 49;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 3;
	ob_in_space_offset_y = -8;
begindefineobject 119;
	ob_name = "Glow Stand S";
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 1;
	ob_object_type = 11;
	
begindefineobject 120;
	import = 0;
	ob_name = "Door 1 N";
	ob_object_type = 11;
	ob_graphic_template = 20;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 1;
	ob_width = 256;	
	ob_height = 256;	
	ob_blockage_type = 3;	
	ob_in_space_offset_x = 0;
	ob_in_space_offset_y = 2;
	ob_default_script = "door";
	ob_part_of_terrain = 1;
begindefineobject 121;
	ob_name = "Door 1 W";
	ob_base_icon_num = 0;
	ob_in_space_offset_x = 2;
	ob_in_space_offset_y = 0;

begindefineobject 124;
	import = 120;
	ob_name = "Door 2 N";
begindefineobject 125;
	import = 121;
	ob_name = "Door 2 W";

begindefineobject 126;
	import = 0;
	ob_name = "Closed Gate";
	ob_object_type = 1;
	ob_graphic_template = 48;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 0;
	ob_width = 256;	
	ob_height = 256;	
	ob_blockage_type = 2;	
	ob_default_script = "gate";
	ob_part_of_terrain = 1;
	ob_in_space_offset_y = -2;
begindefineobject 127;
	ob_base_icon_num = 1;
begindefineobject 128;
	ob_base_icon_num = 2;
	ob_blockage_type = 0;	
	ob_default_script = "gate";
begindefineobject 129;
	ob_base_icon_num = 3;
	
begindefineobject 130; // beds
	import = 66;
	ob_graphic_template = 49;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_in_space_offset_x = 6;
	ob_in_space_offset_y = -2;
	ob_block_move_when_destroyed = 1;
	//ob_in_space_offset_x = -6;
	//ob_in_space_offset_y = 6;
begindefineobject 131;
	import = 67;
	ob_graphic_template = 49;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_in_space_offset_x = -6;
	ob_in_space_offset_y = -2;
	//ob_in_space_offset_x = 6;
	//ob_in_space_offset_y = 6;
	ob_block_move_when_destroyed = 1;

//begindefineobject 132;
//	import = 80;
//	ob_graphic_sheet = 8;
//	ob_base_icon_num = 6;
//	ob_which_icon_destroyed = 8;
//	ob_in_space_offset_y = -16;
//begindefineobject 133;
//	import = 81;
//	ob_graphic_sheet = 8;
//	ob_base_icon_num = 7;
//	ob_which_icon_destroyed = 9;
//	ob_in_space_offset_y = -16;
begindefineobject 134;
	import = 82;
	ob_name = "Wall Shelves D";
	ob_graphic_sheet = 3;
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 8;
	ob_in_space_offset_x = -5;
	ob_in_space_offset_y = -10;
begindefineobject 135;
	import = 83;
	ob_name = "Wall Shelves D";
	ob_graphic_sheet = 3;
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 9;
	ob_in_space_offset_x = 5;
	ob_in_space_offset_y = -10;


begindefineobject 138;
	import = 20;
	ob_name = "Bale of Hay";
	ob_graphic_template = 49;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 8;
begindefineobject 139;
	ob_base_icon_num = 9;
begindefineobject 140;
	ob_name = "Barrel C D";
	ob_object_type = 11;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 1;
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -10;
begindefineobject 141;
	ob_name = "Desk C";
	ob_graphic_template = 28;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 2;
	ob_width = 256;	
	ob_height = 256;	
begindefineobject 142;
	ob_base_icon_num = 3;

begindefineobject 143; // a host of chairs
	import = 12;
	ob_name = "Chair ND";
	ob_graphic_template = 63;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 5;
begindefineobject 144;
	ob_base_icon_num = 6;
begindefineobject 145;
	ob_graphic_template = 33;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 0;
begindefineobject 146;
	ob_base_icon_num = 1;
begindefineobject 147;
	ob_base_icon_num = 2;
begindefineobject 148;
	ob_base_icon_num = 3;
begindefineobject 149;
	ob_base_icon_num = 4;
begindefineobject 150;
	ob_base_icon_num = 5;
begindefineobject 151;
	ob_base_icon_num = 6;
begindefineobject 152;
	ob_base_icon_num = 7;
begindefineobject 153;
	ob_name = "Chair D";
	ob_base_icon_num = 8;
	ob_which_icon_destroyed = 12;
begindefineobject 154;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 13;
begindefineobject 155;
	ob_base_icon_num = 10;
	ob_which_icon_destroyed = 14;
begindefineobject 156;
	ob_base_icon_num = 11;
	ob_which_icon_destroyed = 15;

begindefineobject 157; // boxes
	import = 1;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 6;
	ob_in_space_offset_y = 4;
begindefineobject 158;
	import = 2;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 8;
	ob_in_space_offset_y = 4;
begindefineobject 159;
	import = 157;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 0;
begindefineobject 160;
	import = 158;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 2;
begindefineobject 161;
	import = 159;
	ob_graphic_template = 63;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 4;
	ob_in_space_offset_y = 10;
begindefineobject 162;
	import = 160;
	ob_graphic_template = 63;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 6;
	ob_in_space_offset_y = 10;
begindefineobject 163;
	import = 159;
	ob_base_icon_num = 8;
	ob_in_space_offset_y = 10;
begindefineobject 164;
	import = 160;
	ob_base_icon_num = 10;
	ob_in_space_offset_y = 10;

begindefineobject 165;
	import = 7;
	ob_object_type = 2;
	ob_name = "Pot C ND";
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 9;
begindefineobject 166;
	ob_name = "Skulls C ND";
	ob_object_type = 11;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 6;
begindefineobject 167;
	import = 9;
	ob_name = "Anvil ND";
	ob_width = 256;	
	ob_height = 256;	
	ob_graphic_template = 49;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 4;
begindefineobject 168;
	import = 36;
	ob_graphic_template = 63;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 8;

begindefineobject 169;
	import = 7;
	ob_name = "Crystal Formation S";
	ob_graphic_template = 46;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 4;
	ob_graphic_appearadj = 2;
	ob_in_space_offset_y = -2;

begindefineobject 170;
	ob_name = "Crys No Use S";
	ob_object_type = 2;
	ob_graphic_appearadj = 2;
	ob_graphic_coloradj	= 2;

begindefineobject 171; // lockers
	import = 1;
	ob_graphic_template = 46;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_width = 256;	
	ob_height = 256;	
	ob_in_space_offset_y = -10;
begindefineobject 172;
	import = 2;
	ob_graphic_template = 46;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 2;
	ob_width = 256;	
	ob_height = 256;	
	ob_in_space_offset_y = -10;

begindefineobject 173;
	import = 9;
	ob_name = "Totem ND";
	ob_graphic_template = 33;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 4;
begindefineobject 174;
	ob_base_icon_num = 5;
begindefineobject 175;
	ob_base_icon_num = 6;

begindefineobject 176;
	import = 20;
	ob_name = "Barrel ND NC";
	ob_object_type = 2;
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 3;
	ob_in_space_offset_y = -10;

begindefineobject 177; // crates
	import = 1;
	ob_name = "Crate D";
	ob_graphic_template = 49;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 2;
	ob_which_icon_destroyed = 3;	
	ob_width = 256;	
	ob_height = 256;	
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -8;


begindefineobject 178;
	import = 20;
	ob_graphic_template = 28;
	ob_graphic_sheet = 9;	
	ob_base_icon_num = 1;
	ob_num_anim_steps = 5;	

begindefineobject 179;
	import = 7;
	ob_name = "Machinery S";
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
	ob_in_space_offset_y = -10;
begindefineobject 180;
	ob_base_icon_num = 1;

//begindefineobject 181;
//	import = 9;
//	ob_name = "Spore Plant";
//	ob_graphic_template = 33;
//	ob_graphic_sheet = 4;	
//	ob_base_icon_num = 9;

begindefineobject 182;
	import = 20;
	ob_name = "Machinery S";
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 2;
begindefineobject 183;
	ob_name = "Caldera S";
	ob_graphic_template = 27;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 7;
	ob_default_script = "caldera";
	ob_block_move_when_destroyed = 1;

begindefineobject 184;
	import = 9;
	ob_name = "Magic Portal S";
	ob_object_type = 11;
	ob_graphic_template = 29;
	ob_graphic_sheet = 3;	
	//ob_graphic_appearadj = 1;
	ob_base_icon_num = 0;
	ob_num_anim_steps = 10;	
	ob_width = 256;	
	ob_height = 256;	
	ob_default_script = "portal";

begindefineobject 185;
	import = 9;
	ob_name = "Metal Totem S";
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;	
	ob_base_icon_num = 2;

begindefineobject 186;
	import = 9;
	ob_name = "Magic Barrier S";
	ob_graphic_template = 29;
	ob_graphic_sheet = 2;	
	ob_graphic_appearadj = 1;
	ob_base_icon_num = 0;
	ob_num_anim_steps = 4;	
	ob_which_icon_destroyed = 8;
	ob_width = 256;	
	ob_height = 256;	
	ob_default_script = "barrier";
begindefineobject 187;
	import = 10;
	ob_name = "Control Panel S";
	ob_graphic_template = 46;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 4;
begindefineobject 188;
	import = 7;
	ob_name = "Vahnatai Case C ND";
	ob_graphic_template = 46;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 6;
begindefineobject 189;
	import = 10;
	ob_name = "Wheel S";
	ob_graphic_template = 46;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 9;
	ob_default_script = "wheel";

// lights
begindefineobject 190;
	import = 9;
	ob_object_type = 2;
	ob_name = "Lamp";
	ob_graphic_template = 33;
	ob_graphic_sheet = 8;	
	ob_base_icon_num = 2;
	//ob_light_level = 8;
	ob_in_space_offset_y = -24;
	ob_light_level = 6;

	ob_glow_type = 7;
	ob_glow_trans = 80;
	ob_glow_offset = 12;
begindefineobject 191;
	ob_base_icon_num = 3;
begindefineobject 192;
	ob_name = "Magic Lamppost";
	ob_graphic_template = 46;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 4;
	ob_in_space_offset_y = 0;

	ob_glow_trans = 50;
	ob_glow_offset = 24;
begindefineobject 193;
	ob_name = "Metal Lamppost";
	ob_base_icon_num = 5;
begindefineobject 194;
	ob_name = "Wooden Lamppost";
	ob_base_icon_num = 6;
begindefineobject 195;
	ob_name = "Torch";
	ob_graphic_template = 63;
	ob_graphic_sheet = 2;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 5;	
	ob_in_space_offset_y = -25;

	ob_glow_trans = 80;
	ob_glow_offset = 12;
begindefineobject 196;
	ob_base_icon_num = 5;
begindefineobject 197;
	ob_name = "Torch";
	ob_graphic_template = 63;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 5;
	ob_num_anim_steps = 5;	
	ob_in_space_offset_y = -25;
begindefineobject 198;
	ob_base_icon_num = 0;
	
begindefineobject 199;
	ob_name = "Symbol";
	ob_graphic_template = 49;
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 0;
	ob_num_anim_steps = 1;	
	ob_which_icon_destroyed = 2;
	ob_block_move_when_destroyed = 1;
	ob_in_space_offset_y = -2;
	ob_light_level = 0;
begindefineobject 200;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;

begindefineobject 201; // big wall ters
	// imported for other big wall ters
	import = 70;
	ob_name = "Shelves D";
	ob_graphic_template = 48;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_which_icon_destroyed = 2;
	ob_in_space_offset_x = -3;
	ob_in_space_offset_y = 11;
begindefineobject 202;
	import = 71;
	ob_name = "Shelves D";
	ob_graphic_template = 48;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 3;
	ob_in_space_offset_x = 3;
	ob_in_space_offset_y = 11;
begindefineobject 203;
	import = 201;
	ob_graphic_sheet = 1;	

begindefineobject 204;
	import = 202;
	ob_graphic_sheet = 1;	
begindefineobject 205;
	import = 201;
	ob_name = "Bookshelves D";
	ob_graphic_sheet = 2;	
begindefineobject 206;
	import = 202;
	ob_name = "Bookshelves D";
	ob_graphic_sheet = 2;	
begindefineobject 207;
	import = 201;
	ob_name = "Bench ND";
	ob_graphic_sheet = 3;	
	ob_in_space_offset_x = 2;
	ob_in_space_offset_y = 0;
begindefineobject 208;
	import = 202;
	ob_name = "Bench ND";
	ob_graphic_sheet = 3;	
	ob_in_space_offset_x = -2;
	ob_in_space_offset_y = 0;
begindefineobject 209;
	import = 201;
	ob_name = "Bench ND";
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 2;
	ob_in_space_offset_x = 2;
	ob_in_space_offset_y = 0;
begindefineobject 210;
	import = 202;
	ob_name = "Bench ND";
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 3;
	ob_in_space_offset_x = -2;
	ob_in_space_offset_y = 0;
begindefineobject 211;
	import = 201;
	ob_name = "Weapon Rack ND";
	ob_graphic_sheet = 4;	
begindefineobject 212;
	import = 202;
	ob_name = "Weapon Rack ND";
	ob_graphic_sheet = 4;	
begindefineobject 213;
	import = 201;
	ob_name = "Wall Hanging D";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 2;
	ob_in_space_offset_x = 5;
	ob_in_space_offset_y = 8;
begindefineobject 214;
	import = 202;
	ob_name = "Wall Hanging D";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 3;
	ob_in_space_offset_x = -10;
	ob_in_space_offset_y = 3;
begindefineobject 215;
	import = 201;
	ob_name = "Wall Hanging D";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 4;
	ob_in_space_offset_x = 5;
	ob_in_space_offset_y = 8;
begindefineobject 216;
	import = 202;
	ob_name = "Wall Hanging D";
	ob_graphic_sheet = 4;	
	ob_base_icon_num = 5;
	ob_in_space_offset_x = -10;
	ob_in_space_offset_y = 3;

begindefineobject 217; // s. door switches
	import = 8;
	ob_name = "Switch S";
	ob_graphic_template = 33;
	ob_graphic_sheet = 5;
	ob_base_icon_num = 4;
	ob_in_space_offset_y = -8;
	ob_block_move_when_destroyed = 1;
	ob_default_script = "secdoor";
begindefineobject 218;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 5;	

begindefineobject 219;
	import = 183;
	ob_graphic_coloradj = 4;

begindefineobject 220;
	import = 9;
	ob_name = "Bush D";	
	ob_graphic_template = 33;
	ob_graphic_sheet = 4;
	ob_base_icon_num = 1;
	ob_which_icon_destroyed = 2;
	ob_block_move_when_destroyed = 1;	
begindefineobject 221;
	ob_base_icon_num = 3;
	ob_which_icon_destroyed = 4;
begindefineobject 222;
	ob_base_icon_num = 9;
	ob_which_icon_destroyed = 12;

begindefineobject 223;
	ob_name = "Produce DAlt";	
	ob_graphic_template = 63;
	ob_graphic_sheet = 1;
	ob_base_icon_num = 5;
	ob_block_move_when_destroyed = 1;	
	ob_which_icon_destroyed = 7;
begindefineobject 224;
	ob_base_icon_num = 6;
	
begindefineobject 225;
	import = 20;
	ob_name = "Produce D";
	ob_graphic_template = 28;
	ob_graphic_sheet = 7;	
	ob_base_icon_num = 4;
	ob_which_icon_destroyed = 8;
	ob_block_move_when_destroyed = 1;
begindefineobject 226;
	ob_base_icon_num = 5;
	ob_which_icon_destroyed = 9;
begindefineobject 227;
	ob_graphic_sheet = 6;	
	ob_base_icon_num = 6;
	ob_which_icon_destroyed = 8;
begindefineobject 228;
	ob_base_icon_num = 7;
	ob_which_icon_destroyed = 9;
	
begindefineobject 229;
	import = 70;
	ob_name = "Wall Shield ND";
	ob_width = 64;	
	ob_height = 64;	
	ob_graphic_template = 33;
	ob_graphic_sheet = 2;
	ob_base_icon_num = 10;
	ob_in_space_offset_y = -22;
begindefineobject 230;
	ob_base_icon_num = 11;

begindefineobject 231;
	import = 9;
	ob_object_type = 2;
	ob_name = "Lamp";
	ob_graphic_template = 29;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 2;
	ob_light_level = 6;
	ob_num_anim_steps = 5;	

	ob_glow_trans = 50;
	ob_glow_offset = 24;	

begindefineobject 236;
	import = 100;
	ob_object_type = 11;
begindefineobject 237;
	import = 101;
	ob_object_type = 11;
	
begindefineobject 238;
	import = 176;
	ob_name = "Boom cask";
	ob_object_type = 11;
	ob_graphic_coloradj	= 272;
	
	
begindefineobject 239;
	import = 7;
	ob_name = "Ladder";
	ob_graphic_template = 29;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_width = 256;	
	ob_height = 256;	
	ob_default_script = "stairs";
begindefineobject 240;
	ob_name = "Trapdoor";
	ob_graphic_template = 46;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 5;
begindefineobject 241;
	ob_name = "Pit";
	ob_graphic_template = 35;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
begindefineobject 242;
	ob_name = "Stairs";
	ob_graphic_template = 27;
	ob_graphic_sheet = 3;	
	ob_base_icon_num = 3;
begindefineobject 243;
	ob_name = "Stairs";
	ob_graphic_template = 29;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 5;

begindefineobject 244;
	ob_name = "Wall1 Stair North";
	ob_graphic_template = 26;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 0;
	ob_in_space_offset_y = 6;
begindefineobject 245;
	ob_name = "Wall1 Stair West";
	ob_base_icon_num = 1;
begindefineobject 246;
	ob_name = "Wall1 Stair South";
	ob_base_icon_num = 2;
begindefineobject 247;
	ob_name = "Wall1 Stair East";
	ob_base_icon_num = 3;
begindefineobject 248;
	ob_name = "Wall1 Stair D North";
	ob_graphic_template = 37;
	ob_graphic_sheet = 0;	
	ob_base_icon_num = 0;
	ob_in_space_offset_y = 2;
begindefineobject 249;
	ob_name = "Wall1 Stair D West";
	ob_base_icon_num = 1;
begindefineobject 250;
	ob_name = "Wall1 Stair D South";
	ob_base_icon_num = 2;
begindefineobject 251;
	ob_name = "Wall1 Stair D East";	
	ob_base_icon_num = 3;

begindefineobject 252;
	import = 7;
	ob_name = "Boat";
	ob_graphic_template = 27;
	ob_graphic_sheet = 1;	
	ob_base_icon_num = 3;
	ob_width = 256;	
	ob_height = 256;	
begindefineobject 253;
	ob_base_icon_num = 4;
begindefineobject 254;
	ob_base_icon_num = 5;
begindefineobject 255;
	ob_base_icon_num = 6;
	
// SFX TYPES (what these are in listed in asset lists file)
begindefinesfx 0;
// imported for all tiny zaps
	//sfx_name = "smboom";
	sfx_graphic_template = 40;
	sfx_graphic_sheet = 0;
	sfx_ms_per_step = 64;
	sfx_step_special_thing_on = 2;
	
begindefinesfx 1;
	import = 0;
	sfx_graphic_coloradj = 1;
begindefinesfx 2;
	sfx_graphic_coloradj = 2;
begindefinesfx 3;
	sfx_graphic_coloradj = 4;

begindefinesfx 4;
	sfx_graphic_sheet = 1;
	sfx_graphic_coloradj = 0;
begindefinesfx 5;
	sfx_graphic_coloradj = 1;
begindefinesfx 6;
	sfx_graphic_coloradj = 2;

begindefinesfx 7;
	sfx_graphic_sheet = 2;
	sfx_graphic_coloradj = 0;

begindefinesfx 8;
	sfx_graphic_sheet = 3;
	sfx_graphic_coloradj = 0;
begindefinesfx 9;
	sfx_graphic_coloradj = 1;
begindefinesfx 10;
	sfx_graphic_coloradj = 4;
begindefinesfx 11;
	sfx_graphic_coloradj = 2;

begindefinesfx 12;
	sfx_graphic_sheet = 4;
	sfx_graphic_coloradj = 0;
begindefinesfx 13;
	sfx_graphic_coloradj = 1;

begindefinesfx 14;
	sfx_graphic_sheet = 5;
	sfx_graphic_coloradj = 0;
begindefinesfx 15;
	sfx_graphic_coloradj = 4;
begindefinesfx 16;
	sfx_graphic_coloradj = 1;

begindefinesfx 17;
	sfx_graphic_sheet = 6;
	sfx_graphic_coloradj = 0;
begindefinesfx 18;
	sfx_graphic_coloradj = 2;

begindefinesfx 19;
	sfx_graphic_sheet = 7;
	sfx_graphic_coloradj = 0;
begindefinesfx 20;
	sfx_graphic_coloradj = 4;
begindefinesfx 21;
	sfx_graphic_coloradj = 2;

begindefinesfx 22;
	sfx_graphic_sheet = 8;
	sfx_graphic_coloradj = 0;

begindefinesfx 23;
	sfx_graphic_sheet = 9;
	sfx_graphic_coloradj = 0;

// big booms (usually damaging)
begindefinesfx 50;
// imported for all big booms
	//sfx_name = "bigboom";
	sfx_graphic_template = 41;
	sfx_graphic_sheet = 0;
	sfx_ms_per_step = 64;
	sfx_sfx_sound = 103;
begindefinesfx 51;
	sfx_sfx_effect = 1;
	sfx_amount_of_effect = 20;
begindefinesfx 52;
	sfx_amount_of_effect = 50;
begindefinesfx 53;
	sfx_amount_of_effect = 80;
begindefinesfx 54;
	sfx_amount_of_effect = 200;
begindefinesfx 55;
	sfx_amount_of_effect = 1000;
begindefinesfx 56;
	sfx_amount_of_effect = 35;

begindefinesfx 60;
	import = 50;
	sfx_graphic_sheet = 2;
	sfx_sfx_sound = 188;
begindefinesfx 61;
	sfx_sfx_effect = 8;
	sfx_amount_of_effect = 20;
begindefinesfx 62;
	sfx_amount_of_effect = 60;
begindefinesfx 63;
	sfx_amount_of_effect = 100;
begindefinesfx 64;
	sfx_amount_of_effect = 250;
begindefinesfx 65;
	sfx_amount_of_effect = 1000;

begindefinesfx 70;
	import = 50;
	sfx_graphic_coloradj = 1;
	sfx_sfx_sound = 9;
begindefinesfx 71;
	sfx_sfx_effect = 7;
	sfx_amount_of_effect = 20;
begindefinesfx 72;
	sfx_amount_of_effect = 40;
begindefinesfx 73;
	sfx_amount_of_effect = 120;
begindefinesfx 74;
	sfx_amount_of_effect = 300;
begindefinesfx 75;
	sfx_amount_of_effect = 1000;
	
begindefinesfx 80;
	import = 50;
	sfx_graphic_sheet = 1;
	sfx_sfx_sound = 165;
begindefinesfx 81;
	sfx_sfx_effect = 3;
	sfx_amount_of_effect = 10;
begindefinesfx 82;
	sfx_amount_of_effect = 25;
begindefinesfx 83;
	sfx_amount_of_effect = 50;
begindefinesfx 84;
	sfx_amount_of_effect = 100;
begindefinesfx 85;
	sfx_amount_of_effect = 250;
	
begindefinesfx 90;
	import = 50;
	sfx_graphic_sheet = 1;
	sfx_graphic_coloradj = 4;
	sfx_sfx_sound = 165;
begindefinesfx 91;
	sfx_sfx_effect = 3;
	sfx_amount_of_effect = 10;
begindefinesfx 92;
	sfx_amount_of_effect = 25;
begindefinesfx 93;
	sfx_amount_of_effect = 50;
begindefinesfx 94;
	sfx_amount_of_effect = 100;
begindefinesfx 95;
	sfx_amount_of_effect = 250;
	
begindefinesfx 100;
	import = 50;
	sfx_graphic_sheet = 2;
	sfx_graphic_coloradj = 4;
	sfx_sfx_effect = 5;
	sfx_amount_of_effect = 10;
	sfx_sfx_sound = 128;
begindefinesfx 101;
	sfx_amount_of_effect = 25;
begindefinesfx 102;
	sfx_amount_of_effect = 50;
	
begindefinesfx 105;
	import = 50;
	sfx_graphic_sheet = 2;
	sfx_graphic_coloradj = 4;
	sfx_sfx_effect = 6;
	sfx_amount_of_effect = 10;
	sfx_sfx_sound = 180;
begindefinesfx 106;
	sfx_amount_of_effect = 25;
begindefinesfx 107;
	sfx_amount_of_effect = 50;

// particles on npcs

// sfx_particle_movement - 
// 0 - horizontal spinnie
// 1 - vertical up
// 2 - vertical down
// 3 - far faller
// 4 - up spinner
// 5 - up spinner, long
// 6 - down spinner
// 7 - down spinner, long
// 8 - buff particle - random position, acceleration, and enduring
// 9 - rising point - starts at ground, accelerates upward
// 10 - accelerating spinner, starts stationary at random height, accelerates rotation
// 11 - just stationary
// 12 - special enc particle, rotates horizontally clockwise, never goes away
// 13 - special enc particle, rotates horizontally counterclockwise, never goes away
begindefinesfx 150;
	import = 0;
	sfx_graphic_template = -1;
	sfx_sfx_sound = -1;
	sfx_particle_type = 0;
	sfx_particle_movement = 4;
begindefinesfx 151;
	sfx_particle_type = 1;
	sfx_particle_movement = 1;
begindefinesfx 152;
	sfx_particle_type = 2;
	sfx_particle_movement = 6;
begindefinesfx 153;
	sfx_particle_type = 3;
	sfx_particle_movement = 0;
begindefinesfx 154;
	sfx_particle_type = 4;
	sfx_particle_movement = 0;
begindefinesfx 155;
	sfx_particle_type = 5;
	sfx_particle_movement = 2;
begindefinesfx 156;
	sfx_particle_type = 6;
	sfx_particle_movement = 4;
begindefinesfx 157;
	sfx_particle_type = 7;
	sfx_particle_movement = 0;
begindefinesfx 158;
	sfx_particle_type = 8;
	sfx_particle_movement = 0;
begindefinesfx 159;
	sfx_particle_type = 9;
	sfx_particle_movement = 6;
begindefinesfx 160;
	sfx_particle_type = 10;
	sfx_particle_movement = 1;
begindefinesfx 161;
	sfx_particle_type = 11;
	sfx_particle_movement = 2;
begindefinesfx 162;
	sfx_particle_type = 12;
	sfx_particle_movement = 2;
begindefinesfx 163;
	sfx_particle_type = 13;
	sfx_particle_movement = 6;
begindefinesfx 164;
	sfx_particle_type = 18;
	sfx_particle_movement = 6;
begindefinesfx 165;
	sfx_particle_type = 19;
	sfx_particle_movement = 2;
begindefinesfx 166;
	sfx_particle_type = 20;
	sfx_particle_movement = 4;
begindefinesfx 167;
	sfx_particle_type = 21;
	sfx_particle_movement = 6;
begindefinesfx 168;
	sfx_particle_type = 22;
	sfx_particle_movement = 4;
begindefinesfx 169;
	sfx_particle_type = 23;
	sfx_particle_movement = 6;

begindefinesfx 170; // big poof of flame
	import = 0;
	sfx_graphic_template = 47;
	sfx_graphic_sheet = 0;
begindefinesfx 171; // big poof of slime
	sfx_graphic_sheet = 1;
begindefinesfx 172; 
	sfx_graphic_sheet = 2;
begindefinesfx 173; 
	sfx_graphic_sheet = 3;
begindefinesfx 174; 
	sfx_graphic_sheet = 4;
begindefinesfx 175; 
	sfx_graphic_sheet = 5;
begindefinesfx 176; 
	sfx_graphic_sheet = 6;
begindefinesfx 177; 
	sfx_graphic_coloradj = 1;
begindefinesfx 178; 
	sfx_graphic_coloradj = 2;
begindefinesfx 179; 
	sfx_graphic_coloradj = 4;
begindefinesfx 180; 
	sfx_graphic_sheet = 4;
	sfx_graphic_coloradj = 2;
begindefinesfx 181; 
	sfx_graphic_sheet = 4;
	sfx_graphic_coloradj = 1;
	
begindefinesfx 190;
	import = 0;
	sfx_graphic_template = -1;
	sfx_sfx_sound = -1;
	sfx_particle_type = 0;
	sfx_particle_movement = 9;
begindefinesfx 191;
	sfx_particle_type = 10;
	sfx_particle_movement = 10;
begindefinesfx 192;
	sfx_particle_type = 21;
	sfx_particle_movement = 9;
begindefinesfx 193;
	sfx_particle_type = 17;
	sfx_particle_movement = 10;

// PROJECTILE TYPES (what these are in listed in asset lists file)
//	proj_name
//	proj_graphic_template
//	proj_graphic_sheet
//	proj_graphic_coloradj
//	proj_speed
//	proj_draw_type
//	proj_graphic_type
//	proj_flight_type
//	proj_start_height
//	proj_glowing_nimbus

// multidirectional projectiles
begindefineprojectile 0;
	proj_graphic_template = 57;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_speed = 100;
	proj_glowing_nimbus = 1;
	proj_missile_nimbus = 50;
	proj_missile_nimbus_num = 8;
	proj_missile_nimbus_range = 3;
	
//	proj_particle_shedded = 101;
//	proj_shed_chance = 75;
	
begindefineprojectile 1;
	proj_graphic_sheet = 1;
	proj_missile_nimbus = 51;
	proj_missile_nimbus_num = 12;
	proj_missile_nimbus_range = 5;

	proj_particle_shedded = -1;
begindefineprojectile 2;
	proj_graphic_sheet = 2;
	proj_glowing_nimbus = 6;
	proj_missile_nimbus = 52;
	proj_missile_nimbus_num = 8;
	proj_missile_nimbus_range = 3;
begindefineprojectile 3;
	proj_graphic_sheet = 3;
	proj_glowing_nimbus = 5;
	proj_missile_nimbus = 55;
begindefineprojectile 4;
	proj_graphic_sheet = 4;
	proj_glowing_nimbus = 0;
	proj_missile_nimbus = 56;
	proj_missile_nimbus_num = 12;
	proj_missile_nimbus_range = 5;
begindefineprojectile 5;
	proj_graphic_sheet = 2;
	proj_graphic_coloradj = 2;
	proj_missile_nimbus = 57;
begindefineprojectile 6;
	proj_graphic_sheet = 3;
	proj_graphic_coloradj = 4;
	proj_missile_nimbus = 58;
begindefineprojectile 7;
	proj_graphic_sheet = 3;
	proj_graphic_coloradj = 1;
	proj_missile_nimbus = 62;
	
begindefineprojectile 10; 
	// imported for old-style directional missiles
	proj_graphic_template = 1;
	proj_graphic_sheet = 1;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;
begindefineprojectile 11;
	proj_graphic_sheet = 2;
begindefineprojectile 12;
	proj_glowing_nimbus = 0;
begindefineprojectile 13;
	proj_glowing_nimbus = 6;
begindefineprojectile 14;
	proj_glowing_nimbus = 0;
	proj_missile_nimbus = 58;
	
	
begindefineprojectile 15; // javelin
	proj_graphic_template = 2;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_speed = 150;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;
begindefineprojectile 16; // rock
	proj_graphic_template = 2;
	proj_graphic_sheet = 1;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 1;
	proj_flight_type = 1;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;
begindefineprojectile 17; // razordisk
	proj_graphic_template = 1;
	proj_graphic_sheet = 7;

begindefineprojectile 20; // arrow
	import = 10; 
	proj_speed = 150;
	proj_graphic_sheet = 6;
	//proj_speed = 10;
begindefineprojectile 21; // glowy arrow
	proj_glowing_nimbus = 0;
	
// uni-directional, flat trajectory, black background projectiles
begindefineprojectile 30;
	proj_graphic_template = 58;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 0;
	proj_graphic_type = 0;
	proj_flight_type = 0;
	proj_speed = 80;
	proj_glowing_nimbus = -1;
begindefineprojectile 31;
	proj_graphic_sheet = 1;
begindefineprojectile 32;
	proj_graphic_sheet = 2;
//	proj_glowing_nimbus = 6;
begindefineprojectile 33;
	proj_graphic_sheet = 3;
	proj_draw_type = 2;
//	proj_glowing_nimbus = -1;
begindefineprojectile 34;
	proj_graphic_sheet = 4;
	proj_speed = 30;
//	proj_glowing_nimbus = 0;
begindefineprojectile 35;
	proj_graphic_sheet = 5;
	proj_speed = 80;
//	proj_glowing_nimbus = 5;
begindefineprojectile 36;
	proj_graphic_sheet = 6;
//	proj_glowing_nimbus = 0;
begindefineprojectile 37;
	proj_graphic_sheet = 7;
begindefineprojectile 38;
	proj_graphic_sheet = 2;
	proj_graphic_coloradj = 4;
begindefineprojectile 39;
	proj_graphic_sheet = 6;
	proj_graphic_coloradj = 4;
begindefineprojectile 40;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 1;
	proj_glowing_nimbus = 5;
begindefineprojectile 41;
	proj_graphic_sheet = 1;
	proj_graphic_coloradj = 1;
begindefineprojectile 42;
	proj_graphic_sheet = 7;
	proj_graphic_coloradj = 1;
//	proj_glowing_nimbus = 0;
begindefineprojectile 43;
	proj_graphic_sheet = 8;
	proj_graphic_coloradj = 0;
begindefineprojectile 44;
	proj_graphic_sheet = 9;
	proj_graphic_coloradj = 0;
	proj_glowing_nimbus = -1;
begindefineprojectile 45;
	proj_graphic_coloradj = 4;
begindefineprojectile 46;
	proj_graphic_coloradj = 1;
begindefineprojectile 47;// slow sparky w nimbus
	import = 39;
	proj_speed = 40;
	proj_glowing_nimbus = 0;
	

// uni-directional, arcing trajectory, black background projectiles
begindefineprojectile 50;
	import = 30;
	proj_flight_type = 2;
begindefineprojectile 51;
	import = 31;
	proj_flight_type = 2;
begindefineprojectile 52;
	import = 32;
	proj_flight_type = 2;
begindefineprojectile 53;
	import = 33;
	proj_flight_type = 2;
begindefineprojectile 54;
	import = 34;
	proj_flight_type = 2;
begindefineprojectile 55;
	import = 35;
	proj_flight_type = 2;
begindefineprojectile 56;
	import = 36;
	proj_flight_type = 2;
begindefineprojectile 57;
	import = 37;
	proj_flight_type = 2;
begindefineprojectile 58;
	import = 38;
	proj_flight_type = 2;
begindefineprojectile 59;
	import = 39;
	proj_flight_type = 2;
begindefineprojectile 60;
	import = 40;
	proj_flight_type = 2;
begindefineprojectile 61;
	import = 41;
	proj_flight_type = 2;
begindefineprojectile 62;
	import = 42;
	proj_flight_type = 2;
begindefineprojectile 63;
	import = 43;
	proj_flight_type = 2;

// big poofy fireballs
begindefineprojectile 70;
	proj_graphic_template = 59;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 2;
	proj_graphic_type = 0;
	proj_speed = 80;
	proj_flight_type = 0;
	proj_start_height = -20;
	proj_glowing_nimbus = 0;
begindefineprojectile 71;
	proj_graphic_coloradj = 1;
begindefineprojectile 72;
	proj_graphic_coloradj = 4;
begindefineprojectile 73; // 16 step fireball
	proj_graphic_sheet = 1;
	proj_graphic_coloradj = 0;
	proj_glowing_nimbus = -1;
begindefineprojectile 74; // 16 step iceball
	proj_graphic_coloradj = 1;
begindefineprojectile 75; // 16 step slimeball
	proj_graphic_coloradj = 4;

// smoke puffs
begindefineprojectile 80;
	import = 30;
	proj_flight_type = 4;
	proj_speed = 2;
begindefineprojectile 81;
	import = 31;
	proj_flight_type = 4;
	proj_speed = 2;
begindefineprojectile 82;
	import = 32;
	proj_flight_type = 4;
	proj_speed = 2;
begindefineprojectile 83;
	import = 33;
	proj_flight_type = 4;
	proj_speed = 2;
begindefineprojectile 84;
	import = 34;
	proj_flight_type = 4;
	proj_speed = 2;
begindefineprojectile 85;
	import = 35;
	proj_flight_type = 4;
	proj_speed = 2;
begindefineprojectile 86;
	import = 36;
	proj_flight_type = 4;
	proj_speed = 2;
begindefineprojectile 87;
	import = 37;
	proj_flight_type = 4;
	proj_speed = 2;

// hovering particle
begindefineprojectile 100;
	import = 43;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 101;
	import = 44;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 102;
	import = 45;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 103;
	import = 46;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 104;
	import = 37;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 105;
	import = 35;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 106;
	import = 43;
	proj_flight_type = 5;
	proj_glowing_nimbus = 0;
begindefineprojectile 107;
	import = 31;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;
begindefineprojectile 108;
	import = 40;
	proj_flight_type = 5;
	proj_glowing_nimbus = -1;

// projectiles that shed others
begindefineprojectile 110;
	import = 43;
	proj_particle_shedded = 100;
	proj_shed_chance = 10;
	proj_glowing_nimbus = -1;
begindefineprojectile 111;
	import = 36;
	proj_particle_shedded = 105;
	proj_shed_chance = 10;
	proj_glowing_nimbus = -1;
begindefineprojectile 112;
	import = 43;
	proj_particle_shedded = 104;
	proj_shed_chance = 10;
	proj_glowing_nimbus = 0;
	proj_speed = 100;
begindefineprojectile 113;
	import = 31;
	proj_particle_shedded = 107;
	proj_shed_chance = 10;
	proj_glowing_nimbus = -1;
	proj_speed = 100;
begindefineprojectile 114;
	import = 40;
	proj_particle_shedded = 108;
	proj_shed_chance = 10;
	proj_glowing_nimbus = -1;
	proj_speed = 100;

// rain snow	
begindefineprojectile 130;
	import = 0;
	proj_graphic_template = 55;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_draw_type = 2;
	proj_graphic_type = 0;
	proj_flight_type = 3;
	proj_glowing_nimbus = -1;
	proj_missile_nimbus = -1;
	proj_speed = 15;
begindefineprojectile 131; //snow
	proj_graphic_template = 56;
	proj_speed = 3;
begindefineprojectile 132; //blue sparkle
	proj_graphic_template = 149; 
	proj_graphic_sheet = 1;
	proj_translucence = 30;
	proj_speed = 1;
	proj_rotation_speed = 0;
begindefineprojectile 133; // rain fire
	proj_graphic_template = 149;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_translucence = 100;
	proj_speed = 4;
	proj_rotation_speed = 0;
begindefineprojectile 134; // rain energy
	proj_graphic_sheet = 5;
	proj_graphic_coloradj = 1;
	proj_rotation_speed = 20;
begindefineprojectile 135; // rain acid
	proj_graphic_sheet = 4;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 0;
begindefineprojectile 136; // spinning fire stars
	proj_graphic_sheet = 5;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 20;
begindefineprojectile 137; // white motes
	proj_graphic_sheet = 3;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 20;
begindefineprojectile 138; // rain energy
	proj_graphic_sheet = 2;
	proj_graphic_coloradj = 0;
	proj_rotation_speed = 10;
begindefineprojectile 139; // rain ice
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 1;
	proj_rotation_speed = 2;
	

// projectiles that spiral out slowly
begindefineprojectile 140;
	import = 30;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = 0;
begindefineprojectile 141;
	import = 31;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 142;
	import = 32;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 143;
	import = 33;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 144;
	import = 34;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
	proj_graphic_coloradj = 272;
begindefineprojectile 145;
	import = 35;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 146;
	import = 36;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 147;
	import = 37;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 148;
	import = 38;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 149;
	import = 39;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 150;
	import = 40;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 151;
	import = 41;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 152;
	import = 42;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = -1;
begindefineprojectile 153;
	import = 43;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_glowing_nimbus = 0;
begindefineprojectile 154; // fire poof
	import = 30;
	proj_graphic_template = 149;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_speed = 3; // slow rot speed
	proj_flight_type = 6;
	proj_rotation_speed = 5;
	proj_draw_type = 2;
begindefineprojectile 155; // energy poof
	proj_graphic_sheet = 2;
begindefineprojectile 156; // acid poof
	proj_graphic_sheet = 4;
begindefineprojectile 157; // glowing mote
	proj_graphic_sheet = 1;
	proj_glowing_nimbus = 7;
begindefineprojectile 158; // larger glowing mote
	proj_graphic_sheet = 3;
begindefineprojectile 159; // red spinny star
	proj_graphic_sheet = 5;
	// projectiles that spiral out quickly
begindefineprojectile 160;
	import = 30;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 161;
	import = 31;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 162;
	import = 32;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 163;
	import = 33;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 164;
	import = 34;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 165;
	import = 35;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 166;
	import = 36;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 167;
	import = 37;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 168;
	import = 38;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 169;
	import = 39;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 170;
	import = 40;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 171;
	import = 41;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 172;
	import = 42;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 173;
	import = 43;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
begindefineprojectile 174; // fire poof
	import = 30;
	proj_graphic_template = 149;
	proj_graphic_sheet = 0;
	proj_graphic_coloradj = 0;
	proj_speed = 5; // fast rot speed
	proj_flight_type = 7;
	proj_rotation_speed = 5;
begindefineprojectile 175; // energy poof
	proj_graphic_sheet = 2;
begindefineprojectile 176; // acid poof
	proj_graphic_sheet = 4;
begindefineprojectile 177; // glowing mote
	proj_graphic_sheet = 1;
	proj_glowing_nimbus = 7;
begindefineprojectile 178; // larger glowing mote
	proj_graphic_sheet = 3;
begindefineprojectile 179; // red spinny star
	proj_graphic_sheet = 5;

begindefineprojectile 185; //one more sparkle
	import = 132;
	proj_graphic_template = 149; 
	proj_graphic_sheet = 3;
	proj_translucence = 60;
	proj_graphic_coloradj = 2;
	proj_rotation_speed = 5;
	proj_speed = 1;
