{
	"cataclysm-ambassador" = {
		ai_type = "cataclysm_ambassadorAI.plist";
		beacon = "A";
		beacon_label = "Ambassador Ship";
		escort_ship = "cataclysm-ambassador-escort";
		escorts = 2;
		like_ship = "boa-mk2";
		name = "Ambassador Ship";
		roles = "cataclysm_ambassador";
		script = "cataclysm-ambassador.js";
	};
	"cataclysm-ambassador-escort" = {
		ai_type = "escortAI.plist";
		like_ship = "viper";
		name = "Ambassador Escort";
		roles = "cataclysm_ambassador_escort";
		scan_class = "CLASS_POLICE";
	};
	"cataclysm-defector" = {
		ai_type = "cataclysm_defectorAI.plist";
		beacon = "D";
		beacon_label = "Defector";
		bounty = 250;
		escort_role = "thargoid";
		escorts = 0;
		like_ship = "ferdelance";
		name = "Defector";
		roles = "cataclysm_defector";
		script = "cataclysm-defector.js";
	};
	"cataclysm-defector-thargoid" = {
		ai_type = "thargoidAI.plist";
		like_ship = "cataclysm-defector";
		roles = "cataclysm_defector_thargoid";
		scan_class = "CLASS_THARGOID";
	};
	"cataclysm-disabled-warship-1" = {
		aft_eject_position = "0.0 0.0 -20.5";
		ai_type = "cataclysm_disabledWarship1AI.plist";
		beacon = "T";
		beacon_label = "Recovered Thargoid Warship";
		bounty = 0;
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 4;
		escape_pod_model = "cataclysm_disabled_warship_escape_pod";
		fuel = 70;
		has_escape_pod = yes;
		like_ship = "oolite_template_thargoid";
		max_energy = 600;
		max_flight_pitch = 1;
		max_flight_roll = 2;
		max_flight_speed = 500;
		missiles = 0;
		name = "Recovered Thargoid Warship";
		pilot = "cataclysm-engineer";
		roles = "cataclysm_disabled_warship_1";
		scan_class = "CLASS_CARGO"; //"CLASS_THARGOID"; // CLASS_THARGOID makes the ship appear as an enemy - not sure if it should
		script = "cataclysm-disabled-warship-1.js";
		thrust = 50;
		unpiloted = no;
	};
	"cataclysm-disabled-warship-2" = {
		ai_type = "cataclysm_disabledWarship2AI.plist";
		like_ship = "cataclysm-disabled-warship-1";
		pilot = "cataclysm-engineer";
		roles = "cataclysm_disabled_warship_2";
		scan_class = "CLASS_CARGO";
		unpiloted = no;
	};
	"cataclysm-disabled-warship-3" = {
		ai_type = "cataclysm_disabledWarship3AI.plist";
		bounty = 0;
		cargo_type = "CARGO_NOT_CARGO";
		density = 100;
		energy_recharge_rate = 4;
		like_ship = "oolite_template_thargoid";
		max_energy = 600;
		max_flight_pitch = 1;
		max_flight_roll = 2;
		max_flight_speed = 500;
		missiles = 0;
		name = "Recovered Thargoid Warship";
		roles = "cataclysm_disabled_warship_3";
		scan_class = "CLASS_CARGO";
		script = "cataclysm-disabled-warship-3.js";
		thrust = 50;
	};
	"cataclysm-disabled-warship-escape-pod" = {
		cargo_type = "CARGO_SCRIPTED_ITEM";
		like_ship = "escape-capsule";
		roles = "cataclysm_disabled_warship_escape_pod";
		script = "cataclysm-disabled-warship-escape-pod.js";
	};
	"cataclysm-enrece-station" = {
		like_ship = "coriolis-station";
		ai_type = "stationAI.plist";
		allegiance = "private";
		beacon = "R";
		beacon_label = "Enrece Research Station";
		equivalent_tech_level = 0; // too damaged to handle anything
		has_npc_traffic = no;
		has_patrol_ships = no;
		has_shipyard = no;
		max_defense_ships = 0;
		max_police = 0;
		max_scavengers = 0;
		name = "Enrece Research Station";
		roles = "cataclysm_enrece_station station(0)";
		rotating = yes;
		market_definition = ( // no market
			{
				type = "default";
				price_multiplier = 0;
				quantity_multiplier = 0;
				capacity = 0;
			}
		);
		model = "cataclysm_KWwreckeddiamonds.dat"; 
		materials =	{
			"kwDiamonds.png" = {
				diffuse_map = "cataclysm_kwDiamonds.png"; 
				gloss = 0.8;
				normal_map = "cataclysm_kwDiamonds_NORM.png";
				emission_map = "cataclysm_kwDiamonds_LITES.png";
				specular_map = {name = "cataclysm_kwDiamonds.png"; extract_channel = "a";};
			};
		};
		scan_class = "CLASS_MILITARY";
		script_info = {
			bgs_tunnel_texture = "cataclysm_damaged_bgs.png";
		};
		subentities = ( 
			{ type = "standard"; subentity_key = "cataclysm_KW_CoriFace"; orientation = (1, 0, 0, 0); position = (0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm_KW_CoriTris"; orientation = (1, 0, 0, 0); position = (0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm_KW_Cori_Dock"; orientation = (1, 0, 0, 0); position = (0, 0, 0); is_dock = yes; },
			{ type = "standard"; subentity_key = "cataclysm_KW_CoriDamage"; orientation = (1, 0, 0, 0); position = (0, 0, 0); },
			// sparky
			{ type = "flasher"; position = "34.9 -28.29 -58.39"; color = { hue = 180; }; frequency = 19; phase = -0.5; size = 10; },
			// red cross
			{ type = "flasher"; position = "0 -16 -252.0"; color = { hue = 0; }; frequency = 1; phase = 0.5; size = 10; },
			{ type = "flasher"; position = "0 16 -252.0"; color = { hue = 0; }; frequency = 0.1; phase = 0.5; size = 10; },
			{ type = "flasher"; position = "-16 0 -252.0"; color = { hue = 0; }; frequency = 10; phase = 0; size = 10; },
			// trail
			{ type = "flasher"; position = "0 110 -25"; color = { hue = 0; }; frequency = 1; phase = -0.5; size = 10; },
			{ type = "flasher"; position = "0 110 -175"; color = { hue = 0; }; frequency = 11; phase = -0.8; size = 10; },
			{ type = "flasher"; position = "0 110 -225"; color = { hue = 0; }; frequency = 1; phase = -0.9; size = 10; },
			{ type = "flasher"; position = "0 -110 -25"; color = { hue = 0; }; frequency = 1; phase = -0.5; size = 10; },
			{ type = "flasher"; position = "0 -110 -75"; color = { hue = 0; }; frequency = 1; phase = -0.6; size = 10; },
			{ type = "flasher"; position = "0 -110 -125"; color = { hue = 0; }; frequency = 8; phase = -0.7; size = 10; },
			{ type = "flasher"; position = "0 -110 -225"; color = { hue = 0; }; frequency = 12; phase = -0.9; size = 10; }					
		); 
		station_roll = "0.03"; 
	}; 	
	"cataclysm_KW_CoriFace" = {
		model = "cataclysm_KWwreckedface.dat";
		materials =	{
			"kwFace.png" = {
				diffuse_map = "cataclysm_kwFace.png"; 
				gloss = 0.8;
				normal_map = "cataclysm_kwFace_NORM.png";
				emission_map = "cataclysm_kwFace_LITES.png";
				specular_map = {name = "cataclysm_kwFace.png"; extract_channel = "a";};
			};
		};	
		roles = "cataclysm_KW_CoriSubent";	
	};
	"cataclysm_KW_CoriTris" = { 
		model = "cataclysm_KWwreckedtris.dat";
		ai_type = "nullAI.plist";
		materials = {
			"kwTris.png" = {
				diffuse_map = "cataclysm_kwTris.png"; 
				gloss = 0.8;
				normal_map = "cataclysm_kwTris_NORM.png";
				emission_map = "cataclysm_kwTris_LITES.png";
				specular_map = { name = "cataclysm_kwTris.png"; extract_channel = "a";};
			};
		};	
		name = "Griff Coriolis test";    
		roles = "cataclysm_KW_CoriSubent";  
	};	
	"cataclysm_KW_Cori_Dock" = {
		model = "cataclysm_KWwreckeddock.dat";
		ai_type = "nullAI.plist";
		materials = {
			"kwDock.png" = {
				diffuse_map = "cataclysm_kwDock.png"; 
				gloss = 0.8;
				normal_map = "cataclysm_kwDock_NORM.png";
				emission_map = "cataclysm_kwDock_LITES.png";
				specular_map = { name = "cataclysm_kwDock.png"; extract_channel = "a";};
			};
		};	
		roles = "cataclysm_KW_Cori_Dock";	
		name = "Wreck Dock"; 
	};		
	"cataclysm_KW_CoriDamage" = {
		model = "cataclysm_KWwreckeddamage.dat";
		ai_type = "nullAI.plist";
		materials = {
			"kwDamage.png" = {
				diffuse_map = "cataclysm_kwDamage.png"; 
				gloss = 0.8;
				normal_map = "cataclysm_kwDamage_NORM.png";
				emission_map = "cataclysm_kwDamage_LITES.png";
				specular_map = { name = "cataclysm_kwDamage.png"; extract_channel = "a";};
			};
		};	
		roles = "cataclysm_KW_CoriSubent";	
	};
	"cataclysm-explosive-alloy" = {
		ai_type = "cataclysm_explosiveAlloyAI.plist";
		like_ship = "alloy";
		max_flight_speed = 0;
		roles = "cataclysm_explosive_alloy";
	};
	"cataclysm-hive-sub-1" = {
		ai_type = "nullAI.plist";
		energy_recharge_rate = 100;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 25000;
		materials = {
			"cataclysm_thargoid_hive.png" = {
				diffuse_map = "cataclysm_thargoid_hive.png";
				normal_map = "cataclysm_thargoid_hive_normal.png";
				specular_color = 0.8;
				gloss = "0.8";
			};
		};
		model = "cataclysm_thargoid_hive_sub_1.dat";
		name = "Thargoid Hive Sub 1";
		roles = "cataclysm_hive_sub_1";
	};
	"cataclysm-hive-sub-2" = {
		ai_type = "nullAI.plist";
		energy_recharge_rate = 100;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 25000;
		materials = {
			"cataclysm_thargoid_hive.png" = {
				diffuse_map = "cataclysm_thargoid_hive.png";
				normal_map = "cataclysm_thargoid_hive_normal.png";
				specular_color = 0.8;
				gloss = "0.8";
			};
		};
		model = "cataclysm_thargoid_hive_sub_2.dat";
		name = "Thargoid Hive Sub 2";
		roles = "cataclysm_hive_sub_2";
	};
	"cataclysm-hive-sub-3" = {
		ai_type = "nullAI.plist";
		energy_recharge_rate = 100;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 25000;
		materials = {
			"cataclysm_thargoid_hive.png" = {
				diffuse_map = "cataclysm_thargoid_hive.png";
				normal_map = "cataclysm_thargoid_hive_normal.png";
				specular_color = 0.8;
				gloss = "0.8";
			};
		};
		model = "cataclysm_thargoid_hive_sub_3.dat";
		name = "Thargoid Hive Sub 3";
		roles = "cataclysm_hive_sub_3";
	};
	"cataclysm-hive-sub-4" = {
		ai_type = "nullAI.plist";
		energy_recharge_rate = 100;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 25000;
		materials = {
			"cataclysm_thargoid_hive.png" = {
				diffuse_map = "cataclysm_thargoid_hive.png";
				normal_map = "cataclysm_thargoid_hive_normal.png";
				specular_color = 0.8;
				gloss = "0.8";
			};
		};
		model = "cataclysm_thargoid_hive_sub_4.dat";
		name = "Thargoid Hive Sub 4";
		roles = "cataclysm_hive_sub_4";
	};
	"cataclysm-hive-sub-5" = {
		ai_type = "nullAI.plist";
		energy_recharge_rate = 100;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 25000;
		materials = {
			"cataclysm_thargoid_hive.png" = {
				diffuse_map = "cataclysm_thargoid_hive.png";
				normal_map = "cataclysm_thargoid_hive_normal.png";
				specular_color = 0.8;
				gloss = "0.8";
			};
		};
		model = "cataclysm_thargoid_hive_sub_5.dat";
		name = "Thargoid Hive Sub 5";
		roles = "cataclysm_hive_sub_5";
	};
	"cataclysm-hive-sub-6" = {
		ai_type = "nullAI.plist";
		energy_recharge_rate = 100;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 25000;
		materials = {
			"cataclysm_thargoid_hive.png" = {
				diffuse_map = "cataclysm_thargoid_hive.png";
				normal_map = "cataclysm_thargoid_hive_normal.png";
				specular_color = 0.8;
				gloss = "0.8";
			};
		};
		model = "cataclysm_thargoid_hive_sub_6.dat";
		name = "Thargoid Hive Sub 6";
		roles = "cataclysm_hive_sub_6";
	};
	"cataclysm-military-asp" = {
		ai_type = "cataclysm_militaryAI.plist";
		bounty = 0;
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 4.5;
		forward_weapon_type = "WEAPON_MILITARY_LASER";
		fuel = 80;
		has_ecm = yes;
		has_fuel_injection = yes;
		has_scoop = yes;
		laser_color = "magentaColor";
		like_ship = "oolite_template_asp";
		likely_cargo = 0;
		max_cargo = 0;
		max_energy = 375;
		max_flight_pitch = 1.25;
		max_flight_roll = 2.5;
		max_flight_speed = 400;
		missiles = 2;
		materials = {
			"Hull" = {
				diffuse_map = "cataclysm_asp_diffuse.png"; 
				normal_map = "cataclysm_asp_normal.png";
				specular_map = { 
					name = "cataclysm_asp_diffuse.png"; 
					extract_channel = "a"; 
				};
				emission_map = { 
					name = "cataclysm_asp_effects.png"; 
					extract_channel = "g"; 
				};
				emission_modulate_color = ( 0.98, 0.92, 0.72 );
				specular_color = ( 0.3, 0.3, 0.3, 1.0 );
				gloss = "0.5";
			};
			"Gun" = { 
				diffuse_map = "oolite_asp_subents.png"; 
				specular_color = ( 0.2, 0.2, 0.2 ); 
				gloss = "0.5"; 
			};   
		};
		missile_role = "EQ_HARDENED_MISSILE";
		name = "Naval Asp Mark II-a";
		roles = "cataclysm_military cataclysm_military_asp military-ship";
		scan_class = "CLASS_MILITARY";
		script = "cataclysm-military.js";
		thrust = 50;
	};	
	"cataclysm-military-hydra" = {
		aft_eject_position = "0.0 -10 -15";
		ai_type = "cataclysm_militaryAI.plist";
		bounty = 0;
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 3.2;
		exhaust = (
			"0.0 0.0 -16.5 3.0 3.0 5.0"
		);
		forward_weapon_type = "WEAPON_NONE";
		fuel = 40;
		has_ecm = 0.95;
		has_fuel_injection = 0.76;
		has_shield_booster = 0.95;
		has_shield_enhancer = 0.96;
		laser_color = "magentaColor";
		likely_cargo = 1;
		materials = {
			"cataclysm_military_hydra.png" = {
				diffuse_map = "cataclysm_military_hydra.png";
				normal_map = "cataclysm_military_hydra_normal.png";
				specular_map = "cataclysm_military_hydra_specular.png";
				specular_color = (0.1, 0.1, 0.1);
				gloss = 0.7;
			};
		};
		max_cargo = 1;
		max_energy = 380;
		max_flight_pitch = 0.5;
		max_flight_roll = 2.90;
		max_flight_speed = 320;
		missile_launch_position = "0.0 -4.5 10.0";
		missiles = 0;
		model = "cataclysm_military_hydra.dat";
		name = "Military Hydra 2";
		roles = "cataclysm_military cataclysm_military_hydra military-ship";
		scan_class = "CLASS_MILITARY";
		script = "cataclysm-military.js";
		subentities = (
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (9.8, 0, 0); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (-9.8, 0, 0); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (7.5, 5, 0); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (7.5, -5, 0); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (-7.5, 5, 0); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (-7.5, -5, 0); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (0, 7, 0); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-hydraspike"; position = (0, -7, 0); orientation = (1, 0, 0, 0); },
		);
		thrust = 20;
	};
	"cataclysm-military-hydraspike" = {
		ai_type = "nullAI.plist";
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 1.01;
		forward_weapon_type = "WEAPON_BEAM_LASER";
		laser_color = "magentaColor";
		materials = {
			"cataclysm_military_hydraspike.png" = {
				diffuse_map = "cataclysm_military_hydraspike.png";
				normal_map = "cataclysm_military_hydraspike_normal.png";
				specular_map = "cataclysm_military_hydraspike_specular.png";
				specular_color = (0.2, 0.2, 0.2);
				gloss = 0.6;
			};
		};
		max_energy = 40;
		model = "cataclysm_military_hydraspike.dat";
		roles = "cataclysm_military_hydraspike";
		thrust = 25;
		weapon_energy = 15;
	};
	"cataclysm-military-hydra_himsn_adv_patrol" = {
		like_ship = "calaclysm-military-hydra";
		is_external_dependency = yes;
		accuracy = 8;
		ai_type = "himsn_adv_patrol_ai.js";
		escorts = 4;
		escort_role = "himsn_escort";
		escort_ship = "himsn_escort";
		roles = "himsn_adv_patrol navy-ship(0)";
		script = "himsn_adv_patrol.js";
	};
	"cataclysm-military-rattlecutter" = {
		aft_eject_position = "0.0 7.5 -16.5";
		ai_type = "cataclysm_militaryAI.plist";
		bounty = 0;
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 3.5;
		exhaust = (
			"0.0 0.0 -19.44 5.0 5.0 12.0"
		);
		forward_weapon_type = "WEAPON_NONE";
		has_ecm = 0.95;
		has_fuel_injection = 0.66;
		has_shield_booster = 0.95;
		has_shield_enhancer = 0.66;
		likely_cargo = 1;
		max_cargo = 1;
		max_energy = 350;
		max_flight_pitch = 1.5;
		max_flight_roll = 3.60;
		max_flight_speed = 300;
		missile_launch_position = "0.0 -2.0 25.0";
		missiles = 0;
		materials = {
			"cataclysm_military_rattlecutter.png" = {
				diffuse_map = "cataclysm_military_rattlecutter.png";
				normal_map = "cataclysm_rattlecutter_normal.png";
				specular_color = (0.5, 0.5, 0.5);
				specular_map = "cataclysm_rattlecutter_specular.png";
				gloss = 0.7;
			};
		};
		model = "cataclysm_military_rattlecutter.dat";
		name = "Military Rattle Cutter";
		roles = "cataclysm_military cataclysm_military_rattlecutter military-ship";
		scan_class = "CLASS_MILITARY";
		script = "cataclysm-military.js";
		subentities = (
			{ type = "standard"; subentity_key = "cataclysm-military-rattlefang"; position = (26.0, 11.22, -28.18); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-rattlefang"; position = (26.0, -11.20, -28.18); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-rattlefang"; position = (-26.0, -11.20, -28.18); orientation = (1, 0, 0, 0); },
			{ type = "standard"; subentity_key = "cataclysm-military-rattlefang"; position = (-26.0, 11.22, -28.18); orientation = (1, 0, 0, 0); },
		);
		thrust = 48;
	};
	"cataclysm-military-rattlefang" = {
		ai_type = "nullAI.plist";
		bounty = 1;
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 1;
		forward_weapon_type = "WEAPON_BEAM_LASER";
		laser_color = "magentaColor";
		max_energy = 30;
		max_flight_pitch = 0.9;
		max_flight_roll = 0.3;
		model = "cataclysm_military_rattlefang.dat";
		thrust = 25;
		weapon_energy = 15;
	};
	"cataclysm-military-rattlecutter_himsn_escort" = {
		is_external_dependency = yes;
		accuracy = 5;
		ai_type = "himsn_escort_ai.js";
		like_ship = "cataclysm-military-rattlecutter";
		roles = "himsn_escort navy-ship(0)";
		script = "himsn_ship.js";
	};
	"cataclysm-military-viper" = {
		ai_type = "cataclysm_militaryAI.plist";
		like_ship = "viper-interceptor";
		materials = { 
			"Hull" = {
				diffuse_map = "cataclysm_viper_interceptor_diffuse.png"; 
				gloss = 0.55;
				specular_color = (0.5, 0.5, 0.5);
				shininess = 45; 
				emission_map = {
					name = "cataclysm_viper_interceptor_diffuse.png"; extract_channel = "a";
				}; 
				emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
				normal_map = "cataclysm_viper_interceptor_normal.png";
			};
			"Engine" = { 
				diffuse_map = "cataclysm_viper_interceptor_diffuse.png"; 
				gloss = 0.55;
				specular_color = ( 0.5, 0.5, 0.5 );
				shininess = 45; 
				emission_map = {
					name = "cataclysm_viper_interceptor_diffuse.png"; extract_channel = "a";
				}; 
				emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0); 
				normal_map = "cataclysm_viper_interceptor_normal.png";
			};			
		};
		name = "Navy Viper Interceptor";
		roles = "cataclysm_military cataclysm_military_viper military-ship";
		scan_class = "CLASS_MILITARY";
		script = "cataclysm-military.js";
	};
	"cataclysm-military-wolf" = {
		ai_type = "cataclysm_militaryAI.plist";
		bounty = 0;
		aft_eject_position = "0.0 -29.5 -40.7";
		cargo_type = "CARGO_NOT_CARGO";			
		energy_recharge_rate = 4;	
		exhaust = ("0.0 0.0, -10.0 4.5 3 10");
		exhaust_emissive_color = (1.0, 0.2, 1.0);			
		frangible = 0;			
		forward_weapon_type = "WEAPON_MILITARY_LASER";
		fuel = 70;
		has_ecm = 1;
		has_escape_pod = 1;
		has_fuel_injection = 1;
		has_scoop = 1;
		likely_cargo = 10;
		max_cargo = 20;
		max_energy = 384;
		max_flight_pitch = 1.2;
		max_flight_roll = 1.8;
		max_flight_speed = 380;
		materials = { 
			"Hull" = { 
				diffuse_map = "cataclysm_wolfmk2_diffuse.png"; 
				normal_map = "cataclysm_wolfmk2_normal.png";
				specular_color = ( 0.8, 0.8, 0.8 );  // Applies when specular map is not used (no shaders) 
				shininess = 5; 
				gloss = 0.6;
				emission_map = "cataclysm_wolfmk2_effects.png";
				emission_modulate_color = (0.9926, 0.9686, 0.7325); 
			}; 
		};	
		missiles = 4;
		name = "Wolf Mark II Paragon";	
		missile_launch_position = "0.0 -6.88 44.9";
		model = "cataclysm_wolfmk2.dat"; 
		roles = "cataclysm_military cataclysm_military_wolf military-ship";
		scoop_position = "0.0 -7.646828 28.832112";	
		smooth = no;	
		thrust = 50;
		weapon_mount_mode = "multiply";
		weapon_position_forward = ("0.0 -0.571111 49.7782", "-9.7 -0.363 58.0", "9.7 -0.363 58.0");
		weapon_position_aft = "0.0 11.302275 -45.0848";
	};
	"cataclysm-ribilebi-station" = { 
		ai_type = "stationAI.plist";
		allegiance = "private";
		beacon = "R";
		beacon_label = "Ribilebi Research Station";
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 100;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = yes;
		has_npc_traffic = no;
		materials = {
			"cataclysm_generic_metal.png" = {
				diffuse_map = "cataclysm_ribilebi_station.png";
				normal_map = "cataclysm_ribilebi_station_normal.png";
				emission_map = {name = "cataclysm_ribilebi_station.png"; extract_channel = "a"; };
				specular_color = (0.1, 0.1, 0.1);
				gloss = 0.5;
			};
		};
		max_energy = 25000;
		max_flight_pitch = 8;
		max_flight_roll = 8;
		max_flight_speed = 0;
		missiles = 0;
		model = "cataclysm_ribilebi_station.dat";
		name = "Ribilebi Research Station";
		port_radius = 500;
		roles = "cataclysm_ribilebi_station station(0)";
		rotating = yes;
		scan_class = "CLASS_MILITARY";
		script_info = {
			bgs_tunnel_texture = "cataclysm_bgs.png";
		};
		subentities = (
			{ type = "standard"; is_dock = yes; subentity_key = "cataclysm-ribilebi-station-dockingbay"; position = (0, 0, 500); orientation = (1, 0, 0, 0); },
			{ type = "flasher"; position = "90 0 475"; color = { hue = 60; }; frequency = 1; phase = -0.5; size = 10; },
			{ type = "flasher"; position = "90 0 425"; color = { hue = 75; }; frequency = 1; phase = -0.6; size = 10; },
			{ type = "flasher"; position = "90 0 375"; color = { hue = 90; }; frequency = 1; phase = -0.7; size = 10; },
			{ type = "flasher"; position = "90 0 325"; color = { hue = 105; }; frequency = 1; phase = -0.8; size = 10; },
			{ type = "flasher"; position = "90 0 275"; color = { hue = 120; }; frequency = 1; phase = -0.9; size = 10; },
			{ type = "flasher"; position = "-90 0 475"; color = { hue = 60; }; frequency = 1; phase = -0.5; size = 10; },
			{ type = "flasher"; position = "-90 0 425"; color = { hue = 75; }; frequency = 1; phase = -0.6; size = 10; },
			{ type = "flasher"; position = "-90 0 375"; color = { hue = 90; }; frequency = 1; phase = -0.7; size = 10; },
			{ type = "flasher"; position = "-90 0 325"; color = { hue = 105; }; frequency = 1; phase = -0.8; size = 10; },
			{ type = "flasher"; position = "-90 0 275"; color = { hue = 120; }; frequency = 1; phase = -0.9; size = 10; },
			{ type = "flasher"; position = "0 -16 252.0"; color = { hue = 60; }; frequency = 1; phase = 0.5; size = 10; },
			{ type = "flasher"; position = "0 16 252.0"; color = { hue = 60; }; frequency = 1; phase = 0.5; size = 10; },
			{ type = "flasher"; position = "-16 0 252.0"; color = { hue = 60; }; frequency = 1; phase = 0; size = 10; },
			{ type = "flasher"; position = "16 0 252.0"; color = { hue = 60; }; frequency = 1; phase = 0; size = 10; }
		);
		thrust = 100;
		weapon_energy = 0;
	};
	"cataclysm-ribilebi-station-dockingbay" = {
		ai_type = "dumbAI.plist";
		materials = {
			"cataclysm_ribilebi_station_docking_bay.png" = {
				diffuse_map = "cataclysm_ribilebi_station_docking_bay.png";
				emission_map = { name = "cataclysm_ribilebi_station_docking_bay.png"; extract_channel = "a"; };
				emission_modulate_color = (0.98, 0.96, 0.76, 1.0);
				normal_map = "cataclysm_ribilebi_station_dock_normal.png";
				gloss = 0.7;
			}
		};
		model = "cataclysm_ribilebi_station_dockingbay.dat";
		name = "Docking Bay";
		roles = "docking-slit";
	};
	"cataclysm-stn-buoy" = {
		like_ship = "oolite_template_buoy";
		ai_type = "cataclysm_stationBuoyAI.plist";
		beacon_label = "Navy Station Buoy";
		name = "Navy Station Buoy";
		roles = "cataclysm_stn_buoy";
		scan_class = "CLASS_BUOY";
	};
	"cataclysm-target-asteroid-1" = {
		like_ship = "asteroid";
		max_energy = 150;
		name = "Asteroid (Target 1)";
		roles = "cataclysm_target_asteroid_1";
		scan_class = "CLASS_ROCK";
	};
	"cataclysm-target-asteroid-2" = {
		like_ship = "asteroid-alternative";
		max_energy = 150;
		name = "Asteroid (Target 2)";
		roles = "cataclysm_target_asteroid_2";
		scan_class = "CLASS_ROCK";
	};
	"cataclysm-target-asteroid-3" = {
		like_ship = "asteroid";
		max_energy = 150;
		name = "Asteroid (Target 3)";
		roles = "cataclysm_target_asteroid_3";
		scan_class = "CLASS_ROCK";
	};
	"cataclysm-target-asteroid-4" = {
		like_ship = "asteroid-alternative";
		max_energy = 80;
		name = "Asteroid (Target 4)";
		roles = "cataclysm_target_asteroid_4";
		scan_class = "CLASS_ROCK";
	};
	"cataclysm-tetier-station" = {
		ai_type = "cataclysm_tetierStationAI.plist";
		allegiance = "private";
		beacon = "O";
		beacon_label = "Tetier Military Station";
		defense_ship_role = "cataclysm_military";
		equipment_price_factor = 2;
		equivalent_tech_level = 14;
		has_shipyard = yes;
		has_npc_traffic = no;
		like_ship = "cataclysm-ribilebi-station";
		materials = {
			"cataclysm_generic_metal.png" = {
				diffuse_map = "cataclysm_tetier_station.png";
				normal_map = "cataclysm_tetier_station_normal.png";
				emission_map = {name = "cataclysm_tetier_station.png"; extract_channel = "a"; };
				specular_color = (0.1, 0.1, 0.1);
				gloss = 0.5;
			};
		};
		max_defense_ships = 8;
		max_police = 0;
		max_scavengers = 0;
		name = "Tetier Military Station";
		roles = "cataclysm_tetier_station";
		script = "cataclysm-tetier-station.js";
		script_info = {
			bgs_tunnel_texture = "cataclysm_bgs.png";
		};
		subentities = (
			{ type = "standard"; is_dock = yes; subentity_key = "cataclysm-ribilebi-station-dockingbay"; position = (0, 0, 500); orientation = (1, 0, 0, 0); },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (0.0, 500.0, 309.0); orientation = (0.41407716, -0.91020828, -0.00410731, 0.00664614); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (0.0, 500.0, -309.0);  orientation = (-0.00410731, -0.00664614, 0.62889582, 0.77745038); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (0.0, -500.0, 309.0);  orientation = (0.62889582, 0.77745038, -0.00410731, -0.00664614);  weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (0.0, -500.0, -309.0); orientation = (-0.00410731, 0.00664614, 0.41407716, -0.91020828); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (309.0, 0.0, 500.0); orientation = (0.84793663, -0.10740930, 0.51484042, 0.06637895); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (309.0, 0.0, -500.0); orientation = (-0.52813256, -0.06637894, 0.83972198, -0.10740927); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (-309.0, 0.0, 500.0); orientation = (0.83972198, -0.10740927, -0.52813256, -0.06637894);  weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (-309.0, 0.0, -500.0); orientation = (0.51484042, 0.06637895, 0.84793663, -0.10740930); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (500.0, 309.0, 0.0); orientation = (-0.84382927, -0.11151659, 0.05973280, 0.52148652); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (500.0, -309.0, 0.0); orientation = (0.07302508, 0.52148646, 0.84382933, 0.10330197); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (-500.0, 309.0, 0.0); orientation = (0.84382933, 0.10330197, 0.07302508, 0.52148646); weapon_range = 7200; },
			{ type = "ball_turret"; subentity_key = "ballturret"; position = (-500.0, -309.0, 0.0); orientation = (0.05973280, 0.52148652, -0.84382927, -0.11151659); weapon_range = 7200; },
			{ type = "flasher"; position = "90 0 475"; color = { hue = 60; }; frequency = 1; phase = -0.5; size = 10; },
			{ type = "flasher"; position = "90 0 425"; color = { hue = 75; }; frequency = 1; phase = -0.6; size = 10; },
			{ type = "flasher"; position = "90 0 375"; color = { hue = 90; }; frequency = 1; phase = -0.7; size = 10; },
			{ type = "flasher"; position = "90 0 325"; color = { hue = 105; }; frequency = 1; phase = -0.8; size = 10; },
			{ type = "flasher"; position = "90 0 275"; color = { hue = 120; }; frequency = 1; phase = -0.9; size = 10; },
			{ type = "flasher"; position = "-90 0 475"; color = { hue = 60; }; frequency = 1; phase = -0.5; size = 10; },
			{ type = "flasher"; position = "-90 0 425"; color = { hue = 75; }; frequency = 1; phase = -0.6; size = 10; },
			{ type = "flasher"; position = "-90 0 375"; color = { hue = 90; }; frequency = 1; phase = -0.7; size = 10; },
			{ type = "flasher"; position = "-90 0 325"; color = { hue = 105; }; frequency = 1; phase = -0.8; size = 10; },
			{ type = "flasher"; position = "-90 0 275"; color = { hue = 120; }; frequency = 1; phase = -0.9; size = 10; },
			{ type = "flasher"; position = "0 -16 252.0"; color = { hue = 60; }; frequency = 1; phase = 0.5; size = 10; },
			{ type = "flasher"; position = "0 16 252.0"; color = { hue = 60; }; frequency = 1; phase = 0.5; size = 10; },
			{ type = "flasher"; position = "-16 0 252.0"; color = { hue = 60; }; frequency = 1; phase = 0; size = 10; },
			{ type = "flasher"; position = "16 0 252.0"; color = { hue = 60; }; frequency = 1; phase = 0; size = 10; }
		);
	};
	"cataclysm-thargoid-hive-1" = {
		ai_type = "cataclysm_thargoidHive1AI.plist";
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 100000;
		forward_weapon_type = "WEAPON_NONE";
		frangible = no;
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 1000000;
		max_flight_pitch = 8;
		max_flight_roll = 8;
		max_flight_speed = 0;
		missiles = 0;
		materials = {
			"cataclysm_thargoid_hive.png" = {
				diffuse_map = "cataclysm_thargoid_hive.png";
				normal_map = "cataclysm_thargoid_hive_normal.png";
				specular_color = 0.8;
				gloss = "0.8";
			};
		};
		model = "cataclysm_thargoid_hive_main.dat";
		name = "Unknown Structure";
		roles = "cataclysm_thargoid_hive_1";
		scan_class = "CLASS_THARGOID";
		script = "cataclysm-thargoid-hive-1.js";
		subentities = (
			//"cataclysm-hive-sub-1  0 0 0 1 0 0 0";
			{
				type = "standard";
				subentity_key = "cataclysm-hive-sub-1";
				position = (0, 0, 0);
				orientation = (1, 0, 0, 0);
			},
			//"cataclysm-hive-sub-2  0 0 0 1 0 0 0";
			{
				type = "standard";
				subentity_key = "cataclysm-hive-sub-2";
				position = (0, 0, 0);
				orientation = (1, 0, 0, 0);
			},
			//"cataclysm-hive-sub-3  0 0 0 1 0 0 0";
			{
				type = "standard";
				subentity_key = "cataclysm-hive-sub-3";
				position = (0, 0, 0);
				orientation = (1, 0, 0, 0);
			},
			//"cataclysm-hive-sub-4  0 0 0 1 0 0 0";
			{
				type = "standard";
				subentity_key = "cataclysm-hive-sub-4";
				position = (0, 0, 0);
				orientation = (1, 0, 0, 0);
			},
			//"cataclysm-thargoid-hive-core  0 0 0 1 0 0 0";
			{
				type = "standard";
				subentity_key = "cataclysm-thargoid-hive-core";
				position = (0, 0, 0);
				orientation = (1, 0, 0, 0);
			},
			//"*FLASHER* 0 0 0   0 0.25 0 480";
			{
				type = "flasher";
				position = (0, 0, 0);
				color = { hue = 0; };
				frequency = 0.25;
				phase = 0;
				size = 480;
			},
			//"*FLASHER* 0 0 0 120 0.25 2 480";
			{
				type = "flasher";
				position = (0, 0, 0);
				color = { hue = 120; };
				frequency = 0.25;
				phase = 2;
				size = 480;
			},
		);
		thrust = 5000;
		weapon_energy = 0;
	};
	"cataclysm-thargoid-hive-2" = {
		ai_type = "cataclysm_thargoidHive2AI.plist";
		energy_recharge_rate = 1000;
		frangible = yes;
		like_ship = "cataclysm-thargoid-hive-1";
		name = "Thargoid Hive";
		roles = "cataclysm_thargoid_hive_2";
		scanner_range = 30000;
		script = "cataclysm-thargoid-hive-2.js";
		weapon_energy = 500000;
	};
	"cataclysm-thargoid-hive-core" = {
		ai_type = "nullAI.plist";
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 40;
		forward_weapon_type = "WEAPON_NONE";
		has_ecm = no;
		has_escape_pod = no;
		has_scoop = no;
		max_energy = 2000;
		max_flight_speed = 0;
		missiles = 0;
		model = "cataclysm_thargoid_hive_core.dat";
		name = "Hive Core";
		roles = "cataclysm_thargoid_hive_core";
		rotational_velocity = "1 0.05 0.3 0.1";
		scan_class = "CLASS_THARGOID";
		script = "cataclysm-thargoid-hive-core.js";
		subentities = (
			//"*FLASHER* 0 0 0   0 0.25 0 480";
			{
				type = "flasher";
				position = (0, 0, 0);
				color = { hue = 0; };
				frequency = 0.25;
				phase = 0;
				size = 480;
			},
			//"*FLASHER* 0 0 0 120 0.25 2 480";
			{
				type = "flasher";
				position = (0, 0, 0);
				color = { hue = 120; };
				frequency = 0.25;
				phase = 2;
				size = 480;
			},
		);
		thrust = 5000;
		weapon_energy = 0;
	};
	"cataclysm-viper-wreck" = {
		ai_type = "cataclysm_viperWreckAI.plist";
		like_ship = "viper";
		materials =	{
			"kwViperwreck.png" = {
				diffuse_map = "cataclysm_viperwreck.png"; 
				gloss = 0.8;
				normal_map = "cataclysm_viperwreck_NORM.png";
				emission_map = "cataclysm_viperwreck_LITES.png";
				specular_map = "cataclysm_viperwreck_SPEC.png";
			};
		};	
		model = "cataclysm_wreckedviper.dat";
		name = "Navy Viper";
		roles = "cataclysm_viper_wreck";	
	};
	"cataclysm-warship-player" = {
		aft_eject_position = "0.0 -18.0 -106.0";
		aft_weapon_type = "WEAPON_MILITARY_LASER";
		custom_views = (
			{ view_description = "Rear View"; view_orientation = "1.0 0.0 0.0 0.0"; view_position = "0.0 35.0 -250.0"; weapon_facing = "FORWARD"; },
			{ view_description = "Rear Right View"; view_orientation = "0.9239 0.0 0.3827 0.0"; view_position = "176.78 35.0 -176.78"; weapon_facing = "FORWARD"; },
			{ view_description = "Right View"; view_orientation = "0.7071 0.0 0.7071 0.0"; view_position = "250.0 35.0 0.0"; weapon_facing = "FORWARD"; },
			{ view_description = "Front Right View"; view_orientation = "0.3827 0.0 0.9239 0.0"; view_position = "176.78 35.0 176.78"; weapon_facing = "FORWARD"; },
			{ view_description = "Front View"; view_orientation = "0.0 0.0 1.0 0.0"; view_position = "0.0 35.0 250.0"; weapon_facing = "FORWARD"; },
			{ view_description = "Front Left View"; view_orientation = "0.3827 0.0 -0.9239 0.0"; view_position = "-176.78 35.0 176.78"; weapon_facing = "FORWARD"; },
			{ view_description = "Left View"; view_orientation = "0.7071 0.0 -0.7071 0.0"; view_position = "-250.0 35.0 0.0"; weapon_facing = "FORWARD"; },
			{ view_description = "Rear Left View"; view_orientation = "0.9239 0.0 -0.3827 0.0"; view_position = "-176.78 35.0 -176.78"; weapon_facing = "FORWARD"; },
			{ view_description = "Top View"; view_orientation = "-0.7071 0.7071 0.0 0.0"; view_position = "0.0 300.0 -22.0"; weapon_facing = "FORWARD"; },
			{ view_description = "Bottom View"; view_orientation = "0.0 0.0 0.7071 0.7071"; view_position = "0.0 -345.0 -22.0"; weapon_facing = "FORWARD"; }
		);
		energy_recharge_rate = 6;
		exhaust = (
			" 30.8 -20 -48 2.3 0.1 500",
			"-30.8 -20 -48 2.3 0.1 500"
		);
		extra_cargo = 30;
		forward_weapon_type = "WEAPON_MILITARY_LASER";
		laser_color = "95 132 164";
		like_ship = "oolite_template_thargoid";
		max_cargo = 120;
		max_energy = 640;
		max_flight_pitch = 1;
		max_flight_roll = 2;
		max_flight_speed = 480;
		max_flight_yaw = 1.2;
		max_missiles = 8;
		missile_launch_position = "0.0 -58.0 -0.0";
		missile_load_time = 2.0;
		missile_role = "EQ_MISSILE";
		name = "Warship Replica";
		roles = "player";
		thrust = 45;
		view_position_aft = "0.0 4.0 -57.6";
		view_position_forward = "0.0 4.0 57.6";
		view_position_port = "-57.6 4.0 0.0";
		view_position_starboard = "57.6 4.0 0.0";
		weapon_energy = 27;
		weapon_position_aft = "0.0 -20.0 -57.6";
		weapon_position_forward = "0.0 -20.0 57.6";
		weapon_position_port = "-57.6 -20 0";
		weapon_position_starboard = "57.6 -20 0";
	};
	"cataclysm-warship-replica-1" = {
		aft_eject_position = "0.0 -18.0 -106.0";
		aft_weapon_type = "WEAPON_MILITARY_LASER";
		ai_type = "cataclysm_warshipReplica1AI.plist";
		bounty = 0;
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 4;
		exhaust = (
			" 30.8 -25 -38 2.3 0.1 500",
			"-30.8 -25 -38 2.3 0.1 500"
		);
		forward_weapon_type = "WEAPON_MILITARY_LASER";
		fuel = 70;
		has_ecm = yes;
		has_fuel_injection = yes;
		has_shield_booster = yes;
		has_shield_enhancer = yes;
		heat_insulation = 2;
		laser_color = "95 132 164";
		like_ship = "oolite_template_thargoid";
		max_cargo = 120;
		max_energy = 600;
		max_flight_pitch = 1;
		max_flight_roll = 2;
		max_flight_speed = 500;
		max_flight_yaw = 1.5;
		missile_launch_position = "0.0 -58.0 -0.0";
		missiles = 8;
		missile_load_time = 2.0;
		missile_role = "EQ_MISSILE";
		model_scale_factor = 0.9;
		name = "Warship Replica";
		roles = "cataclysm_warship_replica_1";
		scan_class = "CLASS_MILITARY";
		scanner_range = 30000;
		script = "cataclysm-warship-replica-1.js";
		thrust = 50;
		weapon_energy = 35;
	};
	"cataclysm-warship-replica-2" = {
		ai_type = "cataclysm_militaryAI.plist";
		like_ship = "cataclysm-warship-replica-1";
		roles = "cataclysm_warship_replica_2";
		scan_class = "CLASS_MILITARY";
		scanner_range = 25600;
		script = "cataclysm-warship-replica-2.js";
	};
	"cataclysm-wreckage" = {
		ai_type = "cataclysm_wreckageAI.plist";
		like_ship = "cobra3-trader";
		roles = "cataclysm_wreckage";
	};
}
