Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

aedenthorn and temisthem

Uploaded by

temisthem

Virus scan

Safe to use

About this mod

Updated the original mod by aedenthorn to be 1.6 compatible.

Original Description:
Replaces the mailbox's click-to-open-next mechanic with a fully-functional mailbox menu that shows new mail and old mail with titles and customizable envelope icons.

Requirements
Permissions and credits
Changelogs
Updated Mailbox Menu by aedenthorn to run on 1.6.
New Features:
  • Compatible with Mail Services Mod
  • Compatible with Romancable Rasmodia (English only)
  • Beta: Sender names are translated to localized names
  • Beta: Mail with no title or "???" title will can display a makeshift title based on mail contents
Known Bugs:
  • Opening a letter that contains an item with a full inventory will cause the item to be lost
  • Opening a letter that contains a Stardrop will cause the Stardrop to be lost (workaround: disable the mod for that day when you open the letter)
  • Certain senders are not translatable since they do not have an actual name in the game content (e.g. "Hat Mouse, "Stardew Valley Tribune"). I recommend using (CP) Zilch's Envelopes for Mailbox Menu as these change the sender names to '#', so only translatable names should appear
Compatible with:

Mail Services Mod 
  • Note that when using this with Mail Services, the Mailbox Menu will only open when there is 0 new mail and there is no currently held item that would trigger an action from Mail Services.

Mobile Phone Continued

(CP) Zilch's Envelopes for Mailbox Menu

Romanceable Rasmodia

Multiplayer Compatibility:

Only makes client-side changes, so it will only affect those who have it installed.

Source Code:

If you want to help make this mod better, or maybe you think my code sucks and you can do better, visit my repo here.

Permissions Disclaimer:

Aedenthorn has retired from SDV modding and has removed all restrictions on permissions concerning their mods.
This announcement can be found here in the Stardew Valley Modding Discord server.

Aedenthorn's Stardew Valley Mod repo uses the GPL-3 license which allows derivative works to be allowed without requiring permission, given that they remain free, open source, and also use the same GPL-3 license.

Original Description:

With this mod, when you interact with your mailbox, a menu with all new and old mail will pop up.

Old mail can be filtered by sender.

Alone, this mod displays every mail envelope using a generic icon. You can change the generic icon, or use custom icons for individual letters or senders using Content Patcher.

Custom envelope packs include:


Note: for now, modded mail using Mail Framework Mod will be displayed as vanilla rather than through the menu, as I'm not able to access that mod's functionality.

Content Patcher

There are two dictionaries that keep track of mail data: one for NPCs and one for individual letters. The Content Patcher paths are:

aedenthorn.MailboxMenu/npcs
aedenthorn.MailboxMenu/letters

The dictionary for NPCs can be used to specify a generic envelope icon for every letter sent by a specific sender (whether they are an actual NPC or not).

The dictionary for letters can be used to specify an envelope icon for specific mail IDs. It is also used to tell the mod the name of the sender of each letter (the mod has an internal list for all vanilla mail that it pre-adds to this dictionary, letting it know the name of the sender of each vanilla mail item).

Syntax for either list is the same, though the fields used depend on the data you're using:

{
"Format": "1.23.0",
"Changes": [
{
"Action": "EditData",
"Target": "aedenthorn.MailboxMenu/npcs",
"Entries": {

"Abigail": {
"texturePath": "aedenthorn.CPMBMEnvelopes/Abigail",
"scale": 1,
"frames": 1,
"frameWidth": 0,
"frameSeconds": 0
}
}
},
{
"Action": "EditData",
"Target": "aedenthorn.MailboxMenu/letters",
"Entries": {
"MyLetterFromAbigail": {
"sender": "Abigail"
},
"abbySpiritBoard": {
"texturePath": "aedenthorn.CPMBMEnvelopes/AbigailSpecial",
"scale": 1,
"frames": 1,
"frameWidth": 0,
"frameSeconds": 0
}
}
},
{
"Action": "Load",
"Target": "aedenthorn.CPMBMEnvelopes/Abigail",
"FromFile": "assets/Abigail.png"
},
{
"Action": "Load",
"Target": "aedenthorn.CPMBMEnvelopes/AbigailSpecial",
"FromFile": "assets/AbigailSpecial.png"
}
]
}

The above tells the mod that generic letters from Abigail should use the content pack's png file for the envelope; that the letter with the ID "MyLetterFromAbigail" is from Abigail, and that the letter with the ID abbySpiritBoard should use a special png file from the content pack.

You can omit the other fields unless you need them:

  • scale is for icons that are not 256 pixels wide (e.g. 64x64). This will scale the icon if set to anything besides 1.
  • frames is used for animated icons - place the frames horizontally on the png file.
  • frameWidth is how many pixels wide each animated frame is.
  • frameSeconds is how many seconds (or decimal part) each frame should last.


Config

You can edit the config.json file that is created when first running the game or use GMCM.


Technical

Requires SMAPI.

Implements a Generic Mod Config Menu interface to change config settings in-game.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.