public ComponentHeatSink(TECHNOLOGY_BASE techBase, bool bSingle, bool bIntegral, bool bFirstTen) : this() { this.TechnologyBase = techBase; if (!bSingle) { if (TechnologyBase == TECHNOLOGY_BASE.CLAN) { Name = "Clan Double Heat Sink"; CriticalSpaceMech = 2; } else { Name = "Double Heat Sink"; CriticalSpaceMech = 3; } HeatDissipation = 2; } else { Name = "Heat Sink"; CriticalSpaceMech = 1; HeatDissipation = 1; } Integral = bIntegral; if (Integral) { Name = $"Integral {Name}"; } if (bFirstTen) { Tonnage = 0; } }
public StructureType(string sName, TECHNOLOGY_BASE eTechnologyBase, double dTonnageMultipler, int iCriticalHitSlots, double dDamageMultiplier, bool bCriticalLocationsTreatedAsRollAgain, double dBattleValueModifier) { Name = sName; TechnologyBase = eTechnologyBase; TonnageMultipler = dTonnageMultipler; CriticalHitSlots = iCriticalHitSlots; DamageMultiplier = dDamageMultiplier; CriticalLocationsTreatedAsRollAgain = bCriticalLocationsTreatedAsRollAgain; BattleValueModifier = dBattleValueModifier; AliasList = new List <string>(); }
public MyomerType(string sName, TECHNOLOGY_BASE tBase, double dMassFraction, double dCriticalHitSlotsAsFractionOfMass, int iCriticalHitSlots) : this() { Name = sName; TechnologyBase = tBase; MassFraction = dMassFraction; CriticalHitSlots = iCriticalHitSlots; CriticalHitSlotsAsFractionOfMass = dCriticalHitSlotsAsFractionOfMass; }
public StructureType(string sName, TECHNOLOGY_BASE eTechnologyBase, double dTonnageMultipler, int iCriticalHitSlots, double dDamageMultiplier, bool bCriticalLocationsTreatedAsRollAgain) : this(sName, eTechnologyBase, dTonnageMultipler, iCriticalHitSlots, dDamageMultiplier, bCriticalLocationsTreatedAsRollAgain, 1.0) { }
public ComponentAmmunition(string sName, int iRounds, double dTonnage, string sTechRating, TECHNOLOGY_BASE techBase) : this(sName, iRounds, dTonnage, sTechRating) { TechnologyBase = techBase; }
public ComponentCockpit(string sName, int iTonnage, CriticalSlot[] criticalSlots, int iPilotingModifier, TECHNOLOGY_BASE techBase) { this.Name = Name; this.Tonnage = iTonnage; this.TechnologyBase = techBase; PilotingRollModifier = iPilotingModifier; }
public ArmorType(string sName, TECHNOLOGY_BASE tb, double dPointsPerTons, int iCriticalSlotsRequired, double dBattleValueModifier) { Name = sName; PointsPerTon = dPointsPerTons; CriticalSlotsRequired = iCriticalSlotsRequired; TechnologyBase = tb; AliasList = new List <string>(); BattleValueModifier = dBattleValueModifier; }
public ArmorType(string sName, TECHNOLOGY_BASE tb, double dPointsPerTons, int iCriticalSlotsRequired) : this(sName, tb, dPointsPerTons, iCriticalSlotsRequired, 1) { }
public ArmorType(string sName, TECHNOLOGY_BASE tb, double dPointsPerTons) : this(sName, tb, dPointsPerTons, 0) { }