Stardew Valley

File information

Last updated

Original upload

Created by

skuldomg

Uploaded by

Skuld

Virus scan

Safe to use

About this mod

Your cat will randomly leave you gifts on your doorstep - dogs will dig up gifts somewhere on your farm.

Requirements
Permissions and credits
Translations
  • Portuguese
  • Mandarin
Changelogs
Donations
WHAT THIS DOES

With this mod, your cat will sometimes leave you a random gift on your doorstep. Dogs will dig up gifts at a random location. Gifts can be anything from a wide range of items of varying quality (ie. trash, forage items, seeds, fish or even gems). The more valuable the gift, the rarer it will appear.

NEWS
  • Code update for the newest version.
  • Added translations (English and German included)!
  • Updated list of possible items to include new items from Stardew Valley 1.5


CONFIGURATION

If you do not want to know about drop chances etc and rather just enjoy your gifts, stop reading here.

I have not played with the drop chances I put in extensively yet, so I don't fully know if they are feasible. For that reason you can configure pretty much all chances. Here they are in detail and what they mean (open the config.json and change the values):

THRESHOLD_1 = 300
THRESHOLD_2 = 1000
THRESHOLD_3 = 1000

I've put in three friendship thresholds, each with different drop chances. Friendship ranges from 0 - 1000. Default values mean the first drop chances is used for a friendship of 0 - 300, the second from 300 - 1000 and the third for max level.

GIFT_CHANCE_1 = 20
GIFT_CHANCE_2 = 30
GIFT_CHANCE_3 = 40
FARMHAND_CHANCE = 30

Chances in percent for each day to have received a gift. In conjunction with the thresholds this means: 20% chance of receiving a gift from 0 - 300 friendship points, 30% chance from 300 - 1000 and 40% for max friendship level. 
FARMHAND_CHANCE is the chance for the player in case he joins a multiplayer game.

LOW_CHANCE = 40
MID_CHANCE = 40
HI_CHANCE = 20

Chances in percent for the different item qualities. They must add up to 100%, so keep that in mind if you change them.

MAX_WEEKLY_GIFTS = 3

Upper limit for weekly gifts. Statistics are a bitch and even with low gift chances it may happend that the cat would bring you seven gifts in a row. This limit will prevent that.

New custom spawnpoint option for custom / non-standard maps:

SPAWN_X = -1
SPAWN_Y = -1

Use (for example) the Look Up Anything mod or a map editor to determine your desired spawnpoint and enter its X and Y coordinates here. If these values are below 0, the spawnpoint will continue to be random. BEWARE: You might break spawning with this if you set it to a coordinate that already has objects on it (ie. houses or other structures or if it's outside the map).

THANKS TO

pcsbx on Entoarox' modding ideas github page for the idea.
strobel1ght for updating the mod for SV 1.4.