remove "Amount" from combat zones
This commit is contained in:
parent
04a839417e
commit
f0977b774b
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -218,7 +218,6 @@ public partial class MainWindow : Window {
|
||||
System = objective.System,
|
||||
Grade = "Low",
|
||||
Type = "Ship",
|
||||
Amount = 1
|
||||
};
|
||||
|
||||
UITransaction uitransaction = new UITransaction(zone);
|
||||
|
Loading…
Reference in New Issue
Block a user