Rare Naturally Spawning Fruit Trees

Adds a very small chance to spawn fruit trees on the map locations
43923-1774023557-19372316.webp

43923-1774023557-19372316.webp

Description

This mod adds a rare chance for fruit trees to naturally spawn in the world.

Tree spawning logic:

  • On Day 1 Year 1, there is a guaranteed chance for a fully-grown fruit tree to replace one of the wild trees at the farm map.
  • On any other day, the game cycles through every location, and performs a probability check(1%). If it succeeds, it tries to spawn a fruit tree(in any growth stage). The number of trees spawned is always 1. The tree first tries to spawn in any plantable tile, if a plantable tile is not available, it tries to replace any naturally spawned wild tree.


Configurable values(GMCM required):

  • SpawnChancePerDay - The chance that a fruit tree will spawn in a given location on a given day. Default: 1% per location per day.
  • SpawnsPerSuccessfulRoll - How many trees to attempt to spawn in a location on days when the spawn roll succeeds. Default: 1.
  • RandomizeStartingGrowthStage - If true, spawned trees start at a random young growth stage. If false, trees always start as seeds. Default: true.
  • IncludeModdedTrees - If true, also consider modded fruit trees. Default: true.
  • Per location toggles to allow fruit trees to spawn or not.


Things to note:

  • This mod never replaces any wild trees planted by the player.
  • Fruit trees spawning are season-specific, thus no fruit trees spawn in winter


Installation :

  • Download latest mod file
    e.g. "RareNaturallySpawningFruitTrees1.0.0.zip"
  • Extract the contents of the mod file to your Stardew Valley mods folder
    e.g. "C:\Program Files (x86)\Steam\SteamApps\common\Stardew Valley\Mods\"
  • Launch Stardew Valley using SMAPI


Compatibility :

  • Tested on Stardew Valley 1.6.15 and SMAPI 4.5.1
  • Not tested on Android yet


Source Code : Github
If this mods helps you, please consider donating on Ko-fi

The Rare Naturally Spawning Fruit Trees Team

profile avatar
Owner
  • 8
    Projects
  • 3.2K
    Downloads

More from vapor64View all