{
    "yah_set_C_asteroid-billboard" =     {
		like_ship = "yah_asteroid-billboard";
        shaders =         {
            "screen-content" =             {
                "fragment_shader" = "yah_ahruman-billboard.fragment";
                textures =                 (
                                        {
                        "mag_filter" = nearest;
                        name = "yah_set_C_asteroid-billboard-diffuse.png";
                        "repeat_t" = yes;
                    },
                                        {
                        "min_filter" = nearest;
                        name = "yah_ahruman-billboard-pixel-mask.png";
                    },
                                        {
                        "min_filter" = nearest;
                        name = "yah_ahruman-billboard-pixel-glow.png";
                    }
                );
                uniforms =                 {
                    uDiffuseMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uPixelGlowMap =                     {
                        type = texture;
                        value = 2;
                    };
                    uPixelMaskMap =                     {
                        type = texture;
                        value = 1;
                    };
                    uTime = timeElapsedSinceSpawn;
                    uTimeOffset = entityPersonality;
                };
                "vertex_shader" = "yah_ahruman-billboard.vertex";
            };
        };
        thrust = 0;
    };
    "yah_set_C_constore" =     {
        "defense_ship_role" = "mallwartsecurity";
        like_ship = "yah_constore";
        name = "Mall-Wart Con Store";
        roles = "constore pi47 station constore-C";
        script_info = {"bgs_tunnel_texture" = "yah_setc_bgs.png";};
		shaders = {
			"yah_griff_station_bottom.png" =             {
				"fragment_shader" = "yah_griff_station_bottom_section.fragment";
				textures =                 (
					"yah_griff_station_bottom.png",
					"yah_griff_station_paint_mask.png"
				);
				uniforms =                 {
					DecalColor =                     {
						type = vector;
						value = "1.0 0.9794 0.4736";
					};
					MainhullColor =                     {
						type = vector;
						value = "0.0 0.3922 0.7098";
					};
					"hull_heat_level" = hullHeatLevel;
					uColorMap =                     {
						type = texture;
						value = 0;
					};
					uEffectsMap =                     {
						type = texture;
						value = 1;
					};
					uTime = universalTime;
				};
				"vertex_shader" = "YAH-generic.vertex";
			};
		};
        subentities =         (
			{
				"subentity_key" = "yah_set_C_griff_station_top";
			},
			{
				"subentity_key" = "yah_griff_station_subents";
			},
			{
				"subentity_key" = "yah_griff_station_antenna";
			},
			{
				"subentity_key" = "yah_griff_station_baydoor_flashers";
			},
			{
				"subentity_key" = "yah_griff_station_adring_sides";
			},
			{
				"subentity_key" = "yah_griff_station_dockingbay";
				"is_dock" = true;
				"position" = (0, 0, 1128.55);
			},
			{
				"subentity_key" = "yah_griff_station_bbsurround_1x1";
				"position" = (-202.0812, 212.202, 181.7206);
				"orientation" = (0.3987, 0, 0, 0.917);
			},
			{
				"subentity_key" = "yah_griff_station_bbsurround_1x2";
				"position" = (221.3929, -177.1714, -233.5789);
				"orientation" = (0.8987, 0, 0, -0.43837);
			},
			{
				"subentity_key" = "yah_griff_station_bbsurround_1x2";
				"position" = (221.3929, -177.1714, 263.2954);
				"orientation" = (0.8987, 0, 0, -0.43837);
			},
			{
				"subentity_key" = "yah_set_C_griff_station_glowads";
			},
			{
				"subentity_key" = "yah_set_C_griff_station_adring";
			},
			{
				"subentity_key" = "yah_set_C_griff_station_roof_billboard";
			},
			{
				"subentity_key" = "yah_set_C_small_ad";
				"position" = (-202.0812, 212.202, 181.7206);
				"orientation" = (0.3987, 0, 0, 0.917);
			},
			{
				"subentity_key" = "yah_set_C_firm_ad";
				"position" = (221.3929, -177.1714, -233.5789);
				"orientation" = (0.8987, 0, 0, -0.43837);
			},
			{
				"subentity_key" = "yah_set_C_large_ad";
				"position" = (221.3929, -177.1714,  263.2954);
				"orientation" = (0.8987, 0, 0, -0.43837);
			}
        );
    };
    "yah_set_C_firm_ad" =     {
		"ai_type" = "nullAI.plist";
        materials =         {
            "yah_griff_no_shader_screen.png" =             {
                "diffuse_map" = "yah_griff_no_shader_screen.png";
                "emission_map" =                 {
                    "extract_channel" = b;
                    name = "yah_griff_no_shader_screen.png";
                };
                "emission_modulate_color" =                 (
                    "0.9926",
                    "0.9686",
                    "0.7325"
                );
                shininess = 55;
                "specular_color" =                 (
                    "0.2",
                    "0.2",
                    "0.2"
                );
            };
        };
        model = "yah_griff_station_bbsurround_1x2_screen.dat";
        roles = "yah_set_C_constore_subent";
        shaders =         {
            "yah_griff_no_shader_screen.png" =             {
                "fragment_shader" = "yah_griff_station_animated_billboard.fragment";
                textures =                 (
                                        {
                        name = "yah_set_C_firmad_2frames.png";
                        "repeat_t" = yes;
                    }
                );
                uniforms =                 {
                    FrameCount =                     {
                        type = float;
                        value = "2.0";
                    };
                    TimePerFrame =                     {
                        type = float;
                        value = "1.0";
                    };
                    uColorMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uTime = timeElapsedSinceSpawn;
                };
                "vertex_shader" = "yah_griff_station_animated.vertex";
            };
        };
    };
    "yah_set_C_griff_station_adring" =     {
        "ai_type" = "nullAI.plist";
        materials =         {
            "yah_set_C_griff_station_adring.png" =             {
                "diffuse_map" = "yah_set_C_griff_station_adring.png";
                "emission_modulate_color" =                 (
                    "0.5",
                    "0.5",
                    "0.5"
                );
                shininess = 55;
                "specular_color" =                 (
                    "0.2",
                    "0.2",
                    "0.2"
                );
            };
        };
        model = "yah_set_C_griff_station_adring.dat";
        roles = "yah_set_C_constore_subent";
        shaders =         {
            "yah_set_C_griff_station_adring.png" =             {
                "fragment_shader" = "yah_griff_station_adring.fragment";
                textures =                 (
                                        {
                        name = "yah_set_C_griff_station_adring.png";
                        "repeat_s" = yes;
                    }
                );
                uniforms =                 {
                    uColorMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uTime = timeElapsedSinceSpawn;
                };
                "vertex_shader" = "yah_griff_station_adring.vertex";
            };
        };
        smooth = true;
    };
    "yah_set_C_griff_station_glowads" =     {
        materials =         {
            "yah_set_C_griff_station_glow_ads.png" =             {
                "diffuse_map" = "yah_set_C_griff_station_glow_ads.png";
                "emission_map" =                 {
                    "extract_channel" = a;
                    name = "yah_set_C_griff_station_glow_ads.png";
                };
                "emission_modulate_color" =                 (
                    "0.5",
                    "0.5",
                    "0.5"
                );
                shininess = 15;
                "specular_color" =                 (
                    "0.2",
                    "0.2",
                    "0.2"
                );
            };
        };
        model = "yah_set_C_griff_station_glowads.dat";
        roles = "yah_set_C_constore_subent";
        shaders =         {
            "yah_set_C_griff_station_glow_ads.png" =             {
                "fragment_shader" = "yah_griff_station_hull.fragment";
                textures =                 (
                    "yah_set_C_griff_station_glow_ads.png"
                );
                uniforms =                 {
                    "hull_heat_level" = hullHeatLevel;
                    uColorMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uTime = universalTime;
                };
                "vertex_shader" = "YAH-generic.vertex";
            };
        };
    };
    "yah_set_C_griff_station_roof_billboard" =     {
        "ai_type" = "nullAI.plist";
        materials =         {
            "yah_set_C_griff_station_no_shader_roof_billboard.png" =             {
                "diffuse_map" = "yah_set_C_griff_station_no_shader_roof_billboard.png";
                "emission_map" = "yah_set_C_griff_station_no_shader_roof_billboard.png";
                shininess = 55;
                "specular_color" =                 (
                    "0.2",
                    "0.2",
                    "0.2"
                );
            };
        };
        model = "yah_set_C_griff_station_roof_billboard.dat";
        roles = "yah_set_C_constore_subent";
        shaders =         {
            "yah_set_C_griff_station_no_shader_roof_billboard.png" =             {
                "fragment_shader" = "yah_griff_station_animated_billboard.fragment";
                textures =                 (
                    "yah_set_C_griff_station_roof_billboard.png"
                );
                uniforms =                 {
                    FrameCount =                     {
                        type = float;
                        value = "4.0";
                    };
                    TimePerFrame =                     {
                        type = float;
                        value = "1.0";
                    };
                    uColorMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uTime = timeElapsedSinceSpawn;
                };
                "vertex_shader" = "yah_griff_station_animated.vertex";
            };
        };
    };
    "yah_set_C_griff_station_top" =     {
        materials =         {
            "yah_griff_station_top.png" =             {
                "diffuse_map" = "yah_griff_station_top.png";
                "emission_map" =                 {
                    "extract_channel" = a;
                    name = "yah_griff_station_top.png";
                };
                "emission_modulate_color" =                 (
                    "0.9926",
                    "0.9686",
                    "0.7325"
                );
                shininess = 5;
                "specular_color" =                 (
                    "0.2",
                    "0.2",
                    "0.2"
                );
            };
        };
        model = "yah_griff_station_top.dat";
        roles = "yah_set_C_constore_subent";
        shaders =         {
            "yah_griff_station_top.png" =             {
                "fragment_shader" = "yah_griff_station_top_section.fragment";
                textures =                 (
                    "yah_griff_station_top.png",
                    "yah_griff_station_paint_mask.png"
                );
                uniforms =                 {
                    DecalColor =                     {
                        type = vector;
                        value = "1.0 0.9794 0.4736";
                    };
                    MainhullColor =                     {
                        type = vector;
                        value = "0.0 0.3922 0.7098";
                    };
                    "hull_heat_level" = hullHeatLevel;
                    uColorMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uEffectsMap =                     {
                        type = texture;
                        value = 1;
                    };
                    uTime = universalTime;
                };
                "vertex_shader" = "YAH-generic.vertex";
            };
        };
        smooth = false;
    };
    "yah_set_C_large_ad" =     {
		"ai_type" = "nullAI.plist";
        materials =         {
            "yah_griff_no_shader_screen.png" =             {
                "diffuse_map" = "yah_griff_no_shader_screen.png";
                "emission_map" =                 {
                    "extract_channel" = b;
                    name = "yah_griff_no_shader_screen.png";
                };
                "emission_modulate_color" =                 (
                    "0.9926",
                    "0.9686",
                    "0.7325"
                );
                shininess = 55;
                "specular_color" =                 (
                    "0.2",
                    "0.2",
                    "0.2"
                );
            };
        };
        model = "yah_griff_station_bbsurround_1x2_screen.dat";
        roles = "yah_set_C_constore_subent";
        shaders =         {
            "yah_griff_no_shader_screen.png" =             {
                "fragment_shader" = "yah_griff_station_animated_billboard.fragment";
                textures =                 (
                                        {
                        name = "yah_set_C_ad_large_4frames.png";
                        "repeat_t" = yes;
                    }
                );
                uniforms =                 {
                    FrameCount =                     {
                        type = float;
                        value = "4.0";
                    };
                    TimePerFrame =                     {
                        type = float;
                        value = "0.4";
                    };
                    uColorMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uTime = timeElapsedSinceSpawn;
                };
                "vertex_shader" = "yah_griff_station_animated.vertex";
            };
        };
    };
    "yah_set_C_sidewinder_defender" =     {
		like_ship = "yah_griff_sidewinder_defender";
		materials = 
			{ 
				"griff_sidewinder_diffuse.png" = 
				{ 
					diffuse_map = "yah_z_groovy_sidewinder_mallwart.png";
					specular_color = ( 0.6, 0.5, 0.5 );  // Applies when specular map is not used (no 					shaders) 
					shininess = 3; 
					emission_map = { name = "yah_griff_sidewinder_effects.png"; extract_channel = "a"; }; 
					emission_modulate_color = (1.0, 0.9942, 0.3403); 				
				}; 
			};
        name = "Sidewinder Mall-Wart Security";
        roles = "mallwartsecurity";
		shaders = 
		{ 
            "griff_sidewinder_diffuse.png" = 
			{ 
                vertex_shader = "yah_griff_normalmap_ships.vertex"; 
                fragment_shader = "yah_griff_sidewinder_a_channel_decals.fragment"; 
                textures = 
						(
							"yah_z_groovy_sidewinder_mallwart.png", 
							"yah_griff_sidewinder_normal.png",
							"yah_griff_sidewinder_effects.png",
						);
				uniforms =
						{
						uColorMap = { type = texture; value = 0; };
						uNormalMap = { type = texture; value = 1; };
						uEffectsMap = { type = texture; value = 2; };
						uDecalMap = { type = texture; value = 3; };	
						uTime = "universalTime";
						nearly_dead = "throwingSparks";	
						isHostile = "hasHostileTarget";
						hull_heat_level = "hullHeatLevel";
						laser_heat_level = "laserHeatLevel";					
						engine_power = "speedFactor"; 
						uDecalSelect = "entityPersonality";				
						}; 	
			}; 
		};
    };
    "yah_set_C_small_ad" =     {
        "ai_type" = "nullAI.plist";
        materials =         {
            "yah_griff_no_shader_screen.png" =             {
                "diffuse_map" = "yah_griff_no_shader_screen.png";
                "emission_map" =                 {
                    "extract_channel" = b;
                    name = "yah_griff_no_shader_screen.png";
                };
                "emission_modulate_color" =                 (
                    "0.9926",
                    "0.9686",
                    "0.7325"
                );
                shininess = 55;
                "specular_color" =                 (
                    "0.2",
                    "0.2",
                    "0.2"
                );
            };
        };
        model = "yah_griff_station_bbsurround_1x1_screen.dat";
        roles = "yah_set_A_constore_subent";
        shaders =         {
            "yah_griff_no_shader_screen.png" =             {
                "fragment_shader" = "yah_griff_station_animated_billboard.fragment";
                textures =                 (
                                        {
                        name = "yah_set_C_ad_small_4frames.png";
                        "repeat_t" = yes;
                    }
                );
                uniforms =                 {
                    FrameCount =                     {
                        type = float;
                        value = "4.0";
                    };
                    TimePerFrame =                     {
                        type = float;
                        value = "2.0";
                    };
                    uColorMap =                     {
                        type = texture;
                        value = 0;
                    };
                    uTime = timeElapsedSinceSpawn;
                };
                "vertex_shader" = "yah_griff_station_animated.vertex";
            };
        };
    };
}
