Advanced Flyer Foundry (l_air_factory_adv) - /pa/units/air/l_air_factory_adv/l_air_factory_adv.json

Advanced Manufacturing - Builds basic and advanced air units.
{
    "display_name": "!LOC:Advanced Flyer Foundry",
    "description": "!LOC:Advanced Manufacturing - Builds basic and advanced air units.",
    "TEMP_texelinfo": 42.821,
    "area_build_separation": 2,
    "atrophy_cool_down": 15,
    "atrophy_rate": 80,
    "audio": {
        "loops": {
            "build": {
                "cue": "/SE/Construction/Factory_contruction_loop_air",
                "flag": "build_target_changed",
                "should_start_func": "has_build_target",
                "should_stop_func": "no_build_target"
            }
        }
    },
    "base_spec": "/pa/units/land/base_structure/base_structure.json",
    "build_metal_cost": 4800,
    "buildable_types": "Custom1 & ( Air & Mobile & FactoryBuild )",
    "command_caps": [
        "ORDER_Move",
        "ORDER_Patrol",
        "ORDER_FactoryBuild",
        "ORDER_Reclaim",
        "ORDER_Repair",
        "ORDER_Attack",
        "ORDER_Assist"
    ],
    "events": {
        "died": {
            "effect_scale": 2
        }
    },
    "factory_cooldown_time": 2,
    "fx_offsets": [
        {
            "bone": "arm_lathe001",
            "filename": "/pa/effects/specs/legion_factory_spray.pfx",
            "type": "build"
        },
        {
            "bone": "arm_lathe002",
            "filename": "/pa/effects/specs/legion_factory_spray.pfx",
            "type": "build"
        },
        {
            "bone": "arm_lathe003",
            "filename": "/pa/effects/specs/legion_factory_spray.pfx",
            "type": "build"
        },
        {
            "bone": "arm_lathe004",
            "filename": "/pa/effects/specs/legion_factory_spray.pfx",
            "type": "build"
        },
        {
            "bone": "bone_root",
            "filename": "/pa/effects/specs/factory_smoke_big.pfx",
            "offset": [
                15.5,
                20,
                11
            ],
            "type": "enabled"
        },
        {
            "bone": "bone_root",
            "filename": "/pa/effects/specs/factory_smoke_big.pfx",
            "offset": [
                -15.5,
                20,
                11
            ],
            "type": "enabled"
        },
        {
            "bone": "bone_root",
            "filename": "/pa/effects/specs/factory_smoke_big.pfx",
            "offset": [
                15.5,
                -20,
                11
            ],
            "type": "enabled"
        },
        {
            "bone": "bone_root",
            "filename": "/pa/effects/specs/factory_smoke_big.pfx",
            "offset": [
                -15.5,
                -20,
                11
            ],
            "type": "enabled"
        }
    ],
    "headlights": [
        {
            "bone": "bone_platform",
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "far_distance": 20,
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "intensity": 3,
            "near_distance": 1,
            "near_height": 3,
            "near_width": 3,
            "offset": [
                9.5,
                9.5,
                2.5
            ],
            "orientation": [
                -35,
                31,
                0
            ]
        },
        {
            "bone": "bone_platform",
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "far_distance": 20,
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "intensity": 3,
            "near_distance": 1,
            "near_height": 3,
            "near_width": 3,
            "offset": [
                9.5,
                -9.5,
                2.5
            ],
            "orientation": [
                -35,
                -31,
                0
            ]
        },
        {
            "bone": "bone_platform",
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "far_distance": 20,
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "intensity": 3,
            "near_distance": 1,
            "near_height": 3,
            "near_width": 3,
            "offset": [
                -9.5,
                9.5,
                2.5
            ],
            "orientation": [
                35,
                31,
                0
            ]
        },
        {
            "bone": "bone_platform",
            "color": [
                1.5,
                1.52,
                1.6
            ],
            "far_distance": 20,
            "gobo": "/pa/effects/textures/gobo/spotlight_gobo.papa",
            "intensity": 3,
            "near_distance": 1,
            "near_height": 3,
            "near_width": 3,
            "offset": [
                -9.5,
                -9.5,
                2.5
            ],
            "orientation": [
                35,
                -31,
                0
            ]
        }
    ],
    "lamps": [
        {
            "color": [
                0.1,
                1,
                0.1
            ],
            "intensity": 2,
            "offset": [
                8.02,
                -20.88,
                12.04
            ],
            "radius": 8
        },
        {
            "color": [
                0.1,
                1,
                0.1
            ],
            "intensity": 2,
            "offset": [
                0,
                -20.88,
                12.04
            ],
            "radius": 8
        },
        {
            "color": [
                0.1,
                1,
                0.1
            ],
            "intensity": 2,
            "offset": [
                -8.02,
                -20.88,
                12.04
            ],
            "radius": 8
        },
        {
            "color": [
                1,
                0,
                0
            ],
            "intensity": 2,
            "offset": [
                -4,
                -23.79,
                8.44
            ],
            "radius": 4
        }
    ],
    "max_health": 30000,
    "mesh_bounds": [
        60,
        61,
        35
    ],
    "model": [
        {
            "animations": {
                "build_end": "/pa/units/air/l_air_factory_adv/l_air_factory_adv_end.papa",
                "build_loop": "/pa/units/air/l_air_factory_adv/l_air_factory_adv_build.papa",
                "build_start": "/pa/units/air/l_air_factory_adv/l_air_factory_adv_start.papa"
            },
            "animtree": "/pa/anim/anim_trees/factory_anim_tree.json",
            "filename": "/pa/units/air/l_air_factory_adv/l_air_factory_adv.papa",
            "layer": "WL_LandHorizontal",
            "skirt_decal": "/pa/effects/specs/skirt_air_adv.json"
        },
        {
            "animations": {
                "build_end": "/pa/units/air/l_air_factory_adv/l_air_factory_adv_end.papa",
                "build_loop": "/pa/units/air/l_air_factory_adv/l_air_factory_adv_build.papa",
                "build_start": "/pa/units/air/l_air_factory_adv/l_air_factory_adv_start.papa"
            },
            "animtree": "/pa/anim/anim_trees/factory_anim_tree.json",
            "filename": "/pa/units/air/l_air_factory_adv/l_air_factory_adv.papa",
            "layer": "WL_WaterSurface"
        }
    ],
    "placement_size": [
        60,
        60
    ],
    "recon": {
        "observer": {
            "items": [
                {
                    "channel": "sight",
                    "layer": "surface_and_air",
                    "radius": 100,
                    "shape": "capsule"
                },
                {
                    "channel": "sight",
                    "layer": "underwater",
                    "radius": 100,
                    "shape": "capsule"
                }
            ]
        }
    },
    "rolloff_dirs": [
        [
            1,
            0,
            0
        ],
        [
            -1,
            0,
            0
        ],
        [
            0,
            1,
            0
        ],
        [
            0,
            -1,
            0
        ]
    ],
    "selection_icon": {
        "diameter": -79
    },
    "spawn_layers": "WL_AnyHorizontalGroundOrWaterSurface",
    "tools": [
        {
            "aim_bone": "bone_root",
            "spec_id": "/pa/units/air/l_air_factory_adv/l_air_factory_adv_build_arm.json"
        }
    ],
    "unit_types": [
        "UNITTYPE_Factory",
        "UNITTYPE_Construction",
        "UNITTYPE_Air",
        "UNITTYPE_Structure",
        "UNITTYPE_Advanced",
        "UNITTYPE_Important",
        "UNITTYPE_Custom1"
    ],
    "wait_to_rolloff_time": 0
}