remove "Amount" from combat zones

This commit is contained in:
Florian Stinglmayr 2022-11-29 17:46:17 +01:00
parent 04a839417e
commit f0977b774b
3 changed files with 1 additions and 8 deletions

View File

@ -13,11 +13,6 @@ public class CombatZone : Transaction {
/// </summary>
public string Grade { get; set; } = "Low";
/// <summary>
/// How many?
/// </summary>
public int Amount { get; set; } = 1;
/// <summary>
/// Whether spec ops were won.
/// </summary>
@ -89,6 +84,6 @@ public class CombatZone : Transaction {
}
public override string ToString() {
return string.Format("Won {0} x {1} {2} Combat Zone(s)", Amount, Grade, Type);
return string.Format("Won {0} {1} Combat Zone", Grade, Type);
}
}

View File

@ -116,7 +116,6 @@ internal class TransactionParserContext {
SpecOps = HaveSeenSpecOps ? true : null,
Correspondent = HaveSeenCorrespondent ? true : null,
Captain = HaveSeenCaptain ? true : null,
Amount = 1,
};
zone.Entries.Add(e);
transactions.Add(zone);

View File

@ -218,7 +218,6 @@ public partial class MainWindow : Window {
System = objective.System,
Grade = "Low",
Type = "Ship",
Amount = 1
};
UITransaction uitransaction = new UITransaction(zone);