Module:VehicleHardpoint/data.json

{   "%smw_multilingual_text": "If the used SMW attributes are multi-lingual set the flag to 'true'.", "smw_multilingual_text": false, "%module_lang": "Set the language of the module, if set to 'null' the content language of the wiki will be used.", "module_lang": null, "%icon_prefix": "Prefix used to generate the icon file name. File names are then generated as 'icon_prefix ICON.svg", "icon_prefix": "Hardpoints icon", "%icon_name_lowercase": "Convert icon names to lowercase", "icon_name_lowercase": true, "%template_styles_page": "Page that containing the hardpoint styles", "template_styles_page": "Module:VehicleHardpoint/styles.css", "%name_fixes": "List of item names that as ambiguous. Maps a key (the name of the equipped hardpoint item) to the correct page on the wiki.", "name_fixes": {}, "%matches": "", "matches": { "Armor": { "class": "Facilities", "matches": [], "type": "Armor" },       "ArmorLocker": { "class": "CargoGrid", "matches": [ "hardpoint_armory_cargo_%d+" ],           "type": "ArmorStorage" },       "Battery": { "class": "Systems", "matches": [ "hardpoint_battery" ],           "type": "Battery" },       "Bed": { "class": "Facilities", "matches": [ "hardpoint_bed", "hardpoint_bed_.+" ],           "type": "Bed" },       "Cargo": { "class": "Cargo", "matches": [ "hardpoint_personal_inventory.*", "hardpoint_personal_storage.*", "hardpoint_storage_%d", "hardpoint_general_cargo_%d+", "hardpoint_medical_storage" ],           "type": "PersonalStorage" },       "CargoGrid": { "class": "Cargo", "matches": [ "hardpoint_cargo.*" ],           "type": "CargoGrid" },       "Computer": { "class": "Avionics", "matches": [ "hardpoint_avionics", "hardpoint_computer" ],           "type": "Computer" },       "Container": { "class": "Cargo", "matches": [ "hardpoint_mining_pod.*" ],           "type": "CargoPod" },       "Cooler": { "class": "Systems", "matches": [ "hardpoint_cooler_.+", "hardpoint_cooler" ],           "type": "Cooler" },       "DecoyLauncherMagazine": { "class": "Weapons", "matches": [], "type": "DecoyLauncherMagazine" },       "DockingCollar": { "class": "Facilities", "matches": [], "type": "DockingCollar" },       "DriveUnit": { "class": "Propulsion", "matches": [ "hardpoint_controller_wheel" ],           "type": "DriveUnit" },       "EMP": { "class": "Utility", "matches": [], "type": "EMPDevice" },       "ExternalFuelTank": { "class": "Cargo", "matches": [], "type": "CargoPod" },       "FireExtinguisher": { "class": "Facilities", "matches": [ "hardpoint_cabinet_extinguisher.*", "hardpoint_fire_extinguisher.*" ],           "type": "FireExtinguisher" },       "FuelIntake": { "class": "Propulsion", "matches": [ "hardpoint_fuel_intake.*" ],           "type": "FuelIntake" },       "TankingPort": { "class": "Propulsion", "matches": [], "type": "TankingPort" },       "FuelRefinery": { "class": "Utility", "matches": [ "hardpoint_fuel_refinery.*" ],           "type": "FuelRefinery" },       "FuelTank": { "class": "Propulsion", "matches": [ "hardpoint_fuel_tank.*" ],           "type": "FuelTank" },       "GravityGenerator": { "class": "Systems", "matches": [ "hardpoint_gravity_generator" ],           "type": "GravityGenerator" },       "LifeSupportGenerator": { "class": "Systems", "matches": [ "hardpoint_lifesupport", "hardpoint_life_support" ],           "type": "LifeSupportGenerator" },       "Magazine": { "class": "Weapons", "matches": [], "type": "Magazine" },       "MainThruster": { "class": "Thrusters", "matches": [ "hardpoint_engine_.+", "hardpoint_thrusters?.*_main.*", "hardpoint_Main_.+", "hardpoint_mainthruster_.+" ],           "type": "MainThruster" },       "ManneuverThruster": { "class": "Thrusters", "matches": [ "hardpoint_thrusters?_front_top_.+", "hardpoint_thrusters?_front_bottom_.+", "hardpoint_thrusters?_rear_top_.+", "hardpoint_thrusters?_rear_bottom_.+", "hardpoint_thrusters?_side_forward_.+", "hardpoint_thrusters?_side_back_.+", "hardpoint_thrusters?_top_forward_.+", "hardpoint_thrusters?_top_back_.+", "hardpoint_thrusters?_bottom_forward_.+", "hardpoint_thrusters?_bottom_back_.+", "hardpoint_thrusters?_left_upper_.+", "hardpoint_thrusters?_right_upper_.+", "hardpoint_thrusters?_left_lower_.+", "hardpoint_thrusters?_right_lower_.+", "hardpoint_thrusters?_left_retro", "hardpoint_thrusters?_right_retro", "hardpoint_Man_Thruster_.+", "hardpoint_thrusters?_mav.+", "hardpoint_thrusters?_maneuver_.+", "hardpoint_grav_.+", "hardpoint_gravplate_.+", "hardpoint_gravlev_.+" ],           "type": "ManneuverThruster" },       "Missile": { "class": "Weapons", "matches": [ "missile_.+_attach", "missile_attach_.+" ],           "type": "Ordnance" },       "MissileLauncher": { "class": "Weapons", "matches": [ "hardpoint_missile_+" ],           "type": "Ordnance" },       "NoiseLauncherMagazine": { "class": "Weapons", "matches": [], "type": "NoiseLauncherMagazine" },       "Paint": { "class": "Facilities", "matches": [ "hardpoint_paint" ],           "type": "Paint" },       "PersonalInventory": { "class": "Cargo", "matches": [ "hardpoint_personal_inventory.*", "hardpoint_personal_storage.*", "hardpoint_storage_%d", "hardpoint_general_cargo_%d+" ],           "type": "PersonalStorage" },       "PowerPlant": { "class": "Systems", "matches": [ "hardpoint_engine_attach.*", "hardpoint_power_plant" ],           "type": "PowerPlant" },       "QuantumDrive": { "class": "Propulsion", "matches": [ "hardpoint_quantum_drive" ],           "type": "QuantumDrive" },       "QuantumFuelTank": { "class": "Propulsion", "matches": [ "hardpoint_quantum_fuel.*" ],           "type": "QuantumFuelTank" },       "QuantumInterdictionGenerator": { "class": "Utility", "matches": [], "type": "QuantumJammer" },       "QuantumEnforcementDevice": { "class": "Utility", "matches": [], "type": "QuantumEnforcementDevice" },       "Radar": { "class": "Avionics", "matches": [ "hardpoint_radar.*" ],           "type": "Radar" },       "SalvageFillerStation": { "class": "Facilities", "matches": [ "hardpoint_refill_station" ],           "type": "FillerStation" },       "SalvageHead": { "class": "Utility", "matches": [ "hardpoint_salvage_laser" ],           "type": "SalvageHead" },       "SalvageModifier": { "class": "Utility", "matches": [], "type": "SalvageModifier" },       "Scanner": { "class": "Avionics", "matches": [ "hardpoint_scanner", "hardpoint_controller_scanner" ],           "type": "Scanner" },       "SeatAccess": { "class": "Cargo", "matches": [], "type": "PersonalStorage" },       "Shield": { "class": "Systems", "matches": [ "hardpoint_shield_generator.*" ],           "type": "Shield" },       "ToolArm": { "class": "Utility", "matches": [], "type": "UtilityArm" },       "Turret": { "class": "Weapons", "matches": [ "TurretBase", "hardpoint_front_turret", "^hardpoint_turret_top_front$", "^hardpoint_turret_top_back$", "^hardpoint_turret_bottom_left$", "^hardpoint_turret_bottom_right$" ],           "type": "Turret" },       "UtilityTurret": { "class": "Utility", "matches": [], "type": "UtilityTurret" },       "WeaponDefensive": { "class": "Utility", "matches": [], "type": "Countermeasure" },       "WeaponGun": { "class": "Weapons", "matches": [ "hardpoint_weapon_left", "hardpoint_weapon_right" ],           "type": "Weapons" },       "WeaponLocker": { "class": "Cargo", "matches": [ "hardpoint_.*weapon_?locker.*", "hardpoint_weapon_?rack.*", "hardpoint_weapon_rack", "hardpoint_weapon_seat_rack.*", "hardpoint_gun_rack", "hardpoint_gunrack", "hardpoint_rack_FL", "hardpoint_rack_FR", "hardpoint_rack_RL", "hardpoint_rack_RR", "hardpoint_weaponlocker" ],           "type": "WeaponRack" },       "WeaponMining": { "class": "Utility", "matches": [ "hardpoint_weapon_mining" ],           "type": "MiningLaser" },       "WeaponPort": { "class": "Weapons", "matches": [], "type": "WeaponPort" }   },    "%hardpoint_type_fixes": "List of hardpoint names that should be checked against all matchers to retrieve the correct item type", "hardpoint_type_fixes": [ "PersonalInventory", "ArmorLocker", "WeaponLocker", "Bed", "Container", "FuelRefinery", "Battery", "Computer", "DriveUnit", "GravityGenerator", "LifeSupportGenerator", "FireExtinguisher" ],   "%missing_icons": "List of labels with missing icons", "missing_icons": [ "Armor", "ArmorStorage", "Bed", "CargoGrid", "CargoPod", "Countermeasure", "DriveUnit", "EMPDevice", "FillerStation", "FireExtinguisher", "FuelRefinery", "GravLev", "Paint", "PersonalStorage", "QuantumJammer", "TankingPort", "UtilityArm", "UtilityTurret", "WeaponStorage" ],   "%class_groupings": "This defines the order and the grouping of the defined classes. The key is used to retrieve the tabber translation", "class_groupings": [ [           "avionic_systems", [               "Avionics", "Systems" ]       ],        [            "propulsion_thrusters", [               "Propulsion", "Thrusters" ]       ],        [            "weapons_utility", [               "Weapons", "Utility" ]       ],        [            "cargo_facilities", [               "Cargo", "Facilities" ]       ]    ],    "%section_label_fixes": "Hardcoded list of types that needs to be fixed for section label", "section_label_fixes": {}, "%fixes": "Manually fix some (sub_)types by checking the hardpoint type", "fixes": [ {           "type": [ "ManneuverThruster", "MainThruster" ],           "modification": [ {                   "if": [ [                           "sub_type:FixedThruster", "or", "sub_type:UNDEFINED" ],                       "and", [                           "name:match:vtol" ]                   ],                    "then": "sub_type=VtolThruster" },               {                    "if": [ [                           "sub_type:FixedThruster", "or", "sub_type:UNDEFINED" ],                       "and", [                           "name:match:retro" ]                   ],                    "then": "sub_type=RetroThruster" },               {                    "if": [ [                           "sub_type:JointThruster", "or", "sub_type:UNDEFINED" ],                       "and", [                           "name:match:vtol" ]                   ],                    "then": "sub_type=GravLev" },               {                    "if": [ "type:MainThruster" ],                   "then": "sub_type=Main+sub_type" }           ]        },        {            "type": "WeaponDefensive", "modification": [ {                   "if": [ [                           "sub_type:CountermeasureLauncher", "or", "sub_type:UNDEFINED" ],                       "and", [                           [                                "class_name:match:decoy" ],                           "or", [                               "class_name:match:flare" ]                       ]                    ],                    "then": "sub_type=DecoyLauncher" },               {                    "if": [ [                           "sub_type:CountermeasureLauncher", "or", "sub_type:UNDEFINED" ],                       "and", [                           [                                "class_name:match:chaff" ],                           "or", [                               "class_name:match:noise" ]                       ]                    ],                    "then": "sub_type=NoiseLauncher" }           ]        },        {            "type": "FuelTank", "modification": [ {                   "if": [ "class_name:match:small" ],                   "then": "sub_type=FuelTankSmall" },               {                    "if": [ "class_name:match:large" ],                   "then": "sub_type=FuelTankLarge" }           ]        },        {            "type": "QuantumFuelTank", "modification": [ {                   "if": [ "class_name:match:small" ],                   "then": "sub_type=QuantumFuelTankSmall" },               {                    "if": [ "class_name:match:small" ],                   "then": "sub_type=QuantumFuelTankLarge" }           ]        },        {            "type": "Turret", "modification": [ {                   "if": [ "sub_type:GunTurret", "and", "class_name:match:mount_gimbal" ],                   "then": [ "type=WeaponGun", "sub_type=GimbalMount" ]               },                {                    "if": [ "sub_type:BallTurret", "or", "sub_type:CanardTurret" ],                   "then": [ "type=WeaponGun" ]               },                {                    "if": [ "sub_type:Utility", "and", "class_name:match:salvage" ],                   "then": [ "type=UtilityTurret", "sub_type=GunTurret" ]               },                {                    "if": [ "sub_type:Turret", "and", "class_name:match:remote" ],                   "then": [ "sub_type=RemoteTurret" ]               }            ]        },        {            "type": "ToolArm", "modification": [ {                   "if": [ "sub_type:UNDEFINED", "and", "class_name:match:mining" ],                   "then": [ "sub_type=MiningArm" ]               },                {                    "if": [ "sub_type:UNDEFINED", "and", "class_name:match:salvage" ],                   "then": [ "sub_type=SalvageArm" ]               }            ]        },        {            "type": "DockingCollar", "modification": [ {                   "if": [ "sub_type:UNDEFINED", "and", "class_name:match:fuel" ],                   "then": [ "type=TankingPort" ]               }            ]        }    ] }