Faction play 1: typed doctrine on Faction and one flight per faction per zone
FactionDoctrine/RoleDoctrine (Faction key 17), Flight as the only writer of members' Target and Task, hail/grace/compliance, FollowTask/FollowState, agent removal on Entities removal, doctrine-catalog command, FlightTests. Not yet built or run; verification follows in later commits. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4d664b537f
commit
8f42265de3
24 changed files with 812 additions and 42 deletions
11
Assets/Scripts/ServerShared/Agents/Tasks/FollowTask.cs
Normal file
11
Assets/Scripts/ServerShared/Agents/Tasks/FollowTask.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
using MessagePack;
|
||||
|
||||
// Keep station on an entity at a standoff: the flight hailing a track holds its members here (Flight.cs).
|
||||
// Runtime only, like every agent task.
|
||||
public class FollowTask : AgentTask
|
||||
{
|
||||
[IgnoreMember] public Entity Anchor;
|
||||
[IgnoreMember] public float Standoff;
|
||||
[IgnoreMember] public override TaskType Type => TaskType.Follow;
|
||||
}
|
||||
Loading…
Reference in a new issue