Example #1
0
 public void Normalise()
 {
     FDName = JournalFieldNaming.NormaliseFDItemName(Name);
     ShipModuleData.ShipModule item = ShipModuleData.Instance.GetItemProperties(FDName);
     Name    = item.ModName;
     ModType = item.ModType;
 }
 public void Normalise()
 {
     NameFD             = JournalFieldNaming.NormaliseFDItemName(Name); // Name comes in with strange characters, normalise out
     Name               = JournalFieldNaming.GetBetterItemName(NameFD); // and look up a better name
     Name_Localised     = Name_Localised.Alt(Name);
     TransferTimeSpan   = new System.TimeSpan((int)(TransferTime / 60 / 60), (int)((TransferTime / 60) % 60), (int)(TransferTime % 60));
     TransferTimeString = TransferTime > 0 ? TransferTimeSpan.ToString() : "";
 }