diff --git a/Winch/Patches/API/ItemLoadPatcher.cs b/Winch/Patches/API/ItemLoadPatcher.cs index 33ef651d..242160fc 100644 --- a/Winch/Patches/API/ItemLoadPatcher.cs +++ b/Winch/Patches/API/ItemLoadPatcher.cs @@ -118,6 +118,31 @@ public static void ChangeHarvestables(IList items) } } + public static void ChangeFish(IList items) + { + var fishes = items.WhereType(); + foreach (var fish in fishes) + { + switch (fish.id) + { + case "oarfish": + case "oarfish-ab-1": + case "coelacanth": + case "coelacanth-ab-1": + case "gulper-eel": + case "gulper-eel-ab-1": + case "goliath-tigerfish": + case "goliath-tigerfish-ab-1": + case "sleeper-shark": + case "sleeper-shark-ab-1": + fish.canAppearInBaitBalls = true; + break; + default: + break; + } + } + } + public static void Prefix(ItemManager __instance, AsyncOperationHandle> handle) { if (handle.Result == null || handle.Status != AsyncOperationStatus.Succeeded) return; @@ -125,6 +150,7 @@ public static void Prefix(ItemManager __instance, AsyncOperationHandle