@alpaca-software/40kdc-data
    Preparing search index...

    Interface WeaponKeyword

    Catalog entry for a weapon keyword (Lethal Hits, Sustained Hits N, Anti-X N+, etc.). Each weapon profile references entries here via {keyword_id, parameters?} instead of carrying free-text strings. The optional effect describes the keyword's game mechanic in the Ability DSL; null when the behaviour is faction-specific flavour not yet modelled.

    This interface was referenced by 0KdcBundledSchemas's JSON-Schema via the definition "weapon-keyword".

    interface WeaponKeyword {
        id: string;
        name: string;
        required_parameters:
            | []
            | ["threshold" | "value" | "target_keyword"]
            | [
                "threshold"
                | "value"
                | "target_keyword",
                "threshold" | "value" | "target_keyword",
            ]
            | [
                "threshold"
                | "value"
                | "target_keyword",
                "threshold" | "value" | "target_keyword",
                "threshold" | "value" | "target_keyword",
            ];
        effect: AbilityEffect1 | null;
        game_version: GameVersionReference;
    }
    Index

    Properties

    id: string
    name: string
    required_parameters:
        | []
        | ["threshold" | "value" | "target_keyword"]
        | [
            "threshold"
            | "value"
            | "target_keyword",
            "threshold" | "value" | "target_keyword",
        ]
        | [
            "threshold"
            | "value"
            | "target_keyword",
            "threshold" | "value" | "target_keyword",
            "threshold" | "value" | "target_keyword",
        ]

    Parameter keys that must be supplied at each reference site, in the order they would appear in a printed datasheet (e.g. Anti-INFANTRY 4+ → ['target_keyword', 'threshold']).

    3

    effect: AbilityEffect1 | null

    Mechanical effect of this keyword. Null when the behaviour is faction-specific flavour not yet expressible in the DSL — engines treat such references as no-op buffs and may surface them as 'cannot auto-apply'.

    game_version: GameVersionReference