Skip to content

No vanilla entities in CrystallEdge#331

Open
TheShuEd wants to merge 2 commits intomasterfrom
ed-02-02-2026-forkfiltered-only
Open

No vanilla entities in CrystallEdge#331
TheShuEd wants to merge 2 commits intomasterfrom
ed-02-02-2026-forkfiltered-only

Conversation

@TheShuEd
Copy link
Copy Markdown
Contributor

@TheShuEd TheShuEd commented Feb 2, 2026

About the PR

A small injection has been added to PostMapInitTest, which validates that no vanilla entities are mapped on CrystallEdge maps.

fix #72

Copilot AI review requested due to automatic review settings February 2, 2026 09:13
@github-actions github-actions bot added the C# label Feb 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds validation to ensure CrystallEdge maps only contain fork-specific entities and no vanilla entities. The change enforces that all entities on maps prefixed with "CE" must have the "ForkFiltered" category.

Changes:

  • Added a new test method CECheckOnlyForkFiltered to validate entity categories on CrystallEdge maps
  • Integrated this validation into the existing NoSavedPostMapInitTest workflow

continue;

Assert.That(proto.Categories.Contains(filterCategory),
$"\nMap {map} contains entities without FORK FILTERED category ({proto.Name})");
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace from Name to ProtoId

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Block mapping vanilla entities on CE maps

2 participants