I'm trying to disable the inventory display base plugins y creating a file in the User folder in plugins :
Code:
using Turbo.Plugins.Default;
namespace Turbo.Plugins.User
{
public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
{
public PluginEnablerOrDisablerPlugin()
{
Enabled = true;
}
public override void Load(IController hud)
{
base.Load(hud);
}
public void Customize()
{
// turn off sell darkening / Green corner / Red corner
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
Hud.GetPlugin<InventoryAndStashPlugin>().LooksGoodDisplayEnabled = false;
Hud.GetPlugin<InventoryAndStashPlugin>().DefinitelyBadDisplayEnabled = false;
}
}
}
And it's still being applied, What am I doing wrong ?
Is it reapplied by another plugin by chance ?
Shouldn't the user file the one that set the override ?
If not, how should I go about it ?
Thanks