remove "Amount" from combat zones
This commit is contained in:
parent
04a839417e
commit
f0977b774b
@ -13,11 +13,6 @@ public class CombatZone : Transaction {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string Grade { get; set; } = "Low";
|
public string Grade { get; set; } = "Low";
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// How many?
|
|
||||||
/// </summary>
|
|
||||||
public int Amount { get; set; } = 1;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether spec ops were won.
|
/// Whether spec ops were won.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -89,6 +84,6 @@ public class CombatZone : Transaction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override string ToString() {
|
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,
|
SpecOps = HaveSeenSpecOps ? true : null,
|
||||||
Correspondent = HaveSeenCorrespondent ? true : null,
|
Correspondent = HaveSeenCorrespondent ? true : null,
|
||||||
Captain = HaveSeenCaptain ? true : null,
|
Captain = HaveSeenCaptain ? true : null,
|
||||||
Amount = 1,
|
|
||||||
};
|
};
|
||||||
zone.Entries.Add(e);
|
zone.Entries.Add(e);
|
||||||
transactions.Add(zone);
|
transactions.Add(zone);
|
||||||
|
@ -218,7 +218,6 @@ public partial class MainWindow : Window {
|
|||||||
System = objective.System,
|
System = objective.System,
|
||||||
Grade = "Low",
|
Grade = "Low",
|
||||||
Type = "Ship",
|
Type = "Ship",
|
||||||
Amount = 1
|
|
||||||
};
|
};
|
||||||
|
|
||||||
UITransaction uitransaction = new UITransaction(zone);
|
UITransaction uitransaction = new UITransaction(zone);
|
||||||
|
Loading…
Reference in New Issue
Block a user