Adds farm animals as new entries to Data/FarmAnimals without overwriting existing farm animals.
The following section explains how to add a new farm animal with the Better Farm Animal Variety (BFAV) mod. In this example we will be using Paritee's White Bull mod, but this can be done with any farm animal type that has been loaded into Data/FarmAnimals
. See Configure.FarmAnimals for more information on the Types
field.
- Make sure you have installed BFAV
- Unzip the Paritee's White Bull folder into
Stardew Valley/Mods
- Add "White Bull" to the
Cows.Types
array inside BFAV'sconfig.json
- Run the game using SMAPI
Your Cows
section of the config.json
should now look like the following:
"Cows": {
"Name": "default",
"Description": "default",
"ShopIcon": "default",
"Types": [
"White Cow",
"Brown Cow",
"White Bull"
]
},
You cannot add a new farm animal without BFAV, but you can override and existing farm animal with a few modifications. Here is a method for overriding the White Cow
with Paritee's White Bull. To do this, you need to change the following inside the farm animal mod's content.json
:
- Change the
Data/FarmAnimals
Entries
key toWhite Cow
{
"Action": "EditData",
"Target": "Data/FarmAnimals",
"Entries": {
"White Cow": ..,
}
},
- Change the sprite
Target
paths toWhite Cow
{
"Action": "Load",
"Target": "Animals/White Cow",
..
},
{
"Action": "Load",
"Target": "Animals/BabyWhite Cow",
..
},
- Change the localization
Data/FarmAnimals
Field
keys toWhite Cow
for each language
{
"Action": "EditData",
"Target": "Data/FarmAnimals",
"Fields": {
"White Cow": ..,
},
"When": { "Language": "de" },
},
WIP
It is possible to override the default spritesheets for the BFAV farm animals so that you can use your favourite packs. You need to do the following two steps within your Content Patcher skin mod.
I'll be using Elle's New Barn Animals as the Content Patcher skin mod and Paritee's White Bulls as the BFAV farm animal in the example.
- Add your target BFAV farm animal's mod
UniqueID
(found inmanifest.json
) as a required dependency in your Content Patcher skin mod'smanifest.json
.
{
"Name": "Elle's New White Cow",
..
"ContentPackFor": {
"UniqueID": "Pathoschild.ContentPatcher"
},
"Dependencies": [
{
"UniqueID": "Paritee.WhiteBulls",
"IsRequired": true
}
]
}
- In your Content Patcher skin mod's
content.json
replace all"Action": "Load"
to"Action": "EditImage"
and change all instances ofTarget
to the same that's in your BFAV farm animal'scontent.json
. Below is what your Content Patcher skin mod'scontent.json
should look like.
{
"Format": "1.3",
"Changes": [
{
"Action": "EditImage",
"Target": "Animals/White Bull",
..
},
{
"Action": "EditImage",
"Target": "Animals/BabyWhite Bull",
..
},
]
}