Skip to content

Conversation

@daveey
Copy link
Contributor

@daveey daveey commented Jan 19, 2026

Add NearCollective filter that matches objects NOT aligned to a collective
but within a specified radius of objects that ARE aligned to it.

Update CogsGuardMission to use the events system for clip territorial
expansion:

  • Every 100 ticks, cogs buildings at boundary with clips become neutral
  • Every 100 ticks, neutral buildings near clips become aligned to clips

Tests:

  • mettagrid: NearCollective filter config, serialization, event configs
  • cogames: CogsGuardMission event configuration tests

Add NearCollective filter that matches objects NOT aligned to a collective
but within a specified radius of objects that ARE aligned to it.

Update CogsGuardMission to use the events system for clip territorial
expansion:
- Every 100 ticks, cogs buildings at boundary with clips become neutral
- Every 100 ticks, neutral buildings near clips become aligned to clips

Tests:
- mettagrid: NearCollective filter config, serialization, event configs
- cogames: CogsGuardMission event configuration tests
Copy link
Contributor Author

daveey commented Jan 19, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • add-to-merge-queue - adds this PR to the back of the merge queue
  • add-to-merge-queue-as-hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants