Custom Consumable: Field Tonic

ExampleMod builds Field Tonic from HERB_GODSBEARD_01, keeps it stackable and usable wherever the template allows, and grants the custom restorative_burst action:

var gameplay = new ItemGameplayOverrides(
    minTier: 0,
    maxTier: 3,
    rarity: ItemRarity.Uncommon,
    stackable: true,
    ammo: 0,
    useContext: ItemUseContext.Any,
    interaction: new ItemInteractionOverride(
        new[] {
            new ItemAbilityReference("community.example:restorative_burst"),
        }));

ItemDefinition tonic = draft!
    .WithValue(30)
    .WithGameplay(gameplay)
    .WithLocalization(nameId, descriptionId);

The referenced ability must be active before Field Tonic activation. A null ItemSkillRoll preserves a parameterless action shape.