Full coop, busy barn, and every egg and milk jug still comes out with no star on it? That is not bad luck. Product quality in Stardew Valley comes from two hidden stats, friendship and mood, and you can push both up every single day.
Here’s what actually happens under the hood, plus the daily routine that turns plain eggs into gold and iridium ones.
The Two Hidden Stats
- Friendship (0 to 1,000): Shown as five hearts in the animal’s info window, each half heart is 100 points. It moves slowly and decides most of your quality.
- Mood (0 to 255): The “looks happy” line in the info window. It swings a lot from day to day, and it acts as the gate for quality and large products.
What raises and drops friendship
| Action | Friendship |
|---|---|
| Petting | +15 (+30 with Shepherd or Coopmaster) |
| Eating grass outside | +8 (+16 on Blue Grass) |
| Milking or shearing | +5 |
| Not petted that day | About -5 to -10 |
| Not fed | -20 |
| Left outside overnight | -20 |
What moves mood
- Grazing outside: Eating grass sets mood straight to the maximum. This is the single biggest mood button in the game.
- Petting: A solid boost every day, doubled with the matching profession.
- Being fed: A small boost at bedtime if the animal ate hay or grass.
- Rain, winter and late nights outside: Mood drains while the animal is out in the rain, in winter or after 7 PM.
- Sleeping outside: Cuts mood in half. Close the door after everyone is in.
- Not fed: A huge mood drop, and no product the next day.
How Quality Is Rolled
For the tech nerds: an animal only gets its full shot at quality and large products when its mood is 150 or higher. Below that, the chance shrinks in proportion to mood. Once it passes the gate, the game calculates a score:
Score = (Friendship / 1000) minus (1 minus Mood / 225)
Shepherd adds 0.33 to barn animals and Coopmaster adds 0.33 to coop animals. The game then rolls iridium (only when the score is above 0.95), then gold, then silver, from the top down.
| Friendship | Mood | Score | Gold or iridium |
|---|---|---|---|
| 1,000 | 255 | 1.13 | About 81%, iridium possible |
| 1,000 | 225 | 1.00 | About 75%, iridium possible |
| 800 | 200 | 0.69 | About 34% |
| 1,000 | 150 | 0.67 | About 33% |
| 500 | 225 | 0.50 | About 25% |
| 500 | 150 | 0.17 | About 8% |
Test Results: look at rows three and four. An animal at 800 friendship with high mood beats a maxed-out friend who is grumpy. Mood is not a side stat, it is half the formula.

The Daily Routine
Once your buildings are set up this takes two or three minutes, and it pays every day.
- Check the feeding bench: Every spot needs hay unless the animals will graze. A hungry animal produces nothing and tanks its mood.
- Open the doors on good days: On dry days outside winter, let everyone out onto grass. That is maximum mood for free and extra friendship on top.
- Pet everyone: One pet per animal per day. Do it first thing so you never forget.
- Collect and harvest: Milk and shear when ready, it adds a little friendship too.
- Get them in before 7 PM: Animals left out late lose mood, and sleeping outside halves it. Close the door once they are in.
Winter and rain
Animals stay inside in winter and on rainy days, so the bench has to be full. In winter, a Heater in each coop and barn stops the evening mood drop and even pushes mood back up. Stock the Silo with plenty of hay before Fall ends.

Upgrades That Make It Easier
- Deluxe buildings: Deluxe Coop and Deluxe Barn upgrades add an auto-feed system, so the benches fill themselves from the Silo.
- Shepherd and Coopmaster: The Farming level 10 professions double petting gains and add that 0.33 quality bonus. Pick the one that matches the animals you own the most of.
- Blue Grass: On the Meadowlands Farm from version 1.6, Blue Grass gives double friendship when eaten.
- Pigs: Grazing days are also truffle days. Pigs only dig up Truffles outside, and each one sells for 625g base, so happy pigs are rich pigs.
Exploit Alert: the formula uses 225 as the mood divisor but mood caps at 255, so a freshly grazed animal can score above 1.0. That extra slice is why grazing beats hay every time it is an option.
Animal farmers are a big chunk of the people still playing; check the current numbers on our Stardew Valley player count page.
Animal Happiness FAQ
How do you make animals happy in Stardew Valley?
Feed them, pet them once a day and let them graze outside on dry days. Bring them in before 7 PM and use a Heater in winter.
Why are my animal products not good quality?
Usually low mood. Below 150 mood an animal often cannot roll for quality at all, even with full hearts. Let them graze and pet them daily.
Does petting animals every day matter?
Yes. Petting is the biggest daily friendship gain, and skipping it costs friendship and mood overnight.
Do animals need to go outside?
Not strictly, but grazing sets mood to the maximum and adds friendship, so letting them out on dry days gives the best products.
The Tech, in one line: friendship sets your ceiling and mood decides if you hit it. Pet daily, graze whenever the weather allows and keep the benches full, and the gold stars start rolling in within a season. I tested this so you don’t have to.