add specific bait to item repository

This commit is contained in:
Jesse Plamondon-Willard
2024-05-28 00:23:32 -04:00
parent 3ff19c803c
commit 73f2c07416
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
* For players:
* Fixed installer not detecting Linux Flatpak install paths.
* Fixed content issues for non-English players in recent builds (e.g. content packs not detecting the current festival correctly).
* Fixed dried items, smoked items, and picked forage not handled by console commands like `list_items` or `player_add`.
* Fixed dried items, pickled forage, smoked fish, and specific bait not handled by console commands like `list_items` or `player_add`.
* For mod authors:
* Updated dependencies, including...
@@ -85,6 +85,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework
case "(O)DriedFruit":
case "(O)DriedMushrooms":
case "(O)SmokedFish":
case "(O)SpecificBait":
break;
default:
@@ -190,6 +191,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework
// fish
case SObject.FishCategory:
yield return this.TryCreate(itemType.Identifier, $"SmokedFish/{id}", _ => objectDataDefinition.CreateFlavoredSmokedFish(item));
yield return this.TryCreate(itemType.Identifier, $"SpecificBait/{id}", _ => objectDataDefinition.CreateFlavoredBait(item));
break;
// fruit products