wsf module
This is a commemorative module. Stardew Valley has accompanied us through a very unforgettable time together. It seems that it is also a cool thing to create a module that is exclusive to the two of us. Start simple and slowly expand the content. It may also be a very romantic thing~
Screenshots 1 screenshots
About this mod Machine translation
This is a commemorative module. Stardew Valley has accompanied us through a very unforgettable time together. It seems that it is also a cool thing to create a module that is exclusive to the two of us. Start simple and slowly expand the content. It may also be a very romantic thing~
wsf module
💫 **A Stardew Valley mod full of romantic memories**
---
✨ Module Introduction
This is a special mod developed by Leejohn, inspired by the good times the author and his girlfriend spent in Stardew Valley. This gift-like module is both a reward for past love and an inspiration for future love!
---
🎮 How to use
- Search "wsf's_mod" or ID: 34663 from the N website official website
- Regular manual download, configure Mods folder
- After loading the save file normally, the ring will be automatically given
🎯 Features
- **Automatic outfit change**: After putting on the ring (magically modified pyroxene ring), there will be automatic outfit change and bright expression special effects
- **Remote Communication**: Press the "U" key anywhere in the game to invoke remote communication with Shane (using Deepseek)
---
💻 Development Record
🛠️ Development environment
- Developed based on .NET SDK combined with vscode (debugging parameters is more convenient)
- Requires vscode.NET Install Tool extension
📝 Core code
The core is that the Modentry.cs file inherits the Mod class:
```csharp
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using StardewValley.Objects;
namespace wsf;
public class Modentry: Mod
{
public override void Entry(IModHelper helper)
{
Monitor.Log("Initializing Custom Ring Mod", LogLevel.Debug);
CustomRing.Register(helper, this.Monitor);
helper.Events.GameLoop.SaveLoaded += OnSaveLoaded;
}
private void OnSaveLoaded(object sender, SaveLoadedEventArgs e)
{
bool hasRing = false;
foreach (var item in Game1.player.Items)
{
if (item is Ring ring && ring.GetType() == typeof(CustomRing))
{
hasRing = true;
break;
}
}
if (!hasRing)
{
Game1.player.addItemToInventory(new CustomRing());
Monitor.Log("Auto-given custom ring to player", LogLevel.Info);
}
}
}
```
🔧 Custom functions
Ring events can be personalized and modified in CustomRing.cs. After registering ring assignment and wearing events, message text, actions and emoticon content can be customized and modified:
```csharp
public override void onEquip(Farmer who)
{
base.onEquip(who);
Game1.addHUDMessage(new HUDMessage("text", 1));
_monitor?.Log($"{who.Name} text!", LogLevel.Info);
who.animateOnce(id);
originalHat = who.hat.Value;
originalShirt = who.shirtItem.Value?.ItemId;
originalPants = who.pantsItem.Value?.ItemId;
originalHairColor = who.hairstyleColor.Value;
who.hat.Value = new Hat("69");
who.changeShirt("1265");
who.pantsItem.Value = new Clothing("2");
who.changeGender(who.IsMale);
}
```
---
🌟 Future Outlook
The current function is very simple, and it may be updated slowly in the future, and it may eventually become a truly useful module, not just a gift~ As the saying goes, carry on the past and open up the future!
💝 **Let every moment in the game be filled with love and memories**
Install & use Install: SMAPI mod (Stardew Valley standard)
- Install SMAPI first (Stardew Valley's mod loader): download it from smapi.io, run 'install on Windows.bat' and pick your game folder.
- Unzip the archive from playbuff and find the folder that contains manifest.json — that folder is the mod.
- Copy that whole folder into Stardew Valley/Mods/.
- Launch the game through SMAPI (run StardewModdingAPI.exe or set it as the launch option). The console before the title screen lists each mod's load result.
Cheat-style tools may not need SMAPI — unzip and run them as the readme describes. Back up your save before editing it; SMAPI lists failed mods in its console.