Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

About this mod

Lets you set a custom daily production for any object using Content Patcher.

Requirements
Permissions and credits
Changelogs
Donations
This mod is another Content Patcher extension that lets you specify daily item production of any object that calls DayUpdate (big craftables, but also stones, etc.).

To tell this mod about a product, use the following Content Patcher syntax (e.g.):


{
    "Format": "1.23.0",
    "Changes": [
        {
            "Action": "EditData",
            "Target": "custom_object_production_dictionary",
            "Entries": {
                "Meat Vat": {
                    "infoList":
                    [
                        {
                            "id":"684",
                            "min": 1,
                            "max": 2,
                            "weight": 200
                        },
                        {
                            "id":"766",
                            "min": 1,
                            "max": 3,
                            "weight": 40
                        },
                        {
                            "id":"680",
                            "min": 1,
                            "max": 1,
                            "weight": 4
                        },
                        {
                            "id":"413",
                            "min": 1,
                            "max": 1,
                            "weight": 3
                        },
                        {
                            "id":"439",
                            "min": 1,
                            "max": 1,
                            "weight": 2
                        },
                        {
                            "id":"857",
                            "min": 1,
                            "max": 1,
                            "weight": 1
                        },
                    ]
                }
            }
        }
    ]
}


custom_object_production_dictionary is the path this mod uses to populate the list of objects that are producing something on a given day.

Entry keys can be either the name of the object or the parent sheet index, but a string either way. Entry values are objects with the following keys:

  • id - the parent sheet index, JA name, or DGA mod.ID/Name of the item to be produced today (as a string)
  • min - min amount to produce today
  • max - max amount to produce today
  • minQuality - for items that have quality (crops, etc.)
  • maxQuality - for items that have quality (crops, etc.)


Limitations

  • The mod doesn't take into account the state of the object (e.g. whether a campfire is lit),
  • You can't specify a certain type of product, e.g. blueberry jam, salmon roe, etc.
  • Products are produced at the day start - setting a production countdown timer isn't possible with this mod.


Technical

Requires SDV 1.5.5+

Requires SMAPI, uses Harmony.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.