Hello,
I believe I’ve found a little bug in the SDE files available from CCP. To put it short, two items, described on ‘sde/fsd/blueprints.yaml’ have twice the same typeID under their “copying/skills”.
I’ve tried to inject the skillbook twice before confirming it is a bug and it didn’t work
typeID: 20352 / published: True
typeID: 20354 / published: True
yaml_file.get(20352)[‘activities’][‘copying’]
{‘materials’: [{‘quantity’: 1, ‘typeID’: 11457},
{‘quantity’: 45, ‘typeID’: 3812}],
‘skills’: [{‘level’: 1, ‘typeID’: 11442},
{‘level’: 1, ‘typeID’: 11443},
{‘level’: 1, ‘typeID’: 11442}],
‘time’: 3744}
yaml_file.get(20354)[‘activities’][‘copying’]
{‘materials’: [{‘quantity’: 1, ‘typeID’: 11457},
{‘quantity’: 60, ‘typeID’: 3812}],
‘skills’: [{‘level’: 1, ‘typeID’: 11442},
{‘level’: 1, ‘typeID’: 11443},
{‘level’: 1, ‘typeID’: 11442}],
‘time’: 5616}
After loading at least half dozen times the YAML file in python (which takes about 3 minutes in my machine), makes me wonder why they are not in JSON since python YAML parser isn’t exactly fast (can’t use yaml.CLoader).
o/