Production framework module
A framework for adding custom production rules to your game. Supports code and content package interfaces.
Screenshots 4 screenshots
About this mod Machine translation
A framework for adding custom production rules to your game. Supports code and content package interfaces.
Producer Framework Mod
🎯 **MOD GOALS**
Provides an easy way to add new production rules to the game.
---
🚀 Installation Guide
- Install the latest version of SMAPI
- Unzip the Producer Framework Mod to the /Stardew Valley/Mods folder
---
📝 Update log
🔧 Version 1.9.8
- Fixed a bug where translation keys were missing when content packs were removed when hovering over an item generated by PFM
🔧 Version 1.9.7
- Fixed an issue that would not let other mod patches work when the input was not an object or the machine was not visible
🔧 Version 1.9.6
- Disable the light source function that conflicts with Stardew Valley version 1.6.9
- Fix exception when loading producer without name
🔧 Version 1.9.5
- Fixed null reference bug in previous versions
🔧 Version 1.9.4
- Added French internationalization support (thanks to Caranud)
- Fixed vanilla machine showing inappropriate frames when loading PFM rules
- Fixed vanilla machine not clearing content at night
---
🛠️ Content pack usage provided for mod developers
📋 Production rule template
The mod folder contains templates with annotated explanations explaining in detail what each attribute does.
⚙️ Configuration file
- **ProducerRules.json** - Production rule configuration
- **ProducersConfig.json** - producer configuration
- **Config.json** - module configuration
🎯 Core Functions
- Supports custom input identifiers, fuel requirements and output rules
- Configurable production time, price calculation and quality inheritance
-Support color output and animation effects
- Add season, weather and location conditions restrictions
- Integrated automation support
---
💻 Code interface provided for developers
🔧 Integration method
- Reference ProducerFrameworkMod.dll in SMAPI project
- Add rules and configuration using ProducerController class
- Parameters have the same properties as the content pack template
- Content packs can be loaded directly through API methods
---
🙏 Special thanks
- **minervamaga, SpringsSong, ParadigmNomad, Trent, spacechase0** - directly participated in the development of this framework
- **Owner of the Stardew Valley Discord #modding channel** - provided valuable support and inspiration
---
📚Other modules by the author
- Animal Husbandry Mod
- Everlasting Baits And Unbreakable Tackles Mod
- Water Retaining Field Mod
- Custom Crystalarium Mod
- Crop Transplant Mod
- Custom Cask Mod
- Custom Kissing Mod
- Borderless Wood Floor Mod
- Custom Producer Mod
- Mail Services Mod
- Arcane Table Mod
- Gem Lamp Posts Mod
- Advanced Casks Mod
Install & use Install: SMAPI mod (Stardew Valley standard)
- Install SMAPI first (Stardew Valley's mod loader): download it from smapi.io, run 'install on Windows.bat' and pick your game folder.
- Unzip the archive from playbuff and find the folder that contains manifest.json — that folder is the mod.
- Copy that whole folder into Stardew Valley/Mods/.
- Launch the game through SMAPI (run StardewModdingAPI.exe or set it as the launch option). The console before the title screen lists each mod's load result.
Cheat-style tools may not need SMAPI — unzip and run them as the readme describes. Back up your save before editing it; SMAPI lists failed mods in its console.