You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor first footfall and organic value/bonus logic
Renamed Body.alreadyfootfalled to alreadyfirstfootfalled for clarity and updated its documentation. Revised footfalled timestamp logic to always record the first footfall by the current commander. Enhanced Organic with value and bonus properties, using actual event or definition data, and added firstFootfallRegistered logic for bonus calculation. Updated organic species definitions with real credit values. Improved [PublicAPI] annotations for better documentation and integration. Updated event handling and LocationMonitor to use new properties and logic.
Resolves#2788.
Copy file name to clipboardExpand all lines: ChangeLog.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,12 @@ Full details of the variables available for each noted event, and VoiceAttack in
5
5
## 5.0.0
6
6
* Core
7
7
* Target framework updated to .Net 8.
8
+
* The `Body` object boolean property `alreadyfootfalled` has been renamed to `alreadyfirstfootfalled` for clarity.
9
+
* The `Body` object unix timestamp property `footfalled` has been revised to record your first footfall regardless of whether another commander had already set foot on the body.
10
+
* The `Organic` object has been revised to include a credit `value` property (set whenever the species is identified and when organic data is sold).
11
+
* The `Organic` object has been revised to include a credit `bonus` property (set when you have registered a first footfall on the body and when organic data is sold).
12
+
* Events
13
+
*
8
14
* VoiceAttack Responder
9
15
* (**BREAKING CHANGE**) Updated to target VoiceAttack 2.0.0+. VoiceAttack 1.X is no longer supported.
10
16
* Under the hood, EDDI now runs as a separate process from VoiceAttack. Only the plugin component of EDDI runs within the VoiceAttack process. This should improve stability and performance for both EDDI and VoiceAttack.
/// If true, apply a predicted bonus to the value of this organic (as presumably no other commander has sold this organic before).
51
+
/// </summary>
52
+
publicboolfirstFootfallRegistered{get;set;}
57
53
58
54
/// <summary>
59
55
/// Overrides the credit values from definitions when an actual value is indicated (as by the `OrganicDataSold` event)
60
56
/// </summary>
61
57
publiclong?valueOverride{get;set;}=null;
62
58
59
+
[Utilities.PublicAPI("The bonus credit value, as awarded when selling organic data. The bonus value is assumed to apply when a first footfall has been registered.")]
0 commit comments