Stardew Valley

File information

Last updated

Original upload

Created by


Uploaded by


Virus scan

Safe to use

Tags for this mod

About this mod

Makes farming more interesting (or challenging) by introducing compost which is required for plants to grow properly, pests that kill your crops, and positive traits that your crops can gain.

Permissions and credits
  • Portuguese
  • Install the latest version of SMAPI.
  • Optional: Download Seeds are Rare (and its requirements) and  unzip it into Stardew Valley/Mods. This mod is made and balanced with Seeds are Rare in mind.
  • Download this mod and unzip it into Stardew Valley/Mods.
  • Run the game using SMAPI.

Remove the folder of this mod. The mod stores data in your save file but that data is only used by the mod and ignored by the game. Composting bins you build will be shipping bins after the removal.

Short Description:
This mod has three main components:
  • Pests. Vegetable flies have a chance to infest your crops. Only thing that helps is to destroy the infested crop before they spread on the next day.
  • Crop traits. Using the seed maker to get seeds many times gives the crop a random trait (up to three levels). This can be better quality, pest resistance, faster growing speed or better water retention. Without the speed or water trait your crops grow worse than without this mod.
  • Compost. You can compost some items (weeds, hay, crops, forage). Compost can be applied to tilled dirt and all crops grown there will gain level 1 for all the four traits. Without compost, growing crops is harder. That means that compost counters the negative effects.

Detailed Description:
The goal of this mod is not realism or to be a challenge. The goal is a more interesting farming progression. Nevertheless, you won't be harvesting a lot in Spring, Y1. You should also expect to lose a lot of crops.

The main idea behind this all is to force the player to use compost. The soil of the farm you inherited is in bad condition. The crops you want to grow are not adapted enough to grow there well. Applying compost sets the growing conditions nearly to "normal" (vanilla). By saving your own seeds from the crops you grow on your farm you get more adapted crops that can even survive without the compost in their later forms. But before then, you have to use the seed maker a lot and make a lot of compost (which you won't have in the beginning).

The images above visualize some of the aspects described in the following.

You can get a composting bin constructed by robin. The composting bin has three modes: 1. Getting filled, 2. working, 3. compost is finished. In the first mode, you can put items inside the bin. Possible items are crops, forage, hay, fiber, and few more e.g. seaweed. Different item types have a different brown/green ratio. (This is based on real life composting where green stands for "nitrogen rich" and brown for "carbon rich"). Hay is brown-heavy, crops and forage are green. Fiber is neutral. You need to have a ration of ca. 50% green to 50% brown ( The arrow has to be in the green area). You also need to have enough material to start the composting process. The arrow button (that appears when everything is balanced and enough material was added) starts the composting.
While the bin is working it only shows you how much time is left until the compost is finished (no turning or watering required). It needs 28 days and then gets into the third mode.
When the compost is finished, it can be applied by pressing the ok button. Clicking on tilled dirt on the map applies the compost. It stays there for 28 days.  You can click the ok button in every mode to see where compost is applied and how long the compost will stay there until is has to be reapplied.
Crops grown in an area affected by compost will have all their trait levels increased by one.
As in real life, it might be a good idea to have multiple compost piles (one that can be filled, one that is finished, and maybe one that is already working). The greenhouse does not need compost and it cannot be applied there.

Crops can have four different traits and each trait has levels 0-2 or 0-3. Crops can only have level 0-2. The third level can only be reached by applying compost.
  • Pest Resistance (0-2): Resistance against vegetable flies.
    Level 0: None,
    Level 1: 50%,
    Level 2: 100%.
  • Quality (0-2): Quality of crops.
    Level 0: Normal (as in vanilla),
    Level 1: As if basic fertilizer was applied,
    Level 2: As if quality fertilizer was applied.
  • Water (0-3): Water Retention.
    Level 0: Stage of crop growth decreases if not watered,
    Level 1: Normal (as in vanilla),
    Level 2: Stays watered the next day,
    Level 3: Stays watered the next two days.
  • Speed (0-3): Growing Speed.
    Level 0: Crops grow slower than normal and can die in the first stage,
    Level 1: Normal (as in vanilla),
    Level 2: Slight chance to grow faster,
    Level 3: Greater chance to grow faster.

Compost increases the level of the trait. Take a look at the images above for examples. You can see this info in the game by right clicking with seeds in your hand on a seed maker for the crop traits or compost bin for the traits including the compost bonus.
In the greenhouse, the negative effects of speed, water and pest resistance are not applied. Hence, crops will grow normally there and never get infested. Positive effects of traits will come into effect. Also, if compost affects a tile where the soil is not tilled, weeds have a chance to grow there, especially if it rained the day before. This can be used to get more fiber and mixed seeds.

Vegetable flies are introduced as pests that infest your crops. The only way to get rid of them is by destroying the crop. Otherwise they will infest adjacent crops and destroy them over time.

Start the game with this mod at least once to generate the config.json in the CompostPestsCultivation folder.
Some chances (in %) and other values can be changed.
  • pest_infestation_chance: Chance for each crop to be infested by a pest.
  • adjacent_infestation_chance: Chance for a crop adjacent to an infested crop to also be infested.
  • processed_crops_for_cultivation_level: Amount of crops of one type be processed in the seed maker to gain a new trait (for coffee and sunflower plants the count is increased on harvest)
  • fertilized_weed_grow_chance: Chance of weeds to grow in a place not tilled but affected by compost.
  • fertilized_rain_weed_grow_chance: As above but when it rained the day before.
  • minimal_speed_ungrow_chance: Without the Speed trait (without compost) crops will "ungrow" with this chance.
  • speed_i_trait_grow_chance: If plant has speed 1 trait: Chance of plants to grow an additional step.
  • speed_ii_trait_grow_chance: As above but with speed 2.
  • pest_resistance_i_chance: Chance for a plant to not be affected by a pest (after pest tries to infest plant) if resistance 1 trait is present. (50% means they are only affected half as often).
  • pest_resistance_ii_chance: As above but with resistance 2 (default value is 100% so they are completely safe).
  • compost_last_for_days: Days the compost last on a tile until it has to be reapplied.
  • composter_takes_days: Days the compost takes to be finished.
  • composter_min_parts: Minimal amount of parts you need to start the composting process.

  • Tested with Stardew Valley 1.4 on Linux, partially tested on Windows
  • Multiplayer is not supported right now
  • Compatible with Automate but be aware that the game and Automate will treat the compost bin as a shipping bin and Automate will not put items in the inventory of the compost bin but ship them instead.

  • German

source code