0 of 0

File information

Last updated

Original upload

Created by

spacechase0

Uploaded by

spacechase0

Virus scan

Safe to use

Tags for this mod

About this mod

Lets content packs define hybrid crops, which have a chance of appearing between two fully-grown parent crops.

Requirements
Permissions and credits
Translations
  • Portuguese
Donations
Hybrid Crop Engine lets content packs define hybrid crops, which have a chance of appearing between two fully-grown parent crops.

Install
  • Install the latest version of SMAPI.
  • Unzip the mod folder into Stardew Valley/Mods.
  • Run the game using SMAPI.

Use
For players
This mod does nothing on its own[/b], you need to install content packs for it.

You only need to install the mod and it'll work automatically for content packs that use it. If you have two fully-grown crops in the ground with an empty spot between them, there's a random chance each day a hybrid crop will start growing there.

See the optional downloads for an example Garsnips mod (a hybrid of garlic and parnsips).

For mod authors
Edit the Data/HybridCrops asset using Content Patcher or SMAPI's content API. For example, using Content Patcher with Json Assets tokens:
{
"Format": "1.24.0",
"Changes": [
{
"Action": "EditData",
"Target": "Data/HybridCrops",
"Entries": {
"{{spacechase0.JsonAssets/CropId:Garsnip}}": {
"BaseCropA": 0,
"BaseCropB": 4,
"Chance": 0.05,
}
}
}
]
}


The key is the crop index for the hybrid crop in the TileSheets\crops spritesheet. The value is an object containing three fields:
  • BaseCropA: the index of the first parent crop.
  • BaseCropB: the index of the second parent crop.
  • Chance: a percentage chance of a hybrid appearing each day, as a value between 0 and 1 (e.g. 0.05 for 5%).

Compatibility
Compatible with Stardew Valley 1.5.5+ on Linux/macOS/Windows, both single-player and multiplayer.

See also