mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix(uxassist): name item ID constants after their items
The game-constant centralization attached wrong names to many item IDs, such as Steel for Titanium Alloy (1107) and HydrogenFuelRod for the Electromagnetic Matrix (6001). Every remaining usage relies on the IDs, which match the items in the belt-signal proliferation tips, the matrix metadata types, and the Dark Fog buy-out definitions. Rename the constants after their actual items and current Dark Fog item names, and remove the mislabeled constants that only the retired proliferator source table used. Item groups and compiled values are unchanged.
This commit is contained in:
1 parent
3ca7b62ec6
commit
ca884fe6af
4 files changed
+80
-84
No files matched your search
@@ -13,49 +13,44 @@ public static class ItemIds
|
||||
public const int SulfuricAcid = 1116;
|
||||
public const int Hydrogen = 1120;
|
||||
public const int Deuterium = 1121;
|
||||
public const int Photon = 1208;
|
||||
public const int CriticalPhoton = 1208;
|
||||
|
||||
/* Materials used by recipes */
|
||||
public const int OrganicCrystal = 1015;
|
||||
public const int FireIce = 1012;
|
||||
public const int CriticalPhoton = 1124;
|
||||
public const int CircuitBoard = 1112; // used in proliferator mk.III recipe
|
||||
public const int Steel = 1107;
|
||||
public const int TitaniumGlass = 1111;
|
||||
public const int GravitonLens = 1125;
|
||||
/* Materials and components */
|
||||
public const int TitaniumAlloy = 1107;
|
||||
public const int Prism = 1111;
|
||||
public const int FrameMaterial = 1125;
|
||||
public const int CasimirCrystal = 1126;
|
||||
public const int MagneticCoil = 1202;
|
||||
public const int ElectricMotor = 1203;
|
||||
public const int ElectromagneticTurbine = 1204;
|
||||
public const int SuperMagneticRing = 1205;
|
||||
public const int GravitonLens = 1209;
|
||||
public const int CircuitBoard = 1301;
|
||||
public const int QuantumChip = 1305;
|
||||
public const int PlasmaExciter = 1401;
|
||||
public const int ParticleBroadband = 1402;
|
||||
public const int AnnihilationConstraintSphere = 1403;
|
||||
public const int Thruster = 1405;
|
||||
public const int ReinforcedThruster = 1406;
|
||||
|
||||
/* Proliferators */
|
||||
public const int ProliferatorMkI = 1141;
|
||||
public const int ProliferatorMkII = 1142;
|
||||
public const int ProliferatorMkIII = 1143;
|
||||
|
||||
/* Logistics carriers */
|
||||
/* Logistics */
|
||||
public const int SpaceWarper = 1210;
|
||||
public const int LogisticsDrone = 5001;
|
||||
public const int LogisticsVessel = 5002;
|
||||
public const int LogisticsBot = 5003;
|
||||
public const int SpaceWarper = 1126;
|
||||
|
||||
/* Matrices */
|
||||
public const int ElectromagneticMatrix = 1202;
|
||||
public const int EnergyMatrix = 1203;
|
||||
public const int StructureMatrix = 1204;
|
||||
public const int InformationMatrix = 1205;
|
||||
public const int UniverseMatrix = 1209;
|
||||
public const int Antimatter = 1210;
|
||||
|
||||
/* Components */
|
||||
public const int PlasmaExciter = 1301;
|
||||
public const int ParticleBroadband = 1305;
|
||||
public const int Processor = 1401;
|
||||
public const int QuantumChip = 1402;
|
||||
public const int MicrocrystallineComponent = 1403;
|
||||
public const int PlaneFilter = 1405;
|
||||
public const int ParticleContainer = 1406;
|
||||
|
||||
/* Dyson sphere materials */
|
||||
public const int SolarSail = 1502;
|
||||
public const int FrameMaterial = 1503;
|
||||
public const int DysonSphereComponent = 1802;
|
||||
public const int DysonSphereComponent = 1502;
|
||||
public const int SmallCarrierRocket = 1503;
|
||||
|
||||
/* Fuel rods */
|
||||
public const int DeuteronFuelRod = 1802;
|
||||
public const int StrangeAnnihilationFuelRod = 1804;
|
||||
|
||||
/* Power nodes */
|
||||
public const int TeslaTower = 2201;
|
||||
@@ -67,49 +62,49 @@ public static class ItemIds
|
||||
public const int MiningMachine = 2301;
|
||||
|
||||
/* Dark Fog items (combat expansion) */
|
||||
public const int DarkFogMemoryUnit = 5201;
|
||||
public const int DarkFogMatrix = 5201;
|
||||
public const int DarkFogSiliconNeuron = 5202;
|
||||
public const int DarkFogMatterReassembler = 5203;
|
||||
public const int DarkFogMatterRecombinator = 5203;
|
||||
public const int DarkFogNegentropySingularity = 5204;
|
||||
public const int DarkFogVirtualParticle = 5205;
|
||||
public const int DarkFogEnergyFragment = 5206;
|
||||
public const int DarkFogCoreElement = 5205;
|
||||
public const int DarkFogEnergyShard = 5206;
|
||||
|
||||
/* Fuel and advanced items */
|
||||
public const int HydrogenFuelRod = 6001;
|
||||
public const int DeuteronFuelRod = 6002;
|
||||
public const int AntimatterFuelRod = 6003;
|
||||
public const int StrangeAnnihilationFuelRod = 1804;
|
||||
public const int StrangeMatter = 6004;
|
||||
public const int Foundation = 6005;
|
||||
public const int Metaverse = 6006; // also called property/meta-data item
|
||||
/* Matrices. Metadata types use the same IDs; the Universe Matrix's metadata is Metaverse. */
|
||||
public const int ElectromagneticMatrix = 6001;
|
||||
public const int EnergyMatrix = 6002;
|
||||
public const int StructureMatrix = 6003;
|
||||
public const int InformationMatrix = 6004;
|
||||
public const int GravityMatrix = 6005;
|
||||
public const int UniverseMatrix = 6006;
|
||||
|
||||
/* Item groups used by belt signal recipe calculations. */
|
||||
public static readonly int[] ExtraOreItemIds =
|
||||
[
|
||||
Water, SulfuricAcid, Hydrogen, Deuterium, Photon,
|
||||
DarkFogMemoryUnit, DarkFogSiliconNeuron, DarkFogMatterReassembler,
|
||||
DarkFogNegentropySingularity, DarkFogVirtualParticle, DarkFogEnergyFragment
|
||||
Water, SulfuricAcid, Hydrogen, Deuterium, CriticalPhoton,
|
||||
DarkFogMatrix, DarkFogSiliconNeuron, DarkFogMatterRecombinator,
|
||||
DarkFogNegentropySingularity, DarkFogCoreElement, DarkFogEnergyShard
|
||||
];
|
||||
|
||||
// Listed in the same order as the belt signal option tips.
|
||||
public static readonly HashSet<int> ExtraProliferationItemIds =
|
||||
[
|
||||
Steel, TitaniumGlass, GravitonLens, ProliferatorMkII, ProliferatorMkIII,
|
||||
ElectromagneticMatrix, EnergyMatrix, StructureMatrix, InformationMatrix,
|
||||
UniverseMatrix, Antimatter, PlasmaExciter, ParticleBroadband,
|
||||
Processor, QuantumChip, MicrocrystallineComponent, PlaneFilter, ParticleContainer,
|
||||
SolarSail, FrameMaterial, DysonSphereComponent,
|
||||
HydrogenFuelRod, AntimatterFuelRod, StrangeMatter, Foundation, Metaverse
|
||||
TitaniumAlloy, Prism, FrameMaterial, ProliferatorMkII, ProliferatorMkIII,
|
||||
MagneticCoil, ElectricMotor, ElectromagneticTurbine, SuperMagneticRing,
|
||||
CircuitBoard, Thruster, ReinforcedThruster, PlasmaExciter, ParticleBroadband,
|
||||
GravitonLens, QuantumChip, AnnihilationConstraintSphere, DeuteronFuelRod, SpaceWarper,
|
||||
DysonSphereComponent, SmallCarrierRocket, ElectromagneticMatrix, StructureMatrix,
|
||||
InformationMatrix, GravityMatrix, UniverseMatrix
|
||||
];
|
||||
|
||||
public static readonly HashSet<int> NoProliferationItemIds =
|
||||
[
|
||||
SpaceWarper, DeuteronFuelRod
|
||||
CasimirCrystal, EnergyMatrix
|
||||
];
|
||||
|
||||
/* Dark Fog materials used by production calculations. */
|
||||
public static readonly int[] DarkFogItemIds =
|
||||
[
|
||||
DarkFogMemoryUnit, DarkFogSiliconNeuron, DarkFogMatterReassembler,
|
||||
DarkFogNegentropySingularity, DarkFogVirtualParticle, DarkFogEnergyFragment
|
||||
DarkFogMatrix, DarkFogSiliconNeuron, DarkFogMatterRecombinator,
|
||||
DarkFogNegentropySingularity, DarkFogCoreElement, DarkFogEnergyShard
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user