Skip to content

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

@OldManKatan

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.

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