恋爱日记

恋爱日记

your spouse will write a private diary entry every day. You can also write diary entries, and your spouse will annotate and discuss your diary with you the next day. The diary entries are generated by AI based on your actual in-game actions from the previous day.你的配偶每天都会写一篇私人日记。你也可以写日记,配偶第二天

配偶日记 (Spouse Diary)

简介

结婚之后,你的配偶每天都会写一篇私人日记。你也可以写日记,配偶第二天会对你的日记进行批注和对话讨论。

日记由AI根据你前一天的实际游戏行为生成,完全基于角色性格,每篇都是独一无二的。

功能

  • AI生成配偶视角日记:配偶会根据你的每日行为(去了哪里、送了什么礼物、赚了多少钱、打了什么怪、几点睡的觉……)写出符合角色性格的日记
  • 写日记功能:默认按J打开菜单,你可以每天写一篇日记,配偶在第二天将对你的日记进行批注,并且有对话反应。
  • 全角色性格适配:自动匹配星露谷所有可婚NPC的性格特征和语气
  • 丰富的行为追踪:记录送礼、出货、购物、种植、浇水、钓鱼、战斗、采集、烹饪、NPC互动等数据
  • 特殊事件反应:配偶生日、节日活动、玩家被击倒、凌晨晕倒等场景都会在日记中体现
  • 情感互动:送礼给其他异性NPC时配偶可能会吃醋,整天不回家时配偶会担心
  • 历史日记浏览:按快捷键(默认J)随时翻看所有历史日记
  • 按存档隔离:每个存档的日记数据独立保存
  • 自定义API:支持任何兼容OpenAI格式的AI接口(OpenAI、Claude、国内各大模型API等)

使用方法

  1. 安装mod后,编辑 config.json,填入你的API地址和密钥、模型
  2. 正常游戏,结婚后第二天起每天早上会收到配偶的日记(以信件形式弹出)
  3. 按J键可以浏览所有历史日记

配置说明

  • ModEnabled - MOD总开关(默认开启)
  • DiaryFrequency - 日记生成频率,每X天生成一次(默认每天)
  • OpenDiaryKey - 打开历史日记快捷键(默认J)
  • ApiUrl - AI接口地址(兼容OpenAI格式)
  • ApiKey - 你的API密钥
  • ModelName - 使用的模型名称
  • SystemPrompt - 系统提示词(支持自定义)
  • MaxTokens - 最大返回Token数
  • TimeoutSeconds - API请求超时时间

注意事项

  • 需要自备AI API密钥
  • 生成日记需要网络连接
  • 仅对NPC配偶生效,多人模式下与真人玩家结婚时自动禁用
  • API调用会产生费用,请注意用量

兼容性

  • 需要 SMAPI 4.0.0+
  • 星露谷物语 1.6+
  • 与大多数mod兼容

Spouse Diary

Overview

After marriage, your spouse writes a private diary entry every day.

Each diary is uniquely generated by AI based on your actual gameplay from the previous day, written entirely in-character with your spouse's personality.

Features

  • AI-generated spouse diary: Your spouse observes and reacts to your daily actions (where you went, gifts given, money earned, monsters fought, what time you went to bed...) and writes a diary in their unique voice
  • Diary Writing Feature: By default, press J to open the menu. You can write one diary entry per day. Your spouse will annotate your diary the next day and have conversational reactions to it.
  • Character-accurate personalities: Automatically matches the personality and tone of all marriageable NPCs in Stardew Valley
  • Comprehensive behavior tracking: Tracks gift-giving, shipping, shopping, planting, watering, fishing, combat, foraging, cooking, NPC interactions, and more
  • Special event reactions: Spouse birthdays, festival days, player getting knocked out, passing out at 2AM — all reflected naturally in the diary
  • Emotional depth: Your spouse may get jealous if you gift other NPCs, worry if you stay out all day, or feel hurt if you forget their birthday
  • Diary history browser: Press a hotkey (default: J) to browse all past diary entries anytime
  • Per-save isolation: Diary data is saved separately for each save file
  • Custom API support: Works with any OpenAI-compatible API endpoint

How to Use

  1. Install the mod, then edit config.json to enter your API URL and key
  2. Play normally — starting the day after marriage, you'll receive a diary letter from your spouse each morning
  3. Press J to browse all past diary entries

Configuration

  • ModEnabled - Master toggle (default: true)
  • DiaryFrequency - Generate a diary every X days (default: 1)
  • OpenDiaryKey - Hotkey to open diary browser (default: J)
  • ApiUrl - AI API endpoint (OpenAI-compatible format)
  • ApiKey - Your API key
  • ModelName - Model to use
  • SystemPrompt - System prompt template (customizable)
  • MaxTokens - Maximum response tokens
  • TimeoutSeconds - API request timeout

Important Notes

  • Requires your own AI API key
  • Requires internet connection for diary generation
  • Only works with NPC spouses — automatically disabled when married to another player in multiplayer
  • API calls may incur costs — please monitor your usage

Compatibility

  • Requires SMAPI 4.0.0+
  • Stardew Valley 1.6+
  • Compatible with most mods