diff --git a/OrnithologistsGuild.CP/assets/quests.json b/OrnithologistsGuild.CP/assets/quests.json deleted file mode 100644 index 3167563..0000000 --- a/OrnithologistsGuild.CP/assets/quests.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "Changes": [ - { - "Action": "EditData", - "Target": "data/Quests", - "Entries": { - "14510001": "ItemDelivery/Shiny Objects/Kyle needs new batteries for his Spell-n-Speak so he can talk!/Bring Kyle 4 battery packs./OrinothlogistsGuild_Kyle 787 4/-1/1000/-1/false/Caw! Caw!$1#$1 Ivy_OrinothlogistsGuild_PowerUp##$e#" - } - } - ] -} \ No newline at end of file diff --git a/OrnithologistsGuild.STF/OrnithologistsGuild.STF.csproj b/OrnithologistsGuild.STF/OrnithologistsGuild.STF.csproj deleted file mode 100644 index 0da6d2b..0000000 --- a/OrnithologistsGuild.STF/OrnithologistsGuild.STF.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - net6.0 - /Users/ivy/Applications/Stardew Valley Development.app/Contents/MacOS - [STF] Ornithologists Guild - - - - - - - - - - - - - - - PreserveNewest - - - \ No newline at end of file diff --git a/OrnithologistsGuild/Game/ObjectExtensions.cs b/OrnithologistsGuild/Game/ObjectExtensions.cs deleted file mode 100644 index 03f38f5..0000000 --- a/OrnithologistsGuild/Game/ObjectExtensions.cs +++ /dev/null @@ -1,19 +0,0 @@ -using StardewValley; - -namespace OrnithologistsGuild.Game -{ - public static class ObjectExtensions - { - public static string GetBigCraftableDefinitionId(this Object obj) - { - if (DataLoader.BigCraftables(Game1.content).TryGetValue(obj.QualifiedItemId, out var bigCraftableData) && - bigCraftableData.CustomFields.TryGetValue("Ivy.OrnithologistsGuild_DefinitionId", out string definitionId)) - { - return definitionId; - } - - return null; - } - } -} - diff --git a/OrnithologistsGuild/Models/BathDef.cs b/OrnithologistsGuild/Models/BathDef.cs deleted file mode 100644 index f78abe4..0000000 --- a/OrnithologistsGuild/Models/BathDef.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Linq; -using OrnithologistsGuild.Content; -using OrnithologistsGuild.Game; -using StardewValley; - -namespace OrnithologistsGuild.Models -{ - public class BathDef - { - public string ID; - public bool Heated; - - public int ZOffset; - - public static BathDef FromBath(Object bath) - { - if (!bath.bigCraftable.Value) return null; - - return ContentManager.Baths.FirstOrDefault(bathDef => bathDef.ID == bath.GetBigCraftableDefinitionId()); - } - - public static bool IsBath(Object maybeBath) - { - return FromBath(maybeBath) != null; - } - } -} diff --git a/OrnithologistsGuild/Models/FeederDef.cs b/OrnithologistsGuild/Models/FeederDef.cs deleted file mode 100644 index c0373e2..0000000 --- a/OrnithologistsGuild/Models/FeederDef.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Linq; -using OrnithologistsGuild.Content; -using OrnithologistsGuild.Game; -using StardewValley; - -namespace OrnithologistsGuild.Models -{ - public class FeederDef - { - public string ID; - public string Type; - - public int ZOffset; - - public int Range; - public int MaxFlocks; - - public static FeederDef FromFeeder(Object feeder) - { - if (!feeder.bigCraftable.Value) return null; - - return ContentManager.Feeders.FirstOrDefault(feederDef => feederDef.ID == feeder.GetBigCraftableDefinitionId()); - } - - public static bool IsFeeder(Object maybeFeeder) - { - return FromFeeder(maybeFeeder) != null; - } - } -}