Break out countermeasures to allow for individual modifications

This commit is contained in:
Cmdr McDonald
2016-11-02 12:20:35 +00:00
parent 2d307a5c8a
commit c36ffb9a83
10 changed files with 351 additions and 285 deletions

View File

@@ -0,0 +1,25 @@
{
"ch": [
{
"ammo": 10,
"class": 0,
"clip": 1,
"cost": 8500,
"distdraw": 4,
"duration": 20,
"edID": 128049513,
"eddbID": 884,
"grp": "ch",
"id": "00",
"integrity": 20,
"mass": 1.3,
"name": "Chaff Launcher",
"passive": 1,
"power": 0.2,
"rating": "I",
"reload": 10,
"thermload": 4,
"rof": 1
}
]
}

View File

@@ -1,85 +0,0 @@
{
"cm": [
{
"ammo": 10,
"class": 0,
"clip": 1,
"cost": 8500,
"duration": 20,
"edID": 128049513,
"eddbID": 884,
"eps": 4,
"grp": "cm",
"hps": 4,
"id": "00",
"integrity": 20,
"mass": 1.3,
"name": "Chaff Launcher",
"passive": 1,
"power": 0.2,
"rating": "I",
"reload": 10,
"rof": 1
},
{
"activepower": 4,
"chargeup": 4,
"class": 0,
"cooldown": 10,
"cost": 12500,
"edID": 128049516,
"eddbID": 885,
"grp": "cm",
"id": "01",
"integrity": 20,
"mass": 1.3,
"name": "Electronic Countermeasure",
"power": 0.2,
"range": 3000,
"rating": "F"
},
{
"ammo": 2,
"class": 0,
"clip": 1,
"cost": 3500,
"duration": 10,
"edID": 128049519,
"eddbID": 886,
"eps": 0.4,
"grp": "cm",
"id": "02",
"integrity": 20,
"mass": 1.3,
"name": "Heat Sink Launcher",
"passive": 1,
"power": 0.2,
"rating": "I",
"reload": 10,
"rof": 0.2
},
{
"ammo": 10000,
"burst": 4,
"burstrof": 15,
"class": 0,
"clip": 50,
"cost": 18550,
"edID": 128049522,
"eddbID": 887,
"grp": "cm",
"id": "03",
"integrity": 20,
"jitter": 1.5,
"mass": 0.5,
"name": "Point Defence",
"passive": 1,
"power": 0.2,
"rating": "I",
"reload": 0,
"rof": 10,
"speed": 1000,
"type": "K"
}
]
}

View File

@@ -0,0 +1,23 @@
{
"ec": [
{
"activepower": 4,
"chargeup": 3,
"class": 0,
"cooldown": 10,
"cost": 12500,
"edID": 128049516,
"eddbID": 885,
"grp": "ec",
"id": "01",
"integrity": 20,
"mass": 1.3,
"name": "Electronic Countermeasure",
"power": 0.2,
"range": 3000,
"reload": 10,
"rating": "F",
"thermload": 4
}
]
}

View File

@@ -0,0 +1,26 @@
{
"hs": [
{
"ammo": 2,
"class": 0,
"clip": 1,
"cost": 3500,
"distdraw": 2,
"drain": 100,
"duration": 10,
"edID": 128049519,
"eddbID": 886,
"eps": 0.4,
"grp": "hs",
"id": "02",
"integrity": 20,
"mass": 1.3,
"name": "Heat Sink Launcher",
"passive": 1,
"power": 0.2,
"rating": "I",
"reload": 10,
"rof": 0.2
}
]
}

View File

@@ -0,0 +1,29 @@
{
"po": [
{
"ammo": 10000,
"burst": 4,
"burstrof": 15,
"class": 0,
"clip": 50,
"cost": 18550,
"edID": 128049522,
"eddbID": 887,
"grp": "cm",
"id": "03",
"integrity": 30,
"jitter": 1.5,
"mass": 0.5,
"name": "Point Defence",
"passive": 1,
"power": 0.2,
"range": 2500,
"rating": "I",
"reload": 0,
"rof": 10,
"speed": 1000,
"thermload": 0.1,
"type": "K"
}
]
}

View File

@@ -23,10 +23,13 @@ module.exports = {
nl: require('./hardpoints/mine_launcher').nl,
ml: require('./hardpoints/mining_laser').ml,
cs: require('./hardpoints/cargo_scanner').cs,
cm: require('./hardpoints/countermeasures').cm,
ws: require('./hardpoints/frame_shift_wake_scanner').ws,
kw: require('./hardpoints/kill_warrant_scanner').kw,
sb: require('./hardpoints/shield_booster').sb
sb: require('./hardpoints/shield_booster').sb,
ch: require('./hardpoints/chaff_launcher').ch,
ec: require('./hardpoints/electronic_countermeasure').ec,
hs: require('./hardpoints/heat_sink_launcher').hs,
po: require('./hardpoints/point_defence').po
},
internal: {
am: require('./internal/auto_field_maintenance_unit').am,