mirror of
https://github.com/Pathoschild/SMAPI.git
synced 2026-10-12 02:08:51 +00:00
add specific bait to item repository
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user