Compare commits
4 commits
64317a7019
...
677f122a03
Author | SHA1 | Date | |
---|---|---|---|
677f122a03 | |||
4a2d5d5cb7 | |||
c100de9064 | |||
eec847bcd2 |
22 changed files with 2075 additions and 186 deletions
|
@ -0,0 +1,15 @@
|
|||
How to determine material trader and technology broker type by the station economies in simple pseudocode:
|
||||
|
||||
Material trader type:
|
||||
IF (primary_economy == "hightech" OR primary_economy == "military") trader_type = "Encoded";
|
||||
IF (primary_economy == "extraction" OR primary_economy == "refinery") trader_type = "Raw material";
|
||||
IF (primary_economy == "industrial") trader_type = "Manufactured";
|
||||
IF (secondary_economy == "hightech" OR secondary_economy == "military") trader_type = "Encoded";
|
||||
IF (secondary_economy == "extraction" OR secondary_economy == "refinery") trader_type = "Raw material";
|
||||
IF (secondary_economy == "industrial") trader_type = "Manufactured";
|
||||
|
||||
Tech broker type:
|
||||
IF (primary_economy == "hightech") broker_type = "Guardian";
|
||||
IF (primary_economy == "industrial") broker_type = "Human"; // human may be set as a default and it is not needed
|
||||
IF (secondary_economy == "hightech") broker_type = "Guardian";
|
||||
IF (secondary_economy != null AND secondary_economy != "hightech") broker_type = "Human"; // needs a confirmation
|
9
elite_engineering/data/fdevids/README.md
Normal file
9
elite_engineering/data/fdevids/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
IDs returned from the FDev Companion API
|
||||
====
|
||||
|
||||
Notes
|
||||
----
|
||||
|
||||
- These collections are incomplete - most notably some PowerPlay-specific items are missing from outfitting.csv.
|
||||
- Player-specific items are deliberately omitted from outfitting.csv - i.e. those items returned from the API with category/slotname "bobblehead"/"BobbleNN", "decal"/"DecalN", "paintjob"/"PaintJob", "enginekit"/"EngineColour", "shipkit"/"ShipKit...", "weaponkit"/"WeaponColour"
|
||||
- The values in the "name" fields in these files are as shown in-game in English. These are not the same in all cases as the text values returned by the Companion API or used over [EDDN](https://github.com/jamesremuscat/EDDN/blob/master/schemas/shipyard-v1.0.json#L55).
|
234
elite_engineering/data/fdevids/commodity.csv
Normal file
234
elite_engineering/data/fdevids/commodity.csv
Normal file
|
@ -0,0 +1,234 @@
|
|||
id,symbol,category,name
|
||||
128049152,Platinum,Metals,Platinum
|
||||
128049153,Palladium,Metals,Palladium
|
||||
128049154,Gold,Metals,Gold
|
||||
128049155,Silver,Metals,Silver
|
||||
128049156,Bertrandite,Minerals,Bertrandite
|
||||
128049157,Indite,Minerals,Indite
|
||||
128049158,Gallite,Minerals,Gallite
|
||||
128049159,Coltan,Minerals,Coltan
|
||||
128049160,Uraninite,Minerals,Uraninite
|
||||
128049161,Lepidolite,Minerals,Lepidolite
|
||||
128049162,Cobalt,Metals,Cobalt
|
||||
128049163,Rutile,Minerals,Rutile
|
||||
128049165,Bauxite,Minerals,Bauxite
|
||||
128049166,Water,Chemicals,Water
|
||||
128049168,Beryllium,Metals,Beryllium
|
||||
128049169,Indium,Metals,Indium
|
||||
128049170,Gallium,Metals,Gallium
|
||||
128049171,Tantalum,Metals,Tantalum
|
||||
128049172,Uranium,Metals,Uranium
|
||||
128049173,Lithium,Metals,Lithium
|
||||
128049174,Titanium,Metals,Titanium
|
||||
128049175,Copper,Metals,Copper
|
||||
128049176,Aluminium,Metals,Aluminium
|
||||
128049177,Algae,Foods,Algae
|
||||
128049178,FruitAndVegetables,Foods,Fruit and Vegetables
|
||||
128049180,Grain,Foods,Grain
|
||||
128049182,Animalmeat,Foods,Animal Meat
|
||||
128049183,Fish,Foods,Fish
|
||||
128049184,FoodCartridges,Foods,Food Cartridges
|
||||
128049185,SyntheticMeat,Foods,Synthetic Meat
|
||||
128049188,Tea,Foods,Tea
|
||||
128049189,Coffee,Foods,Coffee
|
||||
128049190,Leather,Textiles,Leather
|
||||
128049191,NaturalFabrics,Textiles,Natural Fabrics
|
||||
128049193,SyntheticFabrics,Textiles,Synthetic Fabrics
|
||||
128049197,Polymers,Industrial Materials,Polymers
|
||||
128049199,Semiconductors,Industrial Materials,Semiconductors
|
||||
128049200,Superconductors,Industrial Materials,Superconductors
|
||||
128049202,HydrogenFuel,Chemicals,Hydrogen Fuel
|
||||
128049203,MineralOil,Chemicals,Mineral Oil
|
||||
128049204,Explosives,Chemicals,Explosives
|
||||
128049205,Pesticides,Chemicals,Pesticides
|
||||
128049208,AgriculturalMedicines,Medicines,Agri-Medicines
|
||||
128049209,PerformanceEnhancers,Medicines,Performance Enhancers
|
||||
128049210,BasicMedicines,Medicines,Basic Medicines
|
||||
128049212,BasicNarcotics,Legal Drugs,Narcotics
|
||||
128049213,Tobacco,Legal Drugs,Tobacco
|
||||
128049214,Beer,Legal Drugs,Beer
|
||||
128049215,Wine,Legal Drugs,Wine
|
||||
128049216,Liquor,Legal Drugs,Liquor
|
||||
128049217,PowerGenerators,Machinery,Power Generators
|
||||
128049218,WaterPurifiers,Machinery,Water Purifiers
|
||||
128049220,HeliostaticFurnaces,Machinery,Microbial Furnaces
|
||||
128049221,MineralExtractors,Machinery,Mineral Extractors
|
||||
128049222,CropHarvesters,Machinery,Crop Harvesters
|
||||
128049223,MarineSupplies,Machinery,Marine Equipment
|
||||
128049225,ComputerComponents,Technology,Computer Components
|
||||
128049226,HazardousEnvironmentSuits,Technology,H.E. Suits
|
||||
128049227,Robotics,Technology,Robotics
|
||||
128049228,AutoFabricators,Technology,Auto-Fabricators
|
||||
128049229,AnimalMonitors,Technology,Animal Monitors
|
||||
128049230,AquaponicSystems,Technology,Aquaponic Systems
|
||||
128049231,AdvancedCatalysers,Technology,Advanced Catalysers
|
||||
128049232,TerrainEnrichmentSystems,Technology,Land Enrichment Systems
|
||||
128049233,PersonalWeapons,Weapons,Personal Weapons
|
||||
128049234,BattleWeapons,Weapons,Battle Weapons
|
||||
128049235,ReactiveArmour,Weapons,Reactive Armour
|
||||
128049236,NonLethalWeapons,Weapons,Non-Lethal Weapons
|
||||
128049238,DomesticAppliances,Consumer Items,Domestic Appliances
|
||||
128049240,ConsumerTechnology,Consumer Items,Consumer Technology
|
||||
128049241,Clothing,Consumer Items,Clothing
|
||||
128049243,Slaves,Slavery,Slaves
|
||||
128049244,Biowaste,Waste,Biowaste
|
||||
128049245,ToxicWaste,Waste,Toxic Waste
|
||||
128049246,ChemicalWaste,Waste,Chemical Waste
|
||||
128049248,Scrap,Waste,Scrap
|
||||
128049669,ProgenitorCells,Medicines,Progenitor Cells
|
||||
128049670,CombatStabilisers,Medicines,Combat Stabilisers
|
||||
128049671,ResonatingSeparators,Technology,Resonating Separators
|
||||
128049672,BioReducingLichen,Technology,Bioreducing Lichen
|
||||
128064028,AtmosphericExtractors,Machinery,Atmospheric Processors
|
||||
128066403,Drones,NonMarketable,Limpets
|
||||
128666752,USSCargoBlackBox,Salvage,Black Box
|
||||
128666754,USSCargoTradeData,Salvage,Trade Data
|
||||
128666755,USSCargoMilitaryPlans,Salvage,Military Plans
|
||||
128666756,USSCargoAncientArtefact,Salvage,Ancient Artefact
|
||||
128666757,USSCargoRareArtwork,Salvage,Rare Artwork
|
||||
128666758,USSCargoExperimentalChemicals,Salvage,Experimental Chemicals
|
||||
128666759,USSCargoRebelTransmissions,Salvage,Rebel Transmissions
|
||||
128666760,USSCargoPrototypeTech,Salvage,Prototype Tech
|
||||
128666761,USSCargoTechnicalBlueprints,Salvage,Technical Blueprints
|
||||
128667728,ImperialSlaves,Slavery,Imperial Slaves
|
||||
128668547,UnknownArtifact,Salvage,Thargoid Sensor
|
||||
128668548,AiRelics,Salvage,AI Relics
|
||||
128668549,Hafnium178,Metals,Hafnium 178
|
||||
128668550,Painite,Minerals,Painite
|
||||
128668551,Antiquities,Salvage,Antiquities
|
||||
128668552,MilitaryIntelligence,Salvage,Military Intelligence
|
||||
128671118,Osmium,Metals,Osmium
|
||||
128671443,SAP8CoreContainer,Salvage,SAP 8 Core Container
|
||||
128671444,TrinketsOfFortune,Consumer Items,Trinkets of Hidden Fortune
|
||||
128672123,WreckageComponents,Salvage,Wreckage Components
|
||||
128672124,EncriptedDataStorage,Salvage,Encrypted Data Storage
|
||||
128672125,OccupiedCryoPod,Salvage,Occupied Escape Pod
|
||||
128672126,PersonalEffects,Salvage,Personal Effects
|
||||
128672127,ComercialSamples,Salvage,Commercial Samples
|
||||
128672128,TacticalData,Salvage,Tactical Data
|
||||
128672129,AssaultPlans,Salvage,Assault Plans
|
||||
128672130,EncryptedCorrespondence,Salvage,Encrypted Correspondence
|
||||
128672131,DiplomaticBag,Salvage,Diplomatic Bag
|
||||
128672132,ScientificResearch,Salvage,Scientific Research
|
||||
128672133,ScientificSamples,Salvage,Scientific Samples
|
||||
128672134,PoliticalPrisoner,Salvage,Political Prisoners
|
||||
128672135,Hostage,Salvage,Hostages
|
||||
128672136,LargeExplorationDataCash,Salvage,Large Survey Data Cache
|
||||
128672137,SmallExplorationDataCash,Salvage,Small Survey Data Cache
|
||||
128672159,AntiqueJewellery,Salvage,Antique Jewellery
|
||||
128672160,PreciousGems,Salvage,Precious Gems
|
||||
128672161,EarthRelics,Salvage,Earth Relics
|
||||
128672162,GeneBank,Salvage,Gene Bank
|
||||
128672163,TimeCapsule,Salvage,Time Capsule
|
||||
128672294,Cryolite,Minerals,Cryolite
|
||||
128672295,Goslarite,Minerals,Goslarite
|
||||
128672296,Moissanite,Minerals,Moissanite
|
||||
128672297,Pyrophyllite,Minerals,Pyrophyllite
|
||||
128672298,Lanthanum,Metals,Lanthanum
|
||||
128672299,Thallium,Metals,Thallium
|
||||
128672300,Bismuth,Metals,Bismuth
|
||||
128672301,Thorium,Metals,Thorium
|
||||
128672302,CeramicComposites,Industrial Materials,Ceramic Composites
|
||||
128672303,SyntheticReagents,Chemicals,Synthetic Reagents
|
||||
128672304,NerveAgents,Chemicals,Nerve Agents
|
||||
128672305,SurfaceStabilisers,Chemicals,Surface Stabilisers
|
||||
128672306,BootlegLiquor,Legal Drugs,Bootleg Liquor
|
||||
128672307,GeologicalEquipment,Machinery,Geological Equipment
|
||||
128672308,ThermalCoolingUnits,Machinery,Thermal Cooling Units
|
||||
128672309,BuildingFabricators,Machinery,Building Fabricators
|
||||
128672310,MuTomImager,Technology,Muon Imager
|
||||
128672311,StructuralRegulators,Technology,Structural Regulators
|
||||
128672312,Landmines,Weapons,Landmines
|
||||
128672313,SkimerComponents,Machinery,Skimmer Components
|
||||
128672314,EvacuationShelter,Consumer Items,Evacuation Shelter
|
||||
128672315,GeologicalSamples,Salvage,Geological Samples
|
||||
128672701,MetaAlloys,Industrial Materials,Meta-Alloys
|
||||
128672775,Taaffeite,Minerals,Taaffeite
|
||||
128672776,Jadeite,Minerals,Jadeite
|
||||
128672810,UnstableDataCore,Salvage,Unstable Data Core
|
||||
128672811,DamagedEscapePod,Salvage,Damaged Escape Pod
|
||||
128673845,Praseodymium,Metals,Praseodymium
|
||||
128673846,Bromellite,Minerals,Bromellite
|
||||
128673847,Samarium,Metals,Samarium
|
||||
128673848,LowTemperatureDiamond,Minerals,Low Temperature Diamonds
|
||||
128673850,HydrogenPeroxide,Chemicals,Hydrogen Peroxide
|
||||
128673851,LiquidOxygen,Chemicals,Liquid oxygen
|
||||
128673852,MethanolMonohydrateCrystals,Minerals,Methanol Monohydrate Crystals
|
||||
128673853,LithiumHydroxide,Minerals,Lithium Hydroxide
|
||||
128673854,MethaneClathrate,Minerals,Methane Clathrate
|
||||
128673855,InsulatingMembrane,Industrial Materials,Insulating Membrane
|
||||
128673856,CMMComposite,Industrial Materials,CMM Composite
|
||||
128673857,CoolingHoses,Industrial Materials,Micro-weave Cooling Hoses
|
||||
128673858,NeofabricInsulation,Industrial Materials,Neofabric Insulation
|
||||
128673859,ArticulationMotors,Machinery,Articulation Motors
|
||||
128673860,HNShockMount,Machinery,HN Shock Mount
|
||||
128673861,EmergencyPowerCells,Machinery,Emergency Power Cells
|
||||
128673862,PowerConverter,Machinery,Power Converter
|
||||
128673863,PowerGridAssembly,Machinery,Energy Grid Assembly
|
||||
128673864,PowerTransferConduits,Machinery,Power Transfer Bus
|
||||
128673865,RadiationBaffle,Machinery,Radiation Baffle
|
||||
128673866,ExhaustManifold,Machinery,Exhaust Manifold
|
||||
128673867,ReinforcedMountingPlate,Machinery,Reinforced Mounting Plate
|
||||
128673868,HeatsinkInterlink,Machinery,Heatsink Interlink
|
||||
128673869,MagneticEmitterCoil,Machinery,Magnetic Emitter Coil
|
||||
128673870,ModularTerminals,Machinery,Modular Terminals
|
||||
128673871,Nanobreakers,Technology,Nanobreakers
|
||||
128673872,TelemetrySuite,Technology,Telemetry Suite
|
||||
128673873,MicroControllers,Technology,Micro Controllers
|
||||
128673874,IonDistributor,Machinery,Ion Distributor
|
||||
128673875,DiagnosticSensor,Technology,Hardware Diagnostic Sensor
|
||||
128673876,UnknownArtifact2,Salvage,Thargoid Probe
|
||||
128682044,ConductiveFabrics,Textiles,Conductive Fabrics
|
||||
128682045,MilitaryGradeFabrics,Textiles,Military Grade Fabrics
|
||||
128682046,AdvancedMedicines,Medicines,Advanced Medicines
|
||||
128682047,MedicalDiagnosticEquipment,Technology,Medical Diagnostic Equipment
|
||||
128682048,SurvivalEquipment,Consumer Items,Survival Equipment
|
||||
128682049,DataCore,Salvage,Data Core
|
||||
128682051,MysteriousIdol,Salvage,Mysterious Idol
|
||||
128682052,ProhibitedResearchMaterials,Salvage,Prohibited Research Materials
|
||||
128682053,AntimatterContainmentUnit,Salvage,Antimatter Containment Unit
|
||||
128682054,SpacePioneerRelics,Salvage,Space Pioneer Relics
|
||||
128682055,FossilRemnants,Salvage,Fossil Remnants
|
||||
128732183,AncientRelic,Salvage,Guardian Relic
|
||||
128732184,AncientOrb,Salvage,Guardian Orb
|
||||
128732185,AncientCasket,Salvage,Guardian Casket
|
||||
128732186,AncientTablet,Salvage,Guardian Tablet
|
||||
128732187,AncientUrn,Salvage,Guardian Urn
|
||||
128732188,AncientTotem,Salvage,Guardian Totem
|
||||
128737287,UnknownResin,Salvage,Thargoid Resin
|
||||
128737288,UnknownBiologicalMatter,Salvage,Thargoid Biological Matter
|
||||
128737289,UnknownTechnologySamples,Salvage,Thargoid Technology Samples
|
||||
128740752,UnknownArtifact3,Salvage,Thargoid Link
|
||||
128793127,ThargoidHeart,Salvage,Thargoid Heart
|
||||
128793128,ThargoidTissueSampleType1,Salvage,Thargoid Cyclops Tissue Sample
|
||||
128793129,ThargoidTissueSampleType2,Salvage,Thargoid Basilisk Tissue Sample
|
||||
128793130,ThargoidTissueSampleType3,Salvage,Thargoid Medusa Tissue Sample
|
||||
128824468,ThargoidScoutTissueSample,Salvage,Thargoid Scout Tissue Sample
|
||||
128888499,AncientKey,Salvage,Ancient Key
|
||||
128902652,ThargoidTissueSampleType4,Salvage,Thargoid Hydra Tissue Sample
|
||||
128922517,M_TissueSample_Fluid,Salvage,Mollusc Fluid
|
||||
128922518,M_TissueSample_Soft,Salvage,Mollusc Soft Tissue
|
||||
128922519,M_TissueSample_Nerves,Salvage,Mollusc Brain Tissue
|
||||
128922520,S_TissueSample_Cells,Salvage,Pod Core Tissue
|
||||
128922521,S_TissueSample_Surface,Salvage,Pod Dead Tissue
|
||||
128922522,S_TissueSample_Core,Salvage,Pod Surface Tissue
|
||||
128922523,P_ParticulateSample,Salvage,Anomaly Particles
|
||||
128922781,S9_TissueSample_Shell,Salvage,Pod Tissue
|
||||
128922782,M3_TissueSample_Membrane,Salvage,Mollusc Membrane
|
||||
128922783,M3_TissueSample_Mycelium,Salvage,Mollusc Mycelium
|
||||
128922784,M3_TissueSample_Spores,Salvage,Mollusc Spores
|
||||
128922785,S6_TissueSample_Mesoglea,Salvage,Pod Mesoglea
|
||||
128922786,S6_TissueSample_Cells,Salvage,Pod Outer Tissue
|
||||
128922787,S6_TissueSample_Coenosarc,Salvage,Pod Shell Tissue
|
||||
128924325,Rhodplumsite,Minerals,Rhodplumsite
|
||||
128924326,Serendibite,Minerals,Serendibite
|
||||
128924327,Monazite,Minerals,Monazite
|
||||
128924328,Musgravite,Minerals,Musgravite
|
||||
128924329,Benitoite,Minerals,Benitoite
|
||||
128924330,Grandidierite,Minerals,Grandidierite
|
||||
128924331,Alexandrite,Minerals,Alexandrite
|
||||
128924332,Opal,Minerals,Void Opal
|
||||
128924333,RockforthFertiliser,Chemicals,Rockforth Fertiliser
|
||||
128924334,AgronomicTreatment,Chemicals,Agronomic Treatment
|
||||
128961249,Tritium,Chemicals,Tritium
|
||||
128983059,OnionHeadC,Legal Drugs,Onionhead Gamma Strain
|
|
12
elite_engineering/data/fdevids/crimes.csv
Normal file
12
elite_engineering/data/fdevids/crimes.csv
Normal file
|
@ -0,0 +1,12 @@
|
|||
id
|
||||
assault
|
||||
collidedAtSpeedInNoFireZone
|
||||
collidedAtSpeedInNoFireZone_hulldamage
|
||||
dockingMajorBlockingAirlock
|
||||
dockingMajorTresspass
|
||||
dockingMinorBlockingAirlock
|
||||
dockingMinorBlockingLandingPad
|
||||
dockingMinorTresspass
|
||||
dumpingNearStation
|
||||
fireInNoFireZone
|
||||
murder
|
|
7
elite_engineering/data/fdevids/dockingdeniedreasons.csv
Normal file
7
elite_engineering/data/fdevids/dockingdeniedreasons.csv
Normal file
|
@ -0,0 +1,7 @@
|
|||
id
|
||||
ActiveFighter
|
||||
Distance
|
||||
Hostile
|
||||
NoSpace
|
||||
Offences
|
||||
TooLarge
|
|
17
elite_engineering/data/fdevids/economy.csv
Normal file
17
elite_engineering/data/fdevids/economy.csv
Normal file
|
@ -0,0 +1,17 @@
|
|||
id,name
|
||||
$economy_Agri;,Agriculture
|
||||
$economy_Colony;,Colony
|
||||
$economy_Extraction;,Extraction
|
||||
$economy_HighTech;,High Tech
|
||||
$economy_Industrial;,Industrial
|
||||
$economy_Military;,Military
|
||||
$economy_None;,None
|
||||
$economy_Refinery;,Refinery
|
||||
$economy_Service;,Service
|
||||
$economy_Terraforming;,Terraforming
|
||||
$economy_Tourism;,Tourism
|
||||
$economy_Prison;,Prison
|
||||
$economy_Damaged;,Damaged
|
||||
$economy_Rescue;,Rescue
|
||||
$economy_Repair;,Repair
|
||||
$economy_Carrier;,Private Enterprise
|
|
39
elite_engineering/data/fdevids/engineers.csv
Normal file
39
elite_engineering/data/fdevids/engineers.csv
Normal file
|
@ -0,0 +1,39 @@
|
|||
id,system_address,market_id,name
|
||||
300000,3932277478114,128673927,Didi Vatermann
|
||||
300010,1109989017963,128674183,Bill Turner
|
||||
300030,4481966019282,128674695,Broo Tarquin
|
||||
300040,2827992680811,128674951,The Sarge
|
||||
300050,6131367744226,128675207,Zacariah Nemo
|
||||
300080,1458309141194,128675975,Liz Ryder
|
||||
300090,1733321102034,128676231,Hera Tani
|
||||
300100,6681123623626,128676487,Felicity Farseer
|
||||
300110,3790082132323,128676743,Ram Tah
|
||||
300120,4305444669811,128676999,Lei Cheung
|
||||
300130,12274907287851,128677255,Petra Olmanova
|
||||
300140,10477373803,128677511,Colonel Bris Dekker
|
||||
300150,48996147307082,128677767,Marsha Hicks
|
||||
300160,3107241104074,128678023,Elvira Martuuk
|
||||
300180,5031654888146,128678535,The Dweller
|
||||
300200,121569805492,128679047,Marco Qwent
|
||||
300210,24859942069665,128679303,Selene Jean
|
||||
300220,113573366131,128679559,Professor Palin
|
||||
300230,3932277478106,128679815,Lori Jameson
|
||||
300250,4481899074282,128680327,Juri Ishmaak
|
||||
300260,3107576681170,128680583,Tod 'The Blaster' McQuinn
|
||||
300270,164098653,128680839,Tiana Fortune
|
||||
300280,66038577537618,128681095,Mel Brandon
|
||||
300290,11887629902418,128681351,Etienne Dorn
|
||||
300300,594676730147,128954244,Chloe Sedesi
|
||||
400001,7268024067513,128972903,Jude Navarro
|
||||
400002,5068464399785,128973159,Domino Green
|
||||
400003,7269634614689,128973415,Hero Ferrari
|
||||
400004,2827975936355,128973671,Kit Fowler
|
||||
400005,2832832893634,128973927,Wellington Beck
|
||||
400006,3721329101171,128974183,Terra Velasquez
|
||||
400007,16065190962585,128974439,Uma Laszlo
|
||||
400008,8879744226018,128974695,Oden Geiger
|
||||
400009,670686455169,128974951,Yarden Bond
|
||||
400010,71536135676490,128986843,Baltanos
|
||||
400011,38001031029322,128987099,Eleanor Bresa
|
||||
400012,59166629864010,128986587,Rosa Dayette
|
||||
400013,13736779007129,128987355,Yi Shen
|
|
28
elite_engineering/data/fdevids/factionstate.csv
Normal file
28
elite_engineering/data/fdevids/factionstate.csv
Normal file
|
@ -0,0 +1,28 @@
|
|||
id,name
|
||||
None,None
|
||||
Boom,Boom
|
||||
Bust,Bust
|
||||
CivilUnrest,Civil Unrest
|
||||
CivilWar,Civil War
|
||||
Election,Election
|
||||
Expansion,Expansion
|
||||
Famine,Famine
|
||||
Investment,Investment
|
||||
Lockdown,Lockdown
|
||||
Outbreak,Outbreak
|
||||
Retreat,Retreat
|
||||
War,War
|
||||
CivilLiberty,Civil Liberty
|
||||
PirateAttack,Pirate Attack
|
||||
Blight,Blight
|
||||
Drought,Drought
|
||||
InfrastructureFailure,Infrastructure Failure
|
||||
NaturalDisaster,Natural Disaster
|
||||
PublicHoliday,Public Holiday
|
||||
Terrorism,Terrorist Attack
|
||||
ColdWar,Cold War
|
||||
Colonisation,Colonisation
|
||||
HistoricEvent,Historic Event
|
||||
Revolution,Revolution
|
||||
TechnologicalLeap,Technological Leap
|
||||
TradeWar,Trade War
|
|
16
elite_engineering/data/fdevids/government.csv
Normal file
16
elite_engineering/data/fdevids/government.csv
Normal file
|
@ -0,0 +1,16 @@
|
|||
id,name
|
||||
$government_Anarchy;,Anarchy
|
||||
$government_Communism;,Communism
|
||||
$government_Confederacy;,Confederacy
|
||||
$government_Cooperative;,Cooperative
|
||||
$government_Corporate;,Corporate
|
||||
$government_Democracy;,Democracy
|
||||
$government_Dictatorship;,Dictatorship
|
||||
$government_Feudal;,Feudal
|
||||
$government_Imperial;,Imperial
|
||||
$government_None;,None
|
||||
$government_Patronage;,Patronage
|
||||
$government_PrisonColony;,Prison Colony
|
||||
$government_Theocracy;,Theocracy
|
||||
$government_Engineer;,Engineer
|
||||
$government_Carrier;,Private Ownership
|
|
6
elite_engineering/data/fdevids/happiness.csv
Normal file
6
elite_engineering/data/fdevids/happiness.csv
Normal file
|
@ -0,0 +1,6 @@
|
|||
id,name
|
||||
$Faction_HappinessBand1;,Elated
|
||||
$Faction_HappinessBand2;,Happy
|
||||
$Faction_HappinessBand3;,Discontented
|
||||
$Faction_HappinessBand4;,Unhappy
|
||||
$Faction_HappinessBand5;,Despondent
|
|
138
elite_engineering/data/fdevids/material.csv
Normal file
138
elite_engineering/data/fdevids/material.csv
Normal file
|
@ -0,0 +1,138 @@
|
|||
id,symbol,rarity,type,category,name
|
||||
128672318,Iron,1,Raw,4,Iron
|
||||
128672319,Nickel,1,Raw,5,Nickel
|
||||
128672320,Tin,3,Raw,4,Tin
|
||||
128672321,Zinc,2,Raw,4,Zinc
|
||||
128672322,Carbon,1,Raw,1,Carbon
|
||||
128672323,Sulphur,1,Raw,3,Sulphur
|
||||
128672324,Phosphorus,1,Raw,2,Phosphorus
|
||||
128672325,Manganese,2,Raw,3,Manganese
|
||||
128672326,Selenium,4,Raw,4,Selenium
|
||||
128672327,Chromium,2,Raw,2,Chromium
|
||||
128672328,Vanadium,2,Raw,1,Vanadium
|
||||
128672329,Germanium,2,Raw,5,Germanium
|
||||
128672330,Cadmium,3,Raw,3,Cadmium
|
||||
128672331,Tungsten,3,Raw,5,Tungsten
|
||||
128672332,Arsenic,2,Raw,6,Arsenic
|
||||
128672333,Molybdenum,3,Raw,2,Molybdenum
|
||||
128672334,Niobium,3,Raw,1,Niobium
|
||||
128672335,Zirconium,2,Raw,7,Zirconium
|
||||
128672336,Mercury,3,Raw,6,Mercury
|
||||
128672337,Yttrium,4,Raw,1,Yttrium
|
||||
128672338,Tellurium,4,Raw,5,Tellurium
|
||||
128672339,Polonium,4,Raw,6,Polonium
|
||||
128672340,Technetium,4,Raw,2,Technetium
|
||||
128672341,Ruthenium,4,Raw,3,Ruthenium
|
||||
128672342,Antimony,4,Raw,7,Antimony
|
||||
128673877,GridResistors,1,Manufactured,Capacitors,Grid Resistors
|
||||
128673878,CrystalShards,1,Manufactured,Crystals,Crystal Shards
|
||||
128673879,TemperedAlloys,1,Manufactured,Thermic,Tempered Alloys
|
||||
128673880,BasicConductors,1,Manufactured,Conductive,Basic Conductors
|
||||
128673881,MechanicalScrap,1,Manufactured,Mechanical Components,Mechanical Scrap
|
||||
128673882,HeatConductionWiring,1,Manufactured,Heat,Heat Conduction Wiring
|
||||
128673883,WornShieldEmitters,1,Manufactured,Shielding,Worn Shield Emitters
|
||||
128673884,CompactComposites,1,Manufactured,Composite,Compact Composites
|
||||
128673885,SalvagedAlloys,1,Manufactured,Alloys,Salvaged Alloys
|
||||
128673886,ChemicalStorageUnits,1,Manufactured,Chemical,Chemical Storage Units
|
||||
128673887,HybridCapacitors,2,Manufactured,Capacitors,Hybrid Capacitors
|
||||
128673888,UncutFocusCrystals,2,Manufactured,Crystals,Flawed Focus Crystals
|
||||
128673889,HeatResistantCeramics,2,Manufactured,Thermic,Heat Resistant Ceramics
|
||||
128673890,ConductiveComponents,2,Manufactured,Conductive,Conductive Components
|
||||
128673891,MechanicalEquipment,2,Manufactured,Mechanical Components,Mechanical Equipment
|
||||
128673892,HeatDispersionPlate,2,Manufactured,Heat,Heat Dispersion Plate
|
||||
128673893,ShieldEmitters,2,Manufactured,Shielding,Shield Emitters
|
||||
128673894,FilamentComposites,2,Manufactured,Composite,Filament Composites
|
||||
128673895,GalvanisingAlloys,2,Manufactured,Alloys,Galvanising Alloys
|
||||
128673896,ChemicalProcessors,2,Manufactured,Chemical,Chemical Processors
|
||||
128673897,ElectrochemicalArrays,3,Manufactured,Capacitors,Electrochemical Arrays
|
||||
128673898,FocusCrystals,3,Manufactured,Crystals,Focus Crystals
|
||||
128673899,PrecipitatedAlloys,3,Manufactured,Thermic,Precipitated Alloys
|
||||
128673900,ConductiveCeramics,3,Manufactured,Conductive,Conductive Ceramics
|
||||
128673901,MechanicalComponents,3,Manufactured,Mechanical Components,Mechanical Components
|
||||
128673902,HeatExchangers,3,Manufactured,Heat,Heat Exchangers
|
||||
128673903,ShieldingSensors,3,Manufactured,Shielding,Shielding Sensors
|
||||
128673904,HighDensityComposites,3,Manufactured,Composite,High Density Composites
|
||||
128673905,PhaseAlloys,3,Manufactured,Alloys,Phase Alloys
|
||||
128673906,ChemicalDistillery,3,Manufactured,Chemical,Chemical Distillery
|
||||
128673907,PolymerCapacitors,4,Manufactured,Capacitors,Polymer Capacitors
|
||||
128673908,RefinedFocusCrystals,4,Manufactured,Crystals,Refined Focus Crystals
|
||||
128673909,ThermicAlloys,4,Manufactured,Thermic,Thermic Alloys
|
||||
128673910,ConductivePolymers,4,Manufactured,Conductive,Conductive Polymers
|
||||
128673911,ConfigurableComponents,4,Manufactured,Mechanical Components,Configurable Components
|
||||
128673912,HeatVanes,4,Manufactured,Heat,Heat Vanes
|
||||
128673913,CompoundShielding,4,Manufactured,Shielding,Compound Shielding
|
||||
128673914,FedProprietaryComposites,4,Manufactured,Composite,Proprietary Composites
|
||||
128673915,ProtoLightAlloys,4,Manufactured,Alloys,Proto Light Alloys
|
||||
128673916,ChemicalManipulators,4,Manufactured,Chemical,Chemical Manipulators
|
||||
128673917,MilitarySupercapacitors,5,Manufactured,Capacitors,Military Supercapacitors
|
||||
128673918,ExquisiteFocusCrystals,5,Manufactured,Crystals,Exquisite Focus Crystals
|
||||
128673919,MilitaryGradeAlloys,5,Manufactured,Thermic,Military Grade Alloys
|
||||
128673920,BiotechConductors,5,Manufactured,Conductive,Biotech Conductors
|
||||
128673921,ImprovisedComponents,5,Manufactured,Mechanical Components,Improvised Components
|
||||
128673922,ProtoHeatRadiators,5,Manufactured,Heat,Proto Heat Radiators
|
||||
128673923,ImperialShielding,5,Manufactured,Shielding,Imperial Shielding
|
||||
128673924,FedCoreComposites,5,Manufactured,Composite,Core Dynamics Composites
|
||||
128673925,ProtoRadiolicAlloys,5,Manufactured,Alloys,Proto Radiolic Alloys
|
||||
128673926,PharmaceuticalIsolators,5,Manufactured,Chemical,Pharmaceutical Isolators
|
||||
128681610,LegacyFirmware,1,Encoded,Encoded Firmware,Specialised Legacy Firmware
|
||||
128681611,EncryptedFiles,1,Encoded,Encryption Files,Unusual Encrypted Files
|
||||
128681612,BulkScanData,1,Encoded,Data Archives,Anomalous Bulk Scan Data
|
||||
128681613,DisruptedWakeEchoes,1,Encoded,Wake Scans,Atypical Disrupted Wake Echoes
|
||||
128681614,ScrambledEmissionData,1,Encoded,Emission Data,Exceptional Scrambled Emission Data
|
||||
128681615,ShieldCycleRecordings,1,Encoded,Shield Data,Distorted Shield Cycle Recordings
|
||||
128681616,ConsumerFirmware,2,Encoded,Encoded Firmware,Modified Consumer Firmware
|
||||
128681617,EncryptionCodes,2,Encoded,Encryption Files,Tagged Encryption Codes
|
||||
128681618,ScanArchives,2,Encoded,Data Archives,Unidentified Scan Archives
|
||||
128681619,FSDTelemetry,2,Encoded,Wake Scans,Anomalous FSD Telemetry
|
||||
128681620,ArchivedEmissionData,2,Encoded,Emission Data,Irregular Emission Data
|
||||
128681621,ShieldSoakAnalysis,2,Encoded,Shield Data,Inconsistent Shield Soak Analysis
|
||||
128681622,IndustrialFirmware,3,Encoded,Encoded Firmware,Cracked Industrial Firmware
|
||||
128681623,SymmetricKeys,3,Encoded,Encryption Files,Open Symmetric Keys
|
||||
128681624,ScanDatabanks,3,Encoded,Data Archives,Classified Scan Databanks
|
||||
128681625,WakeSolutions,3,Encoded,Wake Scans,Strange Wake Solutions
|
||||
128681626,EmissionData,3,Encoded,Emission Data,Unexpected Emission Data
|
||||
128681627,ShieldDensityReports,3,Encoded,Shield Data,Untypical Shield Scans
|
||||
128681628,SecurityFirmware,4,Encoded,Encoded Firmware,Security Firmware Patch
|
||||
128681629,EncryptionArchives,4,Encoded,Encryption Files,Atypical Encryption Archives
|
||||
128681630,EncodedScanData,4,Encoded,Data Archives,Divergent Scan Data
|
||||
128681631,HyperspaceTrajectories,4,Encoded,Wake Scans,Eccentric Hyperspace Trajectories
|
||||
128681632,DecodedEmissionData,4,Encoded,Emission Data,Decoded Emission Data
|
||||
128681633,ShieldPatternAnalysis,4,Encoded,Shield Data,Aberrant Shield Pattern Analysis
|
||||
128681634,EmbeddedFirmware,5,Encoded,Encoded Firmware,Modified Embedded Firmware
|
||||
128681635,AdaptiveEncryptors,5,Encoded,Encryption Files,Adaptive Encryptors Capture
|
||||
128681636,ClassifiedScanData,5,Encoded,Data Archives,Classified Scan Fragment
|
||||
128681637,DataminedWake,5,Encoded,Wake Scans,Datamined Wake Exceptions
|
||||
128681638,CompactEmissionsData,5,Encoded,Emission Data,Abnormal Compact Emissions Data
|
||||
128681639,ShieldFrequencyData,5,Encoded,Shield Data,Peculiar Shield Frequency Data
|
||||
128681640,UnknownEnergySource,5,Manufactured,None,Sensor Fragment
|
||||
128731669,UnknownShipSignature,3,Encoded,None,Thargoid Ship Signature
|
||||
128731670,UnknownWakeData,4,Encoded,None,Thargoid Wake Data
|
||||
128732197,AncientLanguageData,4,Encoded,None,Pattern Delta Obelisk Data
|
||||
128732198,AncientBiologicalData,4,Encoded,None,Pattern Alpha Obelisk Data
|
||||
128732199,AncientCulturalData,4,Encoded,None,Pattern Beta Obelisk Data
|
||||
128732200,AncientHistoricalData,4,Encoded,None,Pattern Gamma Obelisk Data
|
||||
128732201,AncientTechnologicalData,4,Encoded,None,Pattern Epsilon Obelisk Data
|
||||
128737280,TG_CompositionData,3,Encoded,None,Thargoid Material Composition Data
|
||||
128737281,TG_ResidueData,4,Encoded,None,Thargoid Residue Data
|
||||
128737282,TG_StructuralData,2,Encoded,None,Thargoid Structural Data
|
||||
128737283,UnknownCarapace,2,Manufactured,None,Thargoid Carapace
|
||||
128737284,UnknownEnergyCell,3,Manufactured,None,Thargoid Energy Cell
|
||||
128737285,UnknownOrganicCircuitry,5,Manufactured,None,Thargoid Organic Circuitry
|
||||
128737286,UnknownTechnologyComponents,4,Manufactured,None,Thargoid Technological Components
|
||||
128737287,TG_BioMechanicalConduits,3,Manufactured,None,Bio-Mechanical Conduits
|
||||
128793132,TG_PropulsionElement,5,Manufactured,None,Propulsion Elements
|
||||
128793133,TG_WeaponParts,4,Manufactured,None,Weapon Parts
|
||||
128793134,TG_WreckageComponents,3,Manufactured,None,Wreckage Components
|
||||
128793135,TG_ShipFlightData,3,Encoded,None,Ship Flight Data
|
||||
128793136,TG_ShipSystemsData,4,Encoded,None,Ship Systems Data
|
||||
128815023,Guardian_PowerCell,1,Manufactured,None,Guardian Power Cell
|
||||
128815024,Guardian_PowerConduit,2,Manufactured,None,Guardian Power Conduit
|
||||
128815025,Guardian_TechComponent,3,Manufactured,None,Guardian Technology Component
|
||||
128815026,Guardian_Sentinel_WeaponParts,3,Manufactured,None,Guardian Sentinel Weapon Parts
|
||||
128815027,Guardian_Sentinel_WreckageComponents,1,Manufactured,None,Guardian Sentinel Wreckage Components
|
||||
128815028,Guardian_WeaponBlueprint,4,Encoded,None,Guardian Weapon Blueprint Segment
|
||||
128815029,Guardian_ModuleBlueprint,4,Encoded,None,Guardian Module Blueprint Segment
|
||||
128815030,Guardian_VesselBlueprint,5,Encoded,None,Guardian Vessel Blueprint Segment
|
||||
128837857,Rhenium,1,Raw,6,Rhenium
|
||||
128850245,Lead,1,Raw,7,Lead
|
||||
128850246,Boron,3,Raw,7,Boron
|
|
80
elite_engineering/data/fdevids/microresources.csv
Normal file
80
elite_engineering/data/fdevids/microresources.csv
Normal file
|
@ -0,0 +1,80 @@
|
|||
id,symbol,category,English name
|
||||
?,bypass,Consumable,E-Breach
|
||||
?,largecapacitypowerregulator,Item,Power Regulator
|
||||
?,chemicalinventory,Data,Chemical Inventory
|
||||
?,dutyrota,Data,Duty Rota
|
||||
?,evacuationprotocols,Data,Evacuation Protocols
|
||||
?,explorationjournals,Data,Exploration Journals
|
||||
?,factionnews,Data,Faction News
|
||||
?,financialprojections,Data,Financial Projections
|
||||
?,salesrecords,Data,Sales Records
|
||||
?,unionmembership,Data,Union Membership
|
||||
?,compactlibrary,Item,Compact Library
|
||||
?,infinity,Item,infinity
|
||||
?,insightentertainmentsuite,Item,Insight Entertainment Suite
|
||||
?,lazarus,Item,lazarus
|
||||
?,energycell,Consumable,Energy Cell
|
||||
?,healthpack,Consumable,Medkit
|
||||
?,universaltranslator,Item,Universal Translator
|
||||
?,biochemicalagent,Item,Biochemical Agent
|
||||
?,degradedpowerregulator,Item,Degraded Power Regulator
|
||||
?,hush,Item,hush
|
||||
?,maintenancelogs,Data,Maintenance Logs
|
||||
?,patrolroutes,Data,Patrol Routes
|
||||
?,push,Item,push
|
||||
?,settlementdefenceplans,Data,Settlement Defence Plans
|
||||
?,surveilleancelogs,Data,Surveillance Logs
|
||||
?,syntheticpathogen,Item,Synthetic Pathogen
|
||||
?,buildingschematic,Item,Building Schematic
|
||||
?,operationalmanual,Data,Operational Manual
|
||||
?,blacklistdata,Data,Blacklist Data
|
||||
?,insight,Item,insight
|
||||
?,airqualityreports,Data,Air Quality Reports
|
||||
?,employeedirectory,Data,Employee Directory
|
||||
?,factionassociates,Data,Faction Associates
|
||||
?,meetingminutes,Data,Meeting Minutes
|
||||
?,multimediaentertainment,Data,Multimedia Entertainment
|
||||
?,networkaccesshistory,Data,Network Access History
|
||||
?,purchaserecords,Data,Purchase Records
|
||||
?,radioactivitydata,Data,Radioactivity Data
|
||||
?,residentialdirectory,Data,Residential Directory
|
||||
?,shareholderinformation,Data,Shareholder Information
|
||||
?,travelpermits,Data,Travel Permits
|
||||
?,accidentlogs,Data,Accident Logs
|
||||
?,campaignplans,Data,Campaign Plans
|
||||
?,combattrainingmaterial,Data,Combat Training Material
|
||||
?,internalcorrespondence,Data,Internal Correspondence
|
||||
?,payrollinformation,Data,Payroll Information
|
||||
?,personallogs,Data,Personal Logs
|
||||
?,weaponinventory,Data,Weapon Inventory
|
||||
?,atmosphericdata,Data,Atmospheric Data
|
||||
?,topographicalsurveys,Data,Topographical Surveys
|
||||
?,literaryfiction,Data,Literary Fiction
|
||||
?,reactoroutputreview,Data,Reactor Output Review
|
||||
?,nextofkinrecords,Data,Next of Kin Records
|
||||
?,purchaserequests,Data,Purchase Requests
|
||||
?,taxrecords,Data,Tax Records
|
||||
?,visitorregister,Data,Visitor Register
|
||||
?,pharmaceuticalpatents,Data,Pharmaceutical Patents
|
||||
?,vaccineresearch,Data,Vaccine Research
|
||||
?,virologydata,Data,Virology Data
|
||||
?,vaccinationrecords,Data,Vaccination Records
|
||||
?,censusdata,Data,Census Data
|
||||
?,geographicaldata,Data,Geographical Data
|
||||
?,mineralsurvey,Data,Mineral Survey
|
||||
?,chemicalformulae,Data,Chemical Formulae
|
||||
?,amm_grenade_frag,Consumable,Frag Grenade
|
||||
?,amm_grenade_emp,Consumable,Shield Disruptor
|
||||
?,amm_grenade_shield,Consumable,Shield Projector
|
||||
?,chemicalexperimentdata,Data,Chemical Experiment Data
|
||||
?,chemicalpatents,Data,Chemical Patents
|
||||
?,productionreports,Data,Production Reports
|
||||
?,productionschedule,Data,Production Schedule
|
||||
?,bloodtestresults,Data,Blood Test Results
|
||||
?,combatantperformance,Data,Combatant Performance
|
||||
?,troopdeploymentrecords,Data,Troop Deployment Records
|
||||
?,catmedia,Data,Cat Media
|
||||
?,employeegeneticdata,Data,Employee Genetic Data
|
||||
?,factiondonatorlist,Data,Faction Donator List
|
||||
?,nocdata,Data,NOC Data
|
||||
?,trueformfossil,Item,True Form Fossil
|
|
1069
elite_engineering/data/fdevids/outfitting.csv
Normal file
1069
elite_engineering/data/fdevids/outfitting.csv
Normal file
File diff suppressed because it is too large
Load diff
143
elite_engineering/data/fdevids/rare_commodity.csv
Normal file
143
elite_engineering/data/fdevids/rare_commodity.csv
Normal file
|
@ -0,0 +1,143 @@
|
|||
id,symbol,market_id,category,name
|
||||
128666746,EraninPearlWhisky,128001536,Legal Drugs,Eranin Pearl Whisky
|
||||
128666747,LavianBrandy,128106744,Legal Drugs,Lavian Brandy
|
||||
128667019,HIP10175BushMeat,3223234816,Foods,HIP 10175 Bush Meat
|
||||
128667020,AlbinoQuechuaMammoth,3222822912,Foods,Albino Quechua Mammoth Meat
|
||||
128667021,UtgaroarMillenialEggs,128037120,Foods,Utgaroar Millennial Eggs
|
||||
128667022,WitchhaulKobeBeef,3223358720,Foods,Witchhaul Kobe Beef
|
||||
128667023,KarsukiLocusts,3225028096,Foods,Karsuki Locusts
|
||||
128667024,GiantIrukamaSnails,3225345792,Foods,Giant Irukama Snails
|
||||
128667025,BaltahSineVacuumKrill,128088056,Foods,Baltah'sine Vacuum Krill
|
||||
128667026,CetiRabbits,3222560000,Foods,Ceti Rabbits
|
||||
128667027,KachiriginLeaches,3221595648,Medicines,Kachirigin Filter Leeches
|
||||
128667028,LyraeWeed,3226417152,Legal Drugs,Lyrae Weed
|
||||
128667029,OnionHead,128129272,Legal Drugs,Onionhead
|
||||
128667030,TarachTorSpice,128041984,Legal Drugs,Tarach Spice
|
||||
128667031,Wolf1301Fesh,128084984,Legal Drugs,Wolf Fesh
|
||||
128667032,BorasetaniPathogenetics,3229638400,Weapons,Borasetani Pathogenetics
|
||||
128667033,HIP118311Swarm,3223177472,Weapons,HIP 118311 Swarm
|
||||
128667034,KonggaAle,3226978048,Legal Drugs,Kongga Ale
|
||||
128667035,WuthieloKuFroth,3222155776,Legal Drugs,Wuthielo Ku Froth
|
||||
128667036,AlacarakmoSkinArt,3231373824,Consumer Items,Alacarakmo Skin Art
|
||||
128667037,EleuThermals,3230624768,Consumer Items,Eleu Thermals
|
||||
128667038,EshuUmbrellas,3222295552,Consumer Items,Eshu Umbrellas
|
||||
128667039,KaretiiCouture,3227333120,Consumer Items,Karetii Couture
|
||||
128667040,NjangariSaddles,3222416896,Consumer Items,Njangari Saddles
|
||||
128667041,AnyNaCoffee,3229880064,Foods,Any Na Coffee
|
||||
128667042,CD75CatCoffee,3228566016,Foods,CD-75 Kitten Brand Coffee
|
||||
128667043,GomanYauponCoffee,3224449792,Foods,Goman Yaupon Coffee
|
||||
128667044,VolkhabBeeDrones,3227831808,Machinery,Volkhab Bee Drones
|
||||
128667045,KinagoInstruments,3227394304,Consumer Items,Kinago Violins
|
||||
128667046,NgunaModernAntiques,3221538304,Consumer Items,Nguna Modern Antiques
|
||||
128667047,RajukruStoves,3227512320,Consumer Items,Rajukru Multi-Stoves
|
||||
128667048,TiolceWaste2PasteUnits,3224141312,Consumer Items,Tiolce Waste2Paste Units
|
||||
128667049,ChiEridaniMarinePaste,128128760,Foods,Chi Eridani Marine Paste
|
||||
128667050,EsusekuCaviar,3226919680,Foods,Esuseku Caviar
|
||||
128667051,LiveHecateSeaWorms,128042496,Foods,Live Hecate Sea Worms
|
||||
128667052,HelvetitjPearls,3231094528,Metals,Helvetitj Pearls
|
||||
128667053,HIP41181Squid,3227995392,Foods,HIP Proto-Squid
|
||||
128667054,CoquimSpongiformVictuals,3223832576,Foods,Coquim Spongiform Victuals
|
||||
128667055,AerialEdenApple,128083448,Foods,Eden Apples of Aerial
|
||||
128667056,NeritusBerries,3228206080,Foods,Neritus Berries
|
||||
128667057,OchoengChillies,3226719232,Foods,Ochoeng Chillies
|
||||
128667058,DeuringasTruffles,3229713408,Foods,Deuringas Truffles
|
||||
128667059,HR7221Wheat,3226170880,Foods,HR 7221 Wheat
|
||||
128667060,JarouaRice,3224698112,Foods,Jaroua Rice
|
||||
128667061,BelalansRayLeather,3223537152,Textiles,Belalans Ray Leather
|
||||
128667062,DamnaCarapaces,3227751936,Textiles,Damna Carapaces
|
||||
128667063,RapaBaoSnakeSkins,3222875648,Textiles,Rapa Bao Snake Skins
|
||||
128667064,VanayequiRhinoFur,3227289856,Textiles,Vanayequi Ceratomorpha Fur
|
||||
128667065,BastSnakeGin,128086776,Legal Drugs,Bast Snake Gin
|
||||
128667066,ThrutisCream,3226522368,Legal Drugs,Thrutis Cream
|
||||
128667067,WulpaHyperboreSystems,3221388032,Machinery,Wulpa Hyperbore Systems
|
||||
128667068,AganippeRush,128012800,Medicines,Aganippe Rush
|
||||
128667069,TerraMaterBloodBores,128051466,Medicines,Terra Mater Blood Bores
|
||||
128667070,HolvaDuellingBlades,3222713088,Weapons,Holva Duelling Blades
|
||||
128667071,KamorinHistoricWeapons,3221669632,Weapons,Kamorin Historic Weapons
|
||||
128667072,GilyaSignatureWeapons,3226857216,Weapons,Gilya Signature Weapons
|
||||
128667073,DeltaPhoenicisPalms,128045312,Chemicals,Delta Phoenicis Palms
|
||||
128667074,ToxandjiVirocide,3230258688,Chemicals,Toxandji Virocide
|
||||
128667075,XiheCompanions,3224133120,Technology,Xihe Biomorphic Companions
|
||||
128667076,SanumaMEAT,3230331136,Foods,Sanuma Decorative Meat
|
||||
128667077,EthgrezeTeaBuds,3229524992,Foods,Ethgreze Tea Buds
|
||||
128667078,CeremonialHeikeTea,3227417856,Foods,Ceremonial Heike Tea
|
||||
128667079,TanmarkTranquilTea,128057866,Foods,Tanmark Tranquil Tea
|
||||
128667080,AZCancriFormula42,3228400128,Technology,Az Cancri Formula 42
|
||||
128667081,KamitraCigars,3225450752,Legal Drugs,Kamitra Cigars
|
||||
128667082,RusaniOldSmokey,3229255680,Legal Drugs,Rusani Old Smokey
|
||||
128667083,YasoKondiLeaf,3223088640,Legal Drugs,Yaso Kondi Leaf
|
||||
128667084,ChateauDeAegaeon,3228416768,Legal Drugs,Chateau De Aegaeon
|
||||
128667085,WatersOfShintara,128666762,Medicines,The Waters of Shintara
|
||||
128667668,OphiuchiExinoArtefacts,3228939264,Consumer Items,Ophiuch Exino Artefacts
|
||||
128667669,BakedGreebles,3229378560,Foods,Baked Greebles
|
||||
128667670,CetiAepyornisEgg,3222560256,Foods,Aepyornis Egg
|
||||
128667671,SaxonWine,3227986432,Legal Drugs,Saxon Wine
|
||||
128667672,CentauriMegaGin,3228728832,Legal Drugs,Centauri Mega Gin
|
||||
128667673,AnduligaFireWorks,3230243584,Consumer Items,Anduliga Fire Works
|
||||
128667674,BankiAmphibiousLeather,3228346112,Textiles,Banki Amphibious Leather
|
||||
128667675,CherbonesBloodCrystals,3229594624,Metals,Cherbones Blood Crystals
|
||||
128667676,MotronaExperienceJelly,3229750528,Legal Drugs,Motrona Experience Jelly
|
||||
128667677,GeawenDanceDust,3230954752,Legal Drugs,Geawen Dance Dust
|
||||
128667678,GerasianGueuzeBeer,3228047360,Legal Drugs,Gerasian Gueuze Beer
|
||||
128667679,HaidneBlackBrew,3226557696,Foods,Haiden Black Brew
|
||||
128667680,HavasupaiDreamCatcher,3221438976,Consumer Items,Havasupai Dream Catcher
|
||||
128667681,BurnhamBileDistillate,3230224384,Legal Drugs,Burnham Bile Distillate
|
||||
128667682,HIPOrganophosphates,3227036160,Chemicals,HIP Organophosphates
|
||||
128667683,JaradharrePuzzlebox,3230754816,Consumer Items,Jaradharre Puzzle Box
|
||||
128667684,KorroKungPellets,3228726272,Chemicals,Koro Kung Pellets
|
||||
128667685,LFTVoidExtractCoffee,3229028864,Foods,Void Extract Coffee
|
||||
128667686,HonestyPills,3229561344,Medicines,Honesty Pills
|
||||
128667687,NonEuclidianExotanks,3224135424,Machinery,Non Euclidian Exotanks
|
||||
128667688,LTTHyperSweet,3224166400,Foods,LTT Hyper Sweet
|
||||
128667689,MechucosHighTea,3228398848,Foods,Mechucos High Tea
|
||||
128667690,MedbStarlube,3228762368,Chemicals,Medb Starlube
|
||||
128667691,MokojingBeastFeast,3229612800,Foods,Mokojing Beast Feast
|
||||
128667692,MukusubiiChitinOs,3221719296,Foods,Mukusubii Chitin-os
|
||||
128667693,MulachiGiantFungus,3228892672,Foods,Mulachi Giant Fungus
|
||||
128667694,NgadandariFireOpals,3226127872,Metals,Ngadandari Fire Opals
|
||||
128667695,TiegfriesSynthSilk,3227726848,Textiles,Tiegfries Synth Silk
|
||||
128667696,UzumokuLowGWings,3226474496,Consumer Items,Uzumoku Low-G Wings
|
||||
128667697,VHerculisBodyRub,3228959232,Medicines,V Herculis Body Rub
|
||||
128667698,WheemeteWheatCakes,3225032704,Foods,Wheemete Wheat Cakes
|
||||
128667699,VegaSlimWeed,128149240,Medicines,Vega Slimweed
|
||||
128667700,AltairianSkin,128151032,Consumer Items,Altairian Skin
|
||||
128667701,PavonisEarGrubs,128117240,Legal Drugs,Pavonis Ear Grubs
|
||||
128667702,JotunMookah,128078840,Textiles,Jotun Mookah
|
||||
128667703,GiantVerrix,128121336,Machinery,Giant Verrix
|
||||
128667704,IndiBourbon,128118520,Legal Drugs,Indi Bourbon
|
||||
128667705,AroucaConventualSweets,128098040,Foods,Arouca Conventual Sweets
|
||||
128667706,TauriChimes,128134648,Consumer Items,Tauri Chimes
|
||||
128667707,ZeesszeAntGlue,128125432,Consumer Items,Zeessze Ant Grub Glue
|
||||
128667708,PantaaPrayerSticks,3228824064,Medicines,Pantaa Prayer Sticks
|
||||
128667709,FujinTea,128134392,Foods,Fujin Tea
|
||||
128667710,ChameleonCloth,3223418880,Textiles,Chameleon Cloth
|
||||
128667711,OrrerianViciousBrew,128166392,Foods,Orrerian Vicious Brew
|
||||
128667712,UszaianTreeGrub,128164856,Foods,Uszaian Tree Grub
|
||||
128667713,MomusBogSpaniel,128075256,Consumer Items,Momus Bog Spaniel
|
||||
128667714,DisoMaCorn,128161016,Foods,Diso Ma Corn
|
||||
128667715,LeestianEvilJuice,128639992,Legal Drugs,Leestian Evil Juice
|
||||
128667716,BlueMilk,128639992,Foods,Azure Milk
|
||||
128667717,AlienEggs,128164088,Consumer Items,Leathery Eggs
|
||||
128667718,AlyaBodilySoap,3221638400,Medicines,Alya Body Soap
|
||||
128667719,VidavantianLace,3231082240,Consumer Items,Vidavantian Lace
|
||||
128667760,TransgenicOnionHead,128057866,Legal Drugs,Lucan Onionhead
|
||||
128668017,JaquesQuinentianStill,128667761,Consumer Items,Jaques Quinentian Still
|
||||
128668018,SoontillRelics,3225348096,Consumer Items,Soontill Relics
|
||||
128671119,Advert1,3227172352,Consumer Items,Ultra-Compact Processor Prototypes
|
||||
128672121,TheHuttonMug,3228728832,Consumer Items,The Hutton Mug
|
||||
128672122,SothisCrystallineGold,128668557,Metals,Sothis Crystalline Gold
|
||||
128672316,MasterChefs,128123640,Slavery,Master Chefs
|
||||
128672431,PersonalGifts,3223105792,Salvage,Personal Gifts
|
||||
128672432,CrystallineSpheres,128059402,Salvage,Crystalline Spheres
|
||||
128672812,OnionHeadA,3226977024,Legal Drugs,Onionhead Alpha Strain
|
||||
128673069,OnionHeadB,3223027200,Legal Drugs,Onionhead Beta Strain
|
||||
128682050,GalacticTravelGuide,128673074,Salvage,Galactic Travel Guide
|
||||
128727921,AnimalEffigies,3228463360,Legal Drugs,Crom Silver Fesh
|
||||
128732551,ShansCharisOrchid,128107768,Consumer Items,Shan's Charis Orchid
|
||||
128748428,BuckyballBeerMats,128745551,Consumer Items,Buckyball Beer Mats
|
||||
128793113,HarmaSilverSeaRum,3221575424,Legal Drugs,Harma Silver Sea Rum
|
||||
128793114,PlatinumAloy,3223779840,Metals,Platinum Alloy
|
||||
128913661,Nanomedicines,3226651904,Medicines,Nanomedicines
|
||||
128922524,Duradrives,3223453184,Consumer Items,Duradrives
|
||||
128958679,ApaVietii,128958681,Legal Drugs,Apa Vietii
|
||||
129002574,ClassifiedExperimentalEquipment,128986325,Technology,Classified Experimental Equipment
|
|
5
elite_engineering/data/fdevids/rings.csv
Normal file
5
elite_engineering/data/fdevids/rings.csv
Normal file
|
@ -0,0 +1,5 @@
|
|||
id,name
|
||||
eRingClass_Icy,Icy
|
||||
eRingClass_Metalic,Metallic
|
||||
eRingClass_MetalRich,Metal Rich
|
||||
eRingClass_Rocky,Rocky
|
|
6
elite_engineering/data/fdevids/security.csv
Normal file
6
elite_engineering/data/fdevids/security.csv
Normal file
|
@ -0,0 +1,6 @@
|
|||
id,name
|
||||
$GAlAXY_MAP_INFO_state_anarchy;,Anarchy
|
||||
$GALAXY_MAP_INFO_state_lawless;,Lawless
|
||||
$SYSTEM_SECURITY_high;,High
|
||||
$SYSTEM_SECURITY_low;,Low
|
||||
$SYSTEM_SECURITY_medium;,Medium
|
|
39
elite_engineering/data/fdevids/shipyard.csv
Normal file
39
elite_engineering/data/fdevids/shipyard.csv
Normal file
|
@ -0,0 +1,39 @@
|
|||
id,symbol,name,entitlement
|
||||
128049249,SideWinder,Sidewinder,
|
||||
128049255,Eagle,Eagle,
|
||||
128049261,Hauler,Hauler,
|
||||
128049267,Adder,Adder,
|
||||
128049273,Viper,Viper MkIII,
|
||||
128049279,CobraMkIII,Cobra MkIII,
|
||||
128049285,Type6,Type-6 Transporter,
|
||||
128049291,Dolphin,Dolphin,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128049297,Type7,Type-7 Transporter,
|
||||
128049303,Asp,Asp Explorer,
|
||||
128049309,Vulture,Vulture,
|
||||
128049315,Empire_Trader,Imperial Clipper,
|
||||
128049321,Federation_Dropship,Federal Dropship,
|
||||
128049327,Orca,Orca,
|
||||
128049333,Type9,Type-9 Heavy,
|
||||
128049339,Python,Python,
|
||||
128049345,BelugaLiner,Beluga Liner,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128049351,FerDeLance,Fer-de-Lance,
|
||||
128049363,Anaconda,Anaconda,
|
||||
128049369,Federation_Corvette,Federal Corvette,
|
||||
128049375,Cutter,Imperial Cutter,
|
||||
128671217,DiamondBack,Diamondback Scout,
|
||||
128671223,Empire_Courier,Imperial Courier,
|
||||
128671831,DiamondBackXL,Diamondback Explorer,
|
||||
128672138,Empire_Eagle,Imperial Eagle,
|
||||
128672145,Federation_Dropship_MkII,Federal Assault Ship,
|
||||
128672152,Federation_Gunship,Federal Gunship,
|
||||
128672255,Viper_MkIV,Viper MkIV,
|
||||
128672262,CobraMkIV,Cobra MkIV,ELITE_HORIZONS_V_COBRA_MK_IV_1000
|
||||
128672269,Independant_Trader,Keelback,
|
||||
128672276,Asp_Scout,Asp Scout,
|
||||
128785619,Type9_Military,Type-10 Defender,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128816567,Krait_MkII,Krait MkII,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128816574,TypeX,Alliance Chieftain,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128816581,TypeX_2,Alliance Crusader,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128816588,TypeX_3,Alliance Challenger,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128839281,Krait_Light,Krait Phantom,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
||||
128915979,Mamba,Mamba,ELITE_HORIZONS_V_PLANETARY_LANDINGS
|
|
48
elite_engineering/data/fdevids/sku.csv
Normal file
48
elite_engineering/data/fdevids/sku.csv
Normal file
|
@ -0,0 +1,48 @@
|
|||
sku,requirement
|
||||
ELITE_HORIZONS_V_CAUSTIC_MEDIUM,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_COBRA_MK_IV_1000,purchase base game and horizons before 5th Feb 2016 (PC) or 30th July 2016 (XBOX)
|
||||
ELITE_HORIZONS_V_CORROSIONCARGO_SIZE4,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_FLECHETTE_FIXED_MEDIUM,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_FLECHETTE_TURRET_MEDIUM,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_FSDBOOSTER,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_GAUSS_FIXED_MEDIUM,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_GAUSS_FIXED_SMALL,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_HULLREINFORCEMENT,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_MODULEREINFORCEMENT,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_PLASMA_FIXED_LARGE,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_PLASMA_FIXED_MEDIUM,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_PLASMA_FIXED_SMALL,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_PLASMA_TURRET_LARGE,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_PLASMA_TURRET_MEDIUM,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_PLASMA_TURRET_SMALL,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_POWERDISTRIBUTOR,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_POWERPLANT,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_SHARD_FIXED_LARGE,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_SHARD_FIXED_MEDIUM,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_SHARD_FIXED_SMALL,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_SHARD_TURRET_LARGE,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_SHARD_TURRET_MEDIUM,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_SHARD_TURRET_SMALL,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_GUARDIAN_SHIELDREINFORCEMENT,unlocked via Guardian Tech Broker
|
||||
ELITE_HORIZONS_V_METAHULL,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLANETARY_LANDINGS,purchase Horizons or Horizons Season Pass or Lifetime Expansion Pass
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_FIXED_LARGE,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_FIXED_MEDIUM,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_FIXED_SMALL,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_GIMBAL_LARGE,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_GIMBAL_MEDIUM,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_GIMBAL_SMALL,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_TURRET_LARGE,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_TURRET_MEDIUM,unlocked via Human Tech Broker
|
||||
ELITE_HORIZONS_V_PLASMASHOCK_TURRET_SMALL,unlocked via Human Tech Broker
|
||||
ELITE_SPECIFIC_V_POWER_100000,unlocked via allegiance to Aisling Duval power
|
||||
ELITE_SPECIFIC_V_POWER_100010,unlocked via allegiance to Edmund Mahon power
|
||||
ELITE_SPECIFIC_V_POWER_100020,unlocked via allegiance to Arissa Lavigny-Duval power
|
||||
ELITE_SPECIFIC_V_POWER_100040,unlocked via allegiance to Felicia Winters power
|
||||
ELITE_SPECIFIC_V_POWER_100050,unlocked via allegiance to Denton Patreus power
|
||||
ELITE_SPECIFIC_V_POWER_100060,unlocked via allegiance to Zachary Hudson power
|
||||
ELITE_SPECIFIC_V_POWER_100070,unlocked via allegiance to Li Yong-Rui power
|
||||
ELITE_SPECIFIC_V_POWER_100080,unlocked via allegiance to Zemina Torval power
|
||||
ELITE_SPECIFIC_V_POWER_100090,unlocked via allegiance to Pranav Antal power
|
||||
ELITE_SPECIFIC_V_POWER_100100,unlocked via allegiance to Archon Delaine power
|
||||
ELITE_SPECIFIC_V_POWER_100120,unlocked via allegiance to Yuri Grom power
|
|
7
elite_engineering/data/fdevids/superpower.csv
Normal file
7
elite_engineering/data/fdevids/superpower.csv
Normal file
|
@ -0,0 +1,7 @@
|
|||
id,name
|
||||
$faction_Alliance;,Alliance
|
||||
$faction_Empire;,Empire
|
||||
$faction_Federation;,Federation
|
||||
$faction_Independent;,Independent
|
||||
$faction_none;,None
|
||||
$faction_Pirate;,Pirate
|
|
4
elite_engineering/data/fdevids/terraformingstate.csv
Normal file
4
elite_engineering/data/fdevids/terraformingstate.csv
Normal file
|
@ -0,0 +1,4 @@
|
|||
id,name
|
||||
Terraformable,Terraformable
|
||||
Terraformed,Terraformed
|
||||
Terraforming,Terraforming
|
|
|
@ -1,156 +1,18 @@
|
|||
import collections
|
||||
import csv
|
||||
import dataclasses
|
||||
import enum
|
||||
import fractions
|
||||
import importlib.resources
|
||||
import typing
|
||||
|
||||
from elite_engineering import trade
|
||||
|
||||
|
||||
class MaterialType(enum.Enum):
|
||||
raw = "Raw"
|
||||
manufactured = "Manufactured"
|
||||
encoded = "Encoded"
|
||||
|
||||
|
||||
categorized = {
|
||||
MaterialType.raw: {
|
||||
"Raw Material Category 1": ["Carbon", "Vanadium", "Niobium", "Yttrium"],
|
||||
"Raw Material Category 2": [
|
||||
"Phosphorus",
|
||||
"Chromium",
|
||||
"Molybdenum",
|
||||
"Technetium",
|
||||
],
|
||||
"Raw Material Category 3": ["Sulphur", "Manganese", "Cadmium", "Ruthenium"],
|
||||
"Raw Material Category 4": ["Iron", "Zinc", "Tin", "Selenium"],
|
||||
"Raw Material Category 5": ["Nickel", "Germanium", "Tungsten", "Tellurium"],
|
||||
"Raw Material Category 6": ["Rhenium", "Arsenic", "Mercury", "Polonium"],
|
||||
"Raw Material Category 7": ["Lead", "Zirconium", "Boron", "Antimony"],
|
||||
},
|
||||
MaterialType.manufactured: {
|
||||
"Chemical": [
|
||||
"Chemical Storage Units",
|
||||
"Chemical Processors",
|
||||
"Chemical Distillery",
|
||||
"Chemical Manipulators",
|
||||
"Pharmaceutical Isolators",
|
||||
],
|
||||
"Thermic": [
|
||||
"Tempered Alloys",
|
||||
"Heat Resistant Ceramics",
|
||||
"Precipitated Alloys",
|
||||
"Thermic Alloys",
|
||||
"Military Grade Alloys",
|
||||
],
|
||||
"Heat": [
|
||||
"Heat Conduction Wiring",
|
||||
"Heat Dispersion Plate",
|
||||
"Heat Exchangers",
|
||||
"Heat Vanes",
|
||||
"Proto Heat Radiators",
|
||||
],
|
||||
"Conductive": [
|
||||
"Basic Conductors",
|
||||
"Conductive Components",
|
||||
"Conductive Ceramics",
|
||||
"Conductive Polymers",
|
||||
"Biotech Conductors",
|
||||
],
|
||||
"Mechanical Components": [
|
||||
"Mechanical Scrap",
|
||||
"Mechanical Equipment",
|
||||
"Mechanical Components",
|
||||
"Configurable Components",
|
||||
"Improvised Components",
|
||||
],
|
||||
"Capacitors": [
|
||||
"Grid Resistors",
|
||||
"Hybrid Capacitors",
|
||||
"Electrochemical Arrays",
|
||||
"Polymer Capacitors",
|
||||
"Military Supercapacitors",
|
||||
],
|
||||
"Shielding": [
|
||||
"Worn Shield Emitters",
|
||||
"Shield Emitters",
|
||||
"Shielding Sensors",
|
||||
"Compound Shielding",
|
||||
"Imperial Shielding",
|
||||
],
|
||||
"Composite": [
|
||||
"Compact Composites",
|
||||
"Filament Composites",
|
||||
"High Density Composites",
|
||||
"Proprietary Composites",
|
||||
"Core Dynamics Composites",
|
||||
],
|
||||
"Crystals": [
|
||||
"Crystal Shards",
|
||||
"Flawed Focus Crystals",
|
||||
"Focus Crystals",
|
||||
"Refined Focus Crystals",
|
||||
"Exquisite Focus Crystals",
|
||||
],
|
||||
"Alloys": [
|
||||
"Salvaged Alloys",
|
||||
"Galvanising Alloys",
|
||||
"Phase Alloys",
|
||||
"Proto Light Alloys",
|
||||
"Proto Radiolic Alloys",
|
||||
],
|
||||
},
|
||||
MaterialType.encoded: {
|
||||
"Emission Data": [
|
||||
"Exceptional Scrambled Emission Data",
|
||||
"Irregular Emission Data",
|
||||
"Unexpected Emission Data",
|
||||
"Decoded Emission Data",
|
||||
"Abnormal Compact Emissions Data",
|
||||
],
|
||||
"Wake Scans": [
|
||||
"Atypical Disrupted Wake Echoes",
|
||||
"Anomalous FSD Telemetry",
|
||||
"Strange Wake Solutions",
|
||||
"Eccentric Hyperspace Trajectories",
|
||||
"Datamined Wake Exceptions",
|
||||
],
|
||||
"Shield Data": [
|
||||
"Distorted Shield Cycle Recordings",
|
||||
"Inconsistent Shield Soak Analysis",
|
||||
"Untypical Shield Scans",
|
||||
"Aberrant Shield Pattern Analysis",
|
||||
"Peculiar Shield Frequency Data",
|
||||
],
|
||||
"Encryption Files": [
|
||||
"Unusual Encrypted Files",
|
||||
"Tagged Encryption Codes",
|
||||
"Open Symmetric Keys",
|
||||
"Atypical Encryption Archives",
|
||||
"Adaptive Encryptors Capture",
|
||||
],
|
||||
"Data Archives": [
|
||||
"Anomalous Bulk Scan Data",
|
||||
"Unidentified Scan Archives",
|
||||
"Classified Scan Databanks",
|
||||
"Divergent Scan Data",
|
||||
"Classified Scan Fragment",
|
||||
],
|
||||
"Encoded Firmware": [
|
||||
"Specialised Legacy Firmware",
|
||||
"Modified Consumer Firmware",
|
||||
"Cracked Industrial Firmware",
|
||||
"Security Firmware Patch",
|
||||
"Modified Embedded Firmware",
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@dataclasses.dataclass
|
||||
class Material:
|
||||
name: str
|
||||
type_: MaterialType
|
||||
type_: str
|
||||
category: str
|
||||
grade: int
|
||||
|
||||
|
@ -160,14 +22,21 @@ class Material:
|
|||
return trade.ratio(self.grade, other.grade, self.category != other.category)
|
||||
|
||||
|
||||
materials: typing.Dict[str, Material] = {
|
||||
name: Material(name, type_, category, grade)
|
||||
for type_, categories in categorized.items()
|
||||
for category, names in categories.items()
|
||||
for grade, name in enumerate(names)
|
||||
def _load() -> typing.Dict[str, Material]:
|
||||
path = importlib.resources.files(__package__).joinpath("data/fdevids/material.csv")
|
||||
lines = path.read_text().splitlines()
|
||||
reader = csv.reader(lines[1:])
|
||||
return {
|
||||
symbol.lower(): Material(name, type_, category, int(grade))
|
||||
for fdevid, symbol, grade, type_, category, name in reader
|
||||
}
|
||||
|
||||
|
||||
materials: typing.Dict[str, Material] = _load()
|
||||
|
||||
_Inventory = typing.TypeVar("_Inventory", bound="Inventory")
|
||||
|
||||
|
||||
class Inventory(collections.UserDict):
|
||||
"""A mapping of every available material with an associated quantity."""
|
||||
|
||||
|
@ -180,11 +49,18 @@ class Inventory(collections.UserDict):
|
|||
self.update(items)
|
||||
|
||||
def __setitem__(self, key, value) -> None:
|
||||
if key not in materials:
|
||||
normalized_key = key.lower()
|
||||
if normalized_key not in materials:
|
||||
raise KeyError(key)
|
||||
if value < 0:
|
||||
raise ValueError(value)
|
||||
super().__setitem__(key, value)
|
||||
super().__setitem__(normalized_key, value)
|
||||
|
||||
def __getitem__(self, key: str) -> int:
|
||||
normalized_key = key.lower()
|
||||
if normalized_key not in materials:
|
||||
raise KeyError(key)
|
||||
return super().__getitem__(normalized_key)
|
||||
|
||||
def has(self, items: typing.Union[typing.Dict[str, int], "Inventory"]) -> bool:
|
||||
return all([self[name] >= quantity for name, quantity in items.items()])
|
||||
|
@ -195,6 +71,23 @@ class Inventory(collections.UserDict):
|
|||
def __sub__(self, other: "Inventory") -> "Inventory":
|
||||
return Inventory({name: self[name] - qty for name, qty in other.items()})
|
||||
|
||||
@classmethod
|
||||
def from_event(
|
||||
cls: typing.Type[_Inventory], event: typing.Dict[str, typing.Any]
|
||||
) -> _Inventory:
|
||||
if event.get("event") != "Materials":
|
||||
raise ValueError("Not a 'Materials' event")
|
||||
return cls(
|
||||
{
|
||||
material["Name"]: material["Count"]
|
||||
for material in [
|
||||
*event.get("Raw", []),
|
||||
*event.get("Manufactured", []),
|
||||
*event.get("Encoded", []),
|
||||
]
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
class Materials(Inventory):
|
||||
"""Same as Inventory, but omits zeroed materials."""
|
||||
|
@ -208,18 +101,20 @@ class Materials(Inventory):
|
|||
self.update(items)
|
||||
|
||||
def __setitem__(self, key: str, value: int) -> None:
|
||||
if key not in materials:
|
||||
normalized_key = key.lower()
|
||||
if normalized_key not in materials:
|
||||
raise KeyError(key)
|
||||
if value < 0:
|
||||
raise ValueError(value)
|
||||
if value == 0:
|
||||
return
|
||||
super().__setitem__(key, value)
|
||||
super().__setitem__(normalized_key, value)
|
||||
|
||||
def __getitem__(self, key: str) -> int:
|
||||
if key not in materials:
|
||||
normalized_key = key.lower()
|
||||
if normalized_key not in materials:
|
||||
raise KeyError(key)
|
||||
return self.data.get(key, 0)
|
||||
return self.data.get(normalized_key.lower(), 0)
|
||||
|
||||
def __add__(self, other: "Inventory") -> "Materials":
|
||||
return Materials({name: self[name] + other[name] for name in materials})
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
import fractions
|
||||
import json
|
||||
import pathlib
|
||||
import typing
|
||||
import unittest
|
||||
|
||||
|
@ -23,19 +25,14 @@ class TradeCalculationTests(unittest.TestCase):
|
|||
actual = [
|
||||
[
|
||||
self.format_ratio(
|
||||
materials.Material(
|
||||
"name", materials.MaterialType.raw, "category", grade_in
|
||||
).trade_ratio(
|
||||
materials.Material(
|
||||
"name", materials.MaterialType.raw, "category", grade_out
|
||||
)
|
||||
materials.Material("name", "raw", "category", grade_in).trade_ratio(
|
||||
materials.Material("name", "raw", "category", grade_out)
|
||||
)
|
||||
)
|
||||
for grade_in in [1, 2, 3, 4, 5]
|
||||
]
|
||||
for grade_out in [1, 2, 3, 4, 5]
|
||||
]
|
||||
|
||||
self.assertEqual(expected, actual)
|
||||
|
||||
def test_different_category_exchange(self) -> None:
|
||||
|
@ -50,12 +47,8 @@ class TradeCalculationTests(unittest.TestCase):
|
|||
actual = [
|
||||
[
|
||||
self.format_ratio(
|
||||
materials.Material(
|
||||
"name", materials.MaterialType.raw, "category", grade_in
|
||||
).trade_ratio(
|
||||
materials.Material(
|
||||
"name", materials.MaterialType.raw, "other", grade_out
|
||||
)
|
||||
materials.Material("name", "raw", "category", grade_in).trade_ratio(
|
||||
materials.Material("name", "raw", "other", grade_out)
|
||||
)
|
||||
)
|
||||
for grade_in in [1, 2, 3, 4, 5]
|
||||
|
@ -77,12 +70,8 @@ class TradeCalculationTests(unittest.TestCase):
|
|||
actual = [
|
||||
[
|
||||
self.format_ratio(
|
||||
materials.Material(
|
||||
"name", materials.MaterialType.raw, "category", grade_in
|
||||
).trade_ratio(
|
||||
materials.Material(
|
||||
"name", materials.MaterialType.encoded, "other", grade_out
|
||||
)
|
||||
materials.Material("name", "raw", "category", grade_in).trade_ratio(
|
||||
materials.Material("name", "encoded", "other", grade_out)
|
||||
)
|
||||
)
|
||||
for grade_in in [1, 2, 3, 4, 5]
|
||||
|
@ -99,6 +88,9 @@ class InventoryTests(unittest.TestCase):
|
|||
) -> "materials.Inventory":
|
||||
return materials.Inventory(items)
|
||||
|
||||
def from_event(self, event: typing.Dict[str, typing.Any]) -> "materials.Inventory":
|
||||
return materials.Inventory.from_event(event)
|
||||
|
||||
def test_create_empty(self) -> None:
|
||||
inventory = self.make()
|
||||
self.assertEqual(set(materials.materials.keys()), set(inventory.keys()))
|
||||
|
@ -153,6 +145,83 @@ class InventoryTests(unittest.TestCase):
|
|||
a - b
|
||||
self.assertEqual(exc.exception.args, (-1,))
|
||||
|
||||
def test_load_from_materials_event(self) -> None:
|
||||
event = json.loads(
|
||||
pathlib.Path(__file__).parent.joinpath("events/materials.json").read_text()
|
||||
)
|
||||
event = {
|
||||
"timestamp": "2022-01-23T02:58:12Z",
|
||||
"event": "Materials",
|
||||
"Raw": [
|
||||
{"Name": "manganese", "Count": 127},
|
||||
{"Name": "iron", "Count": 37},
|
||||
{"Name": "phosphorus", "Count": 2},
|
||||
{"Name": "nickel", "Count": 5},
|
||||
{"Name": "lead", "Count": 69},
|
||||
{"Name": "germanium", "Count": 12},
|
||||
],
|
||||
"Manufactured": [
|
||||
{
|
||||
"Name": "salvagedalloys",
|
||||
"Name_Localised": "Salvaged Alloys",
|
||||
"Count": 1,
|
||||
},
|
||||
{
|
||||
"Name": "crystalshards",
|
||||
"Name_Localised": "Crystal Shards",
|
||||
"Count": 36,
|
||||
},
|
||||
{
|
||||
"Name": "shieldemitters",
|
||||
"Name_Localised": "Shield Emitters",
|
||||
"Count": 36,
|
||||
},
|
||||
],
|
||||
"Encoded": [
|
||||
{
|
||||
"Name": "bulkscandata",
|
||||
"Name_Localised": "Anomalous Bulk Scan Data",
|
||||
"Count": 28,
|
||||
},
|
||||
{
|
||||
"Name": "shieldcyclerecordings",
|
||||
"Name_Localised": "Distorted Shield Cycle Recordings",
|
||||
"Count": 66,
|
||||
},
|
||||
{
|
||||
"Name": "archivedemissiondata",
|
||||
"Name_Localised": "Irregular Emission Data",
|
||||
"Count": 6,
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
self.assertEqual(
|
||||
self.make(
|
||||
{
|
||||
"manganese": 127,
|
||||
"iron": 37,
|
||||
"phosphorus": 2,
|
||||
"nickel": 5,
|
||||
"lead": 69,
|
||||
"germanium": 12,
|
||||
"salvagedalloys": 1,
|
||||
"crystalshards": 36,
|
||||
"shieldemitters": 36,
|
||||
"bulkscandata": 28,
|
||||
"shieldcyclerecordings": 66,
|
||||
"archivedemissiondata": 6,
|
||||
}
|
||||
),
|
||||
self.from_event(event),
|
||||
)
|
||||
|
||||
def test_load_from_invalid_event(self) -> None:
|
||||
event: typing.Dict[str, typing.Any] = {}
|
||||
with self.assertRaises(ValueError) as exc:
|
||||
self.from_event(event)
|
||||
self.assertEqual(exc.exception.args, ("Not a 'Materials' event",))
|
||||
|
||||
|
||||
class MaterialsTests(InventoryTests):
|
||||
def make(
|
||||
|
@ -160,6 +229,9 @@ class MaterialsTests(InventoryTests):
|
|||
) -> "materials.Materials":
|
||||
return materials.Materials(items)
|
||||
|
||||
def from_event(self, event: typing.Dict[str, typing.Any]) -> "materials.Materials":
|
||||
return materials.Materials.from_event(event)
|
||||
|
||||
def test_create_empty(self) -> None:
|
||||
empty = self.make()
|
||||
self.assertEqual(set(), set(empty.keys()))
|
||||
|
|
Loading…
Reference in a new issue