Capture current mission, AI, map and administration development
Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
--- a/addons/core/Scripts/Game/ERR/10_AI/ERR_EngineerMinePosts.c
|
||||
+++ b/addons/core/Scripts/Game/ERR/10_AI/ERR_EngineerMinePosts.c
|
||||
@@ -10,7 +10,7 @@
|
||||
ref ERR_HQReport Assignment;
|
||||
int MessageId;
|
||||
int BeliefId;
|
||||
- int Revision;
|
||||
+ int BeliefRevision;
|
||||
float QueuedAt;
|
||||
float ObservedAt;
|
||||
vector Post;
|
||||
@@ -48,7 +48,7 @@
|
||||
used++;
|
||||
if (used >= 4 || task.QueuedAt <= previous.QueuedAt || assignment.ObservedAt <= previous.ObservedAt
|
||||
|| assignment.MessageId == previous.MessageId) return false;
|
||||
- if (task.BeliefId == previous.BeliefId && task.BeliefRevision <= previous.Revision) return false;
|
||||
+ if (task.BeliefId == previous.BeliefId && task.BeliefRevision <= previous.BeliefRevision) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -59,7 +59,7 @@
|
||||
ERR_EngineerMinePost entry = new ERR_EngineerMinePost();
|
||||
entry.Record = record; entry.Group = record.Group; entry.Source = source; entry.Strength = record.InitialStrength;
|
||||
entry.Task = task; entry.Assignment = assignment; entry.MessageId = assignment.MessageId;
|
||||
- entry.BeliefId = task.BeliefId; entry.Revision = task.BeliefRevision;
|
||||
+ entry.BeliefId = task.BeliefId; entry.BeliefRevision = task.BeliefRevision;
|
||||
entry.QueuedAt = task.QueuedAt; entry.ObservedAt = assignment.ObservedAt; entry.Post = task.Destination;
|
||||
m_Posts.Insert(entry);
|
||||
return m_Posts.Count() - 1;
|
||||
Reference in New Issue
Block a user