24 lines
817 B
C#
24 lines
817 B
C#
|
|
using Easter2025.Customs.Generics;
|
||
|
|
using Easter2025.Utilies;
|
||
|
|
using Kitchen;
|
||
|
|
using KitchenData;
|
||
|
|
using KitchenLib.Customs;
|
||
|
|
using KitchenLib.Utils;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Easter2025.Customs.Items
|
||
|
|
{
|
||
|
|
public class RedDye : GenericStackableItem
|
||
|
|
{
|
||
|
|
public override string UniqueNameID => "RedDye";
|
||
|
|
public override GameObject Prefab => Mod.Bundle.LoadAsset<GameObject>("RedDye").AssignMaterialsByNames();
|
||
|
|
public override Appliance DedicatedProvider => GDOReferences.DyeProvider;
|
||
|
|
public override string ColourBlindTag => "R";
|
||
|
|
|
||
|
|
public override void OnRegister(Item gameDataObject)
|
||
|
|
{
|
||
|
|
base.OnRegister(gameDataObject);
|
||
|
|
gameDataObject.Prefab.AddComponent<ColourBlindMode>().Element = gameDataObject.Prefab.GetChild("Circle");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|