public override void OnConsumeItem(Player player)
{
player.AddBuff(BuffID.OnFire, 3600);
}
Worked fine, Thanks!You can make a simple consumable like this example potion, and give it the Well Fed buff - ExamplePotion
Then you can add the On Fire debuff by adding something like this below. Note, I haven't tested this code myself.
Code:public override void OnConsumeItem(Player player) { player.AddBuff(BuffID.OnFire, 3600); }