/// <summary> /// Gets the cost of the equipment plus installed experiments. /// </summary> /// <returns>The cost.</returns> public float getCost() { return(cost + ((exp != null)? exp.getCost() : 0f)); }
/// <summary>Overridden from IPartCostModifier</summary> public float GetModuleCost(float defaultCost, ModifierStagingSituation sit) { return((expData != null)? expData.getCost() : 0f); }