Skip to content

Implement [Faction:self] as a keyword to use the grid's faction #197

Description

@OldManKatan

A lot faction and reputation actions use the grid's own faction. A large number of components in a few mods could be reduced to a single, simple, and reusable triggergroup if you were able to create a "self" keyword that would use the FactionID of the grid's current faction.

Example use cases:

        [RivalAI Action]

        [ChangeAttackerReputation:true]
        [ChangeAttackerReputationFaction:self]
        [ChangeAttackerReputationAmount:-5]
        [RivalAI Target]

        [MatchNoneFilters:Faction]
        [Factions:self]

Ok, Target is admittedly not the most useful example, but the usage should be illustrative of intent.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions