DotNet.Equipment.Class.ModificationJournal - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Equipment / ModificationJournal
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/ModificationJournal.cs:15
Resolves the modification symbol a journal writes onto its own recipe.
The journal leaves the technology off Greater Range, Headshot Damage and Higher Accuracy: it writes weapon_range for the kinetic, laser and plasma recipes alike. Those recipes ask for different materials, so the weapon the symbol was read from is what settles which one the journal means. Its engineering type picks the recipe out of the group. This is the same collision the ship engineering resolver answers.
staticResolveForWeapon(weaponSymbol,journalSymbol):string
Defined in: dotnet/src/EliteDangerousAlmanac/Equipment/ModificationJournal.cs:29
Resolves one journal modification symbol against the weapon that carries it.
string?
The weapon's item symbol.
string
The modification symbol as the journal writes it.
string
The recipe symbol the catalogue is keyed by, or the journal symbol unchanged where no weapon carries the symbol, or the journal spelling names one recipe already.
ArgumentNullException
The journal symbol is absent.