mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-15 08:40:34 +03:00
Workaround for Int_DroneControl_ResourceSiphon
This commit is contained in:
parent
7fe08f61b3
commit
4125ac6b90
@ -457,6 +457,8 @@ def lookup(module, ship_map, entitled=False):
|
|||||||
|
|
||||||
if len(name) < 4 and name[1] == 'unkvesselresearch': # Hack! No size or class.
|
if len(name) < 4 and name[1] == 'unkvesselresearch': # Hack! No size or class.
|
||||||
(new['class'], new['rating']) = ('1', 'E')
|
(new['class'], new['rating']) = ('1', 'E')
|
||||||
|
elif len(name) < 4 and name[1] == 'resourcesiphon': # Hack! 128066402 has no size or class.
|
||||||
|
(new['class'], new['rating']) = ('1', 'I')
|
||||||
elif len(name) < 4 and name[1] in ['guardianpowerdistributor', 'guardianpowerplant']: # Hack! No class.
|
elif len(name) < 4 and name[1] in ['guardianpowerdistributor', 'guardianpowerplant']: # Hack! No class.
|
||||||
(new['class'], new['rating']) = (str(name[2][4:]), 'A')
|
(new['class'], new['rating']) = (str(name[2][4:]), 'A')
|
||||||
elif len(name) < 4 and name[1] in ['guardianfsdbooster']: # Hack! No class.
|
elif len(name) < 4 and name[1] in ['guardianfsdbooster']: # Hack! No class.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user