diff --git a/MMOKitchen/MMOKitchen.csproj b/MMOKitchen/MMOKitchen.csproj index 0d07bc9..988081a 100644 --- a/MMOKitchen/MMOKitchen.csproj +++ b/MMOKitchen/MMOKitchen.csproj @@ -76,8 +76,8 @@ ..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.Networking.dll - - ..\..\..\..\Libraries\Mods\KitchenLib.dll + + ..\..\..\..\Libraries\KitchenLib\KitchenLib-BepInEx.dll ..\..\..\..\Libraries\PlateUp_Data\Managed\KitchenMode.dll diff --git a/MMOKitchen/Mod.cs b/MMOKitchen/Mod.cs index af35a54..2fb26a4 100644 --- a/MMOKitchen/Mod.cs +++ b/MMOKitchen/Mod.cs @@ -1,12 +1,30 @@ using KitchenLib; using System.Reflection; +#if BEPINEX using BepInEx; +#endif +#if MELONLOADER +using MelonLoader; +#endif + +#if MELONLOADER +[assembly: MelonInfo(typeof(MMOKitchen.Mod), "MMO Kitchen", "0.1.4", "StarFluxGames")] +[assembly: MelonGame("It's Happening", "PlateUp")] +#endif namespace MMOKitchen { +#if BEPINEX [BepInProcess("PlateUp.exe")] - [BepInPlugin("starfluxgames.mmokitchen", "MMO Kitchen", "0.1.3")] + [BepInPlugin("starfluxgames.mmokitchen", "MMO Kitchen", "0.1.4")] + [BepInDependency(KitchenLib.Mod.GUID)] +#endif public class Mod : BaseMod { - public Mod() : base("1.1.0", Assembly.GetExecutingAssembly()) { } +#if MELONLOADER + public Mod() : base("mmokitchen", "1.1.1") { } +#endif +#if BEPINEX + public Mod() : base("1.1.1", Assembly.GetExecutingAssembly()) { } +#endif } } \ No newline at end of file