just ask a random plugin maker to update the internals of the file and it should work again. so by saying so can a plugin maker or Erenion/ski work on this
I'm going to fix it in the very near future. Just got the keys to my new house today so going to check that out first![]()
Then I must've changed something in my sleep :SI just tried the one you posted liquid, and it works great! The oringal post one would not work in 1.9.5.7 for me... but yours works on 1.9.5.9 perfect.
using System;
using Styx.Helpers;
using Styx.Logic.Inventory;
using Styx.Plugins.PluginClass;
namespace QuickPlugins
{
public class RefreshmentDetector : HBPlugin
{
private readonly WaitTimer _updateTimer = WaitTimer.TenSeconds;
public override void Pulse()
{
if (_updateTimer.IsFinished)
{
_updateTimer.Reset();
var drink = Consumable.GetBestDrink(false);
var food = Consumable.GetBestFood(false);
if (drink != null)
LevelbotSettings.Instance.DrinkName = drink.Entry.ToString();
if (food != null)
LevelbotSettings.Instance.FoodName = food.Entry.ToString();
}
}
public override string Name { get { return "Refreshment Detection"; } }
public override string Author { get { return "Apoc"; } }
public override Version Version { get { return new Version(1,0,0,0);} }
}
}
Forgive my idiocy but where am i meant to put that text apoc :x just completely overwrite the erefreshment file?
I would assume you open a text file, copy and pasted apocs code and "save as" xxx.cs