Skip to content

Action Blacklists#760

Merged
DangerRevolution merged 1 commit intoSimple-Station:masterfrom
VMSolidus:Action-Blacklists
Aug 21, 2024
Merged

Action Blacklists#760
DangerRevolution merged 1 commit intoSimple-Station:masterfrom
VMSolidus:Action-Blacklists

Conversation

@VMSolidus
Copy link
Copy Markdown
Member

Description

image

I noticed that EntityTargetAction prototypes have a Whitelist field, but no Blacklist field. This turned out to be trivial to add, and now it's no longer necessary for Psionic powers to hardcode in C# that they can't affect anyone psionically insulated or Mindbroken. In total only 3 powers had this change, but new powers in the future that affect a target can now arbitrarily blacklist any component(Most likely, PsionicInsulation and Mindbroken. :))

All of this, just to remove 9 total lines of C# hardcoding.

Changelog

🆑

  • add: Actions no longer need to hardcode in target blacklists, and can now blacklist entities in YML. This is notably useful for Psionic powers, which all share a common feature that they can't target people with Psionic Insulation (Or have been Mindbroken).

@github-actions github-actions bot added Changes: C# Changes any cs files Changes: YML Changes any yml files labels Aug 20, 2024
@DangerRevolution DangerRevolution merged commit 8c0a404 into Simple-Station:master Aug 21, 2024
SimpleStation14 added a commit that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes: C# Changes any cs files Changes: YML Changes any yml files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants