1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

Add new ships in E:D 1.5/2.0.

This commit is contained in:
Jonathan Harris 2015-12-15 19:01:26 +00:00
parent 75989dc0e8
commit 0a4cb864d1
3 changed files with 13 additions and 3 deletions

View File

@ -57,7 +57,10 @@ ship_map = {
'adder' : 'Adder',
'anaconda' : 'Anaconda',
'asp' : 'Asp Explorer',
'asp_scout' : 'Asp Scout',
'cobramkiii' : 'Cobra MkIII',
'cobramkiv' : 'Cobra MkIV',
'cutter' : 'Imperial Cutter',
'diamondback' : 'Diamondback Scout',
'diamondbackxl' : 'Diamondback Explorer',
'eagle' : 'Eagle',
@ -65,12 +68,14 @@ ship_map = {
'empire_eagle' : 'Imperial Eagle',
'empire_fighter' : 'Imperial Fighter',
'empire_trader' : 'Imperial Clipper',
'federation_corvette' : 'Federal Corvette',
'federation_dropship' : 'Federal Dropship',
'federation_dropship_mkii' : 'Federal Assault Ship',
'federation_gunship' : 'Federal Gunship',
'federation_fighter' : 'F63 Condor',
'ferdelance' : 'Fer-de-Lance',
'hauler' : 'Hauler',
'independant_trader' : 'Keelback',
'orca' : 'Orca',
'python' : 'Python',
'sidewinder' : 'Sidewinder',
@ -78,6 +83,7 @@ ship_map = {
'type7' : 'Type-7 Transporter',
'type9' : 'Type-9 Heavy',
'viper' : 'Viper MkIII',
'viper_mkiv' : 'Viper MkIV',
'vulture' : 'Vulture',
}

View File

@ -36,7 +36,9 @@ slot_map = {
# Map API ship names to Coriolis names
ship_map = dict(companion.ship_map)
ship_map['cobramkiii'] = 'Cobra Mk III'
ship_map['viper'] = 'Viper'
ship_map['cobramkiv'] = 'Cobra Mk IV',
ship_map['viper'] = 'Viper'
ship_map['viper_mkiv'] = 'Viper Mk IV'
# Map EDDN outfitting schema / in-game names to Coriolis names
@ -70,12 +72,12 @@ fixup_map = {
'Cytoscrambler Burst Laser' : ('Burst Laser', 'Cytoscrambler'),
'Enforcer Cannon' : ('Multi-cannon', 'Enforcer'),
'Imperial Hammer Rail Gun' : ('Rail Gun', 'Imperial Hammer'),
'Impulse Mine Launcher' : ('Mine Launcher', 'Impulse'),
'Mining Lance Beam Laser' : ('Mining Laser', 'Mining Lance'),
'Multi-Cannon' : ('Multi-cannon', None),
'Pacifier Frag-Cannon' : ('Fragment Cannon', 'Pacifier'),
'Pack-Hound Missile Rack' : ('Missile Rack', 'Pack-Hound'),
'Pulse Disruptor Laser' : ('Pulse Laser', 'Distruptor'), # Note sp
'Shock Mine Launcher' : ('Mine Launcher', 'Shock Mine Launcher'), # XXX
'Standard Docking Computer' : ('Docking Computer', 'Standard Docking Computer'),
}

View File

@ -14,7 +14,9 @@ import companion
# Map API ship names to E:D Shipyard ship names
ship_map = dict(companion.ship_map)
ship_map['cobramkiii'] = 'Cobra Mk III'
ship_map['viper'] = 'Viper'
ship_map['cobramkiv'] = 'Cobra Mk IV',
ship_map['viper'] = 'Viper'
ship_map['viper_mkiv'] = 'Viper Mk IV'
# Map API slot names to E:D Shipyard slot names