Custom Starter Package

Custom Starter Package

244 Downloads

This mod lets you replace the starter package contents in the farmhouse with a list you create using Content Patcher.

I have include an example pack in the Files tab. A basic content.json file looks like this:

{
<br />&nbsp;&nbsp; &nbsp;"Format": "1.23.0",
<br />&nbsp;&nbsp; &nbsp;"Changes": [
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"Action": "EditData",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"Target": "aedenthorn.CustomStarterPackage/dictionary",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"Entries": {
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"aedenthorn.CSPTestCP/ParsnipSeeds": {
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"NameOrIndex": "Parsnip Seeds",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"Type": "Object",
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"MinAmount": 15,
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"MaxAmount": 20,
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"ChancePercent": 100,
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"MinQuality": 0,
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"MaxQuality": 0
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}
<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}
<br />&nbsp;&nbsp; &nbsp;]
<br />}


Entry keys must be unique; you can install multiple content packs and each will add its own items to the package.


  • NameOrIndex can be either the key (index) or the first field (name) in the item's data file (e.g. Data/ObjectInformation)
  • Type can be one of the following:
    Object - uses Data/ObjectInformation
    Chest
    - uses Data/ObjectInformation
    BigCraftable
    - uses Data/BigCraftablesInformationHat - uses Data/hats
    Boots
    - uses Data/BootsClothing - uses Data/ClothingInformationRing - uses Data/ObjectInformationFurniture - uses Data/FurniturePickaxe - put the upgrade level in NameOrIndex (e.g. 3 for Gold)Axe - put the upgrade level in NameOrIndex (e.g. 3 for Gold)FishingRod - put the upgrade level in NameOrIndex
    Hoe
    - put the upgrade level in NameOrIndex (e.g. 3 for Gold)WateringCan - put the upgrade level in NameOrIndex (e.g. 3 for Gold)MeleeWeapon - uses Data/weapons
    Pan
    Shears
  • use MinAmount and MaxAmount for items that can stack
  • ChancePercent means the chance that the item gets included
  • use MinQuality and MaxQuality for items that have quality (e.g. crop harvest)



Technical

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.