Buff headache removal

Discussion in 'Suggestions' started by Kaidelong, Dec 10, 2013.

  1. Kaidelong

    Kaidelong Member

    Two new mechanics for buffs would be nice:
    • A string alternativeBuffID attribute that overrides the buff image name, allowing buffs to be distinguished even when sharing the same image reference, which can also be used instead of a name for the sake of logic (removeBuffByName, requirebuffontrigger, requirebuffonnottrigger) so that the display name of a buff can be changed easily without needing to refactor the whole mod.
    • A boolean attribute silent that prevents the buff from displaying on the user's sidebar at all. Useful for implementing permanent changes or for disguising buffs that exist entirely for the purposes of logic by the mod.
    Ideally, if something has both these tags, the game should just ignore the contents of the icon attribute and not require it to be there at all.
     
    Kazeto, Wootah and mining like this.