崩坏3 AI同伴NPC

崩坏3 AI同伴NPC

SeeleAI 将《崩坏3》三位少女带进星露谷,借助 DeepSeek 实现实时 AI 对话。借助 DeepSeek 实现实时 AI 对话。核心功能:每日三阶段主题聊天 + 自由对话、18种事件触发的智能群聊、每周个性化信件附赠礼物、完整婚姻系统(自定义配偶房间/庭院/婚后日常)、全游戏状态

游戏玩法机制

🌟 SeeleAI

让三位来自《崩坏3》的少女真正「住进」你的星露谷——她们会看你种地、陪你聊天、吐槽你翻垃圾桶,甚至在你晕倒时担心你。

该模组是一个为《星露谷物语》1.6 打造的深度 AI 同伴模组。借助 DeepSeek 大语言模型,三位个性迥异的少女——希儿(Seele)、爱莉希雅(Elysia)、月下妖精德丽莎(Delilah)——不再是固定台词的 NPC,而是会根据你的每一个行动实时反应的 AI 伙伴。


📦 安装

前置需求

组件 说明
Stardew Valley 1.6+ 游戏本体
SMAPI 4.0+ Mod 加载器(smapi.io)
Content Patcher CP 角色包依赖(Nexus Mods 搜索 Content Patcher)
DeepSeek API 账户 获取 API Key:platform.deepseek.com
网络连接 AI 对话需要实时调用云端 API

安装步骤

  1. 安装 SMAPI 和 Content Patcher
  2. 将 SeeleAI 文件夹放入 Stardew Valley/Mods/
  3. 将三个 CP 角色包 [CP] Seele NPC、[CP] Elysia NPC、[CP] Delilah NPC 也放入 Mods/
  4. 启动游戏后,在API设置选项里(左上角)输入API

💡 首次运行:模组会自动将内置人物包复制到 Mods 目录。也可以在游戏中按 F8 随时配置 API Key。

✨ 核心功能

🗣 AI 实时对话

每天与每位 NPC 可进行三阶段主题对话,之后进入自由聊天模式:

阶段 名称 对话主题
🌅 第一段 晨间新闻 根据当日电视节目(运势/天气)开启话题,像朋友聊新闻
🌾 第二段 农场巡视 根据你的农场真实状态——作物、动物、工匠设备——聊天
🎉 第三段 生活闲聊 节日庆祝 / 生日祝福 / 朋友间的日常关心

每次对话末尾提供 3 个情感选项卡(如「鼓励她」「开玩笑」「认真回应」),玩家的选择会影响好感度。三轮主题结束后,输入框自由打字,想聊什么就聊什么。


👥 智能群聊系统 ⭐ 核心亮点

主动事件触发群聊是 v2.0 的最大升级——NPC 不再只是被动等待,她们会主动观察你的一举一动,并在你做某件事后自发在群聊里讨论! (也可通过回车按键自由对话进行群聊)

18 种事件触发

# 触发事件 场景描述
1 🎭 特殊事件 触发好感剧情/过场动画后,三人分享感受
2 🎪 到达节日 走进花舞节、月光水母等节日现场,她们雀跃讨论
3 🎁 赠送礼物 看到你给某位 NPC 送礼物——是真心还是人情?
4 🛒 商店购物 在皮埃尔/罗宾/克林特店里买了东西后的消费吐槽
5 📋 接受任务 你接了新任务,她们想知道你又要去忙什么
6 ⚔️ 击杀怪物 下矿杀怪——担心你的安全,又佩服你的勇气
7 🌾 收获作物 大丰收!惊叹你这个农场主真有两下子
8 🌱 播种 看到你弯腰种下新种子,猜测今年会有什么收成
9 🌩 特殊天气 暴风雨/绿雨日的共同惊叹,躲在屋里听雨声
10 ⬆️ 技能升级 你的农耕/采矿/钓鱼等技能升级,有人比你还高兴
11 😵 晕倒 在矿洞/野外体力不支晕倒,被送回家后……社死现场
12 💕 好感里程碑 与某位 NPC 达到 4❤/8❤/10❤,值得八卦一下
13 🗺 到达特殊地点 首次踏上沙漠/姜岛——「这里好漂亮!」
14 💎 发现五彩碎片 挖到了五彩碎片!三人的尖叫隔着屏幕都能听见
15 🗑 翻垃圾桶 翻垃圾桶被看到了——比矿洞晕倒还社死
16 🍳 学会新菜谱 新学会一道菜,马上有人想尝尝
17 🎣 钓到鱼 鱼上钩了——有人比你更兴奋
18 🏆 社区中心完成 献祭全部完成!这是属于整个星露谷的荣耀

智能防刷机制

  • ⏰ 每日不重复:同一事件每天只触发一次
  • 🧊 冷静期:两次群聊之间有间隔,避免轰炸
  • 📝 最近记忆去重:已在历史记录中的事件不会再次触发
  • 🎮 手动群聊:随时按 Enter 主动发起群聊,不受冷却限制

群聊风格

群聊模拟「手机群聊」——崩坏:星穹铁道风格的交替发言,8~14 条消息,语气日常随意,与私聊的深度对话风格截然不同。群聊记录保存到 群聊记录.txt,可随时回顾。


💌 每周信件 & 礼物

  • 📬 每周日:一位 NPC 根据你一周的真实数据撰写个性化信件:
    • 金币收入与支出变化
    • 收获了哪些作物、采集了多少野味
    • 钓了几条鱼、挖了多少矿、打了多少怪
    • 送了多少礼物、做了多少菜、种了多少种子
    • 走了多少步、技能有没有升级、参加了什么节日
  • 🎁 附带礼物:每封信附赠 3 件精心挑选的物品(种子、矿物、料理、宝石等)
  • 🎪 节日回忆信:参加节日后的次日早晨,一位 NPC 会寄来温暖的节日回忆
  • 信箱里的每封信都附带实际游戏物品,点击即可领取

💍 婚姻系统

  • ❤️ 与任意一位 NPC 发展至 10❤ + 送出美人鱼吊坠即可结婚
  • 🏠 自定义配偶房间 & 庭院:每位 NPC 都有独特设计的婚后空间
  • 🗓 婚后日常节奏:
    • 工作日 NPC 外出活动
    • 周末及雨天全天在家陪伴
    • 早安问候、晚安依偎、雨天共读
    • 季节变化时的感怀(春种花、夏避暑、秋丰收、冬看雪)
  • 🛒 周末采购:配偶周末外出购物,30% 概率给你带一份食材回家
  • 🌸 庭院种花:配偶在庭院种花,蓝色的花朵像蝴蝶停在绿叶上

🌍 游戏世界感知

AI 能够感知的完整游戏状态:

类别 感知内容
⏰ 时间 季节、日期、当前具体时段(清晨/上午/下午/傍晚/深夜)
🌤 天气 晴天、雨天、暴风雨、绿雨、雪天
📍 位置 当前所在区域(农场、城镇、矿洞、沙滩、沙漠、姜岛等)
🌾 农场 种植的作物种类与数量、动物种类与数量、工匠设备
💰 经济 持有金币、当日收入、近期收支变化
⭐ 技能 农耕/采矿/钓鱼/采集/战斗等级
❤️ 好感度 与全镇 NPC 的好感度等级
🏆 进度 社区中心完成情况、博物馆捐赠数量
🎒 背包 当前携带物品一览

🧠 AI 记忆系统

  • 保留每位 NPC 最近的 5 轮对话作为上下文
  • 群聊拥有独立记忆追踪,不受私聊干扰
  • NPC 会记得你之前说过的事——对话有真实的连续性

🎭 每日心情系统

  • 六档随机心情,每天刷新
  • 影响当日对话的语气——从「今天的妖精小姐心情很好♪」到「稍微有点emo……」
  • 让你每天跟同一位 NPC 聊天都有新鲜感

🌐 双语支持(自动检测)

  • 🔍 自动检测游戏语言,零手动操作
  • 🇬🇧 英文游戏 → 全部 AI 对话、信件、群聊、CP 台词自动切换英文
  • 🇨🇳 中文游戏 → 全部中文
  • 🚫 零语言混用:不会出现中文模式冒英文/英文模式冒中文的情况

📂 文件结构

Mods/
├── SeeleAI/                       # 主模组
│   ├── SeeleAI.dll                # 编译后的模组文件
│   ├── config.json                # 用户配置
│   ├── manifest.json              # SMAPI 清单
│   ├── README.md                  # 本文件
│   ├── 代码实现/                   # 完整 C# 源代码
│   └── 内置人物包/                 # CP 角色包源文件(首次运行自动复制)
│       ├── [CP] Seele NPC/
│       ├── [CP] Elysia NPC/
│       └── [CP] Delilah NPC/
├── [CP] Seele NPC/                # 希儿角色包(自动复制)
├── [CP] Elysia NPC/               # 爱莉希雅角色包(自动复制)
└── [CP] Delilah NPC/              # 月下妖精德丽莎角色包(自动复制)

❓ 常见问题

Q: AI 回复要等多久? A: 通常 3~10 秒,取决于网络和 API 负载。可在 config.json 中降低 MaxTokens 来加快响应。

Q: API 调用贵吗? A: DeepSeek 价格非常亲民——日常使用每月仅需几元人民币。注册即赠送免费额度。

Q: 群聊太频繁了怎么办? A: 设置 "EnableProactiveChat": false 关闭自动触发群聊。手动按 Enter 的群聊不受影响。

Q: 怎么切换英文? A: 全自动检测。只要游戏客户端是英文,模组就输出全英文。无需任何手动设置。

Q: AI 偶尔说出不符合角色的话? A: 偶有发生,这是大语言模型的固有限制。系统提示词做了大量角色锚定,绝大多数时间表现稳定。遇到严重 OOC 可以关闭对话再重新开启来刷新上下文。

Q: 存档之间会串数据吗? A: 不会。加载新存档时所有对话状态、记忆、快照全部重置,确保存档隔离。


「农场的生活或许平淡,但有了她们——每一天都值得期待。」

—— 星谷智伴 SeeleAI v2.0


🌟 SeeleAI

Three girls from Honkai Impact 3rd move into your Stardew Valley — they watch you farm, chat with you, tease you for digging through trash, and worry when you pass out in the mines.

SeeleAI is a deep AI companion mod for Stardew Valley 1.6. Powered by the DeepSeek large language model, three distinct personalities — Seele, Elysia, and Moonlight Vampire Delilah (TeriTeri) — are no longer NPCs with static dialogue. They are AI companions who react to your every action in real time.


📦 Installation

Requirements

Component Notes
Stardew Valley 1.6+ Base game
SMAPI 4.0+ Mod loader (smapi.io)
Content Patcher Required for CP character packs (search Nexus Mods)
DeepSeek API Account Get your API key at platform.deepseek.com
Internet Connection AI conversations require real-time cloud API access

Setup

  1. Install SMAPI and Content Patcher
  2. Place the SeeleAI folder into Stardew Valley/Mods/
  3. Place the three CP character packs — [CP] Seele NPC, [CP] Elysia NPC, [CP] Delilah NPC — into Mods/ as well
  4. Launch the game and enter your API key in the settings menu (top-left corner)

💡 First launch: The mod will automatically copy the built-in character packs into your Mods directory. You can also press F8 in-game to configure your API key at any time.


✨ Core Features

🗣 Real-Time AI Conversations

Each day, every NPC offers a three-stage themed conversation, followed by free chat mode:

Stage Name Topic
🌅 Stage 1 Morning News Opens with the day's TV program (luck forecast / weather), like chatting about the news with a friend
🌾 Stage 2 Farm Tour Discusses the real state of your farm — crops, animals, artisan equipment
🎉 Stage 3 Life & Leisure Festival celebrations / birthday wishes / everyday care between friends

At the end of each conversation, 3 emotional response options are presented (e.g. "Encourage her", "Tease her", "Respond seriously"). Your choice affects friendship points. After all three themed stages, an open text input appears — chat about anything you want.


👥 Smart Group Chat ⭐ Core Highlight

Proactive event-triggered group chat is the biggest upgrade in v2.0 — the NPCs no longer wait passively. They actively observe your every move and spontaneously discuss what you've been up to in the group chat! (You can also press Enter anytime to start a manual group chat.)

18 Event Triggers

# Trigger Description
1 🎭 Special Event After triggering a heart event or cutscene, the three share their thoughts
2 🎪 Arrive at Festival Stepping into the Flower Dance, Moonlight Jellies, etc. — they buzz with excitement
3 🎁 Give a Gift They see you gift someone — heartfelt or just social obligation?
4 🛒 Shop Purchase Chatting about what you bought at Pierre's / Robin's / Clint's
5 📋 Accept Quest You took on a new quest — they want to know what you're up to now
6 ⚔️ Slay Monsters Mining and fighting — worried about your safety, yet impressed by your courage
7 🌾 Harvest Crops A bumper harvest! They marvel at your farming chops
8 🌱 Plant Seeds Watching you bend down to sow new seeds, guessing what this year's harvest will bring
9 🌩 Special Weather Stormy / Green Rain days — huddling indoors together, listening to the rain
10 ⬆️ Skill Level Up Your farming / mining / fishing / etc. skill levels up — someone's even happier than you are
11 😵 Pass Out Exhausted in the mines or wilderness, carried home... ultimate walk-of-shame moment
12 💕 Friendship Milestone Reaching 4❤ / 8❤ / 10❤ with an NPC — definitely worth some gossip
13 🗺 Arrive at Special Location Setting foot on the Desert / Ginger Island for the first time — "This place is beautiful!"
14 💎 Find Prismatic Shard You dug up a prismatic shard! Their screams of excitement could pierce the screen
15 🗑 Dig Through Trash Caught rummaging through the trash — even more embarrassing than passing out in the mines
16 🍳 Learn New Recipe Learned a new dish — someone immediately wants a taste
17 🎣 Catch a Fish Fish on the line — someone's more excited than you are
18 🏆 Community Center Complete All bundles finished! A moment of glory for the entire valley

Smart Anti-Spam

  • ⏰ Once per day: Each event triggers at most once per in-game day
  • 🧊 Cooldown period: A buffer window between group chats to avoid spam
  • 📝 History deduplication: Events already in recent chat history will not re-trigger
  • 🎮 Manual group chat: Press Enter anytime to start one — cooldown-free

Group Chat Style

The group chat simulates a "phone group chat" — alternating messages in the style of Honkai: Star Rail, 8–14 messages per session, casual and breezy in tone, distinctly different from the deeper one-on-one conversations. Group chat logs are saved to GroupChatLog.txt for you to revisit anytime.


💌 Weekly Letters & Gifts

  • 📬 Every Sunday: One NPC writes you a personalized letter based on your entire week's data:
    • Gold earned and spent
    • Crops harvested and forage collected
    • Fish caught, ore mined, monsters slain
    • Gifts given, dishes cooked, seeds planted
    • Steps walked, skills leveled, festivals attended
  • 🎁 Gifts included: Each letter comes with 3 thoughtfully selected items (seeds, minerals, cooked dishes, gems, etc.)
  • 🎪 Festival memory letters: The morning after a festival, one NPC sends you a warm festival recollection
  • Every letter in your mailbox includes actual in-game items — click to claim them

💍 Marriage System

  • ❤️ Reach 10❤ + give a Mermaid's Pendant to marry any of the three NPCs
  • 🏠 Custom spouse room & yard: Each NPC has a uniquely designed post-marriage space
  • 🗓 Daily married rhythm:
    • Weekdays: spouse goes out and about
    • Weekends & rainy days: stays home with you all day
    • Morning greetings, goodnight snuggles, rainy-day reading together
    • Seasonal reflections (spring planting, summer shade, autumn harvest, winter snow)
  • 🛒 Weekend shopping: Spouse goes out shopping on weekends — 30% chance of bringing home an ingredient for you
  • 🌸 Yard flowers: Spouse plants flowers in the yard — blue blossoms like butterflies resting on green leaves

🌍 World Awareness

The AI perceives the full breadth of your game state:

Category What It Knows
⏰ Time Season, date, current time of day (dawn / morning / afternoon / evening / night)
🌤 Weather Sunny, rainy, stormy, Green Rain, snowy
📍 Location Current area (farm, town, mines, beach, desert, Ginger Island, etc.)
🌾 Farm Types and quantities of crops planted, types and numbers of animals, artisan equipment
💰 Economy Gold on hand, daily income, recent income trends
⭐ Skills Farming / Mining / Fishing / Foraging / Combat levels
❤️ Friendship Heart levels with every NPC in town
🏆 Progress Community Center completion, museum donation count
🎒 Inventory Overview of currently carried items

🧠 AI Memory System

  • Retains each NPC's most recent 5 conversation turns as context
  • Group chat has independent memory tracking, undisturbed by private conversations
  • NPCs remember things you've said before — conversations have genuine continuity

🎭 Daily Mood System

  • Six-tier random mood, refreshed daily
  • Influences the tone of the day's dialogue — from "Fairy Miss is in a wonderful mood today~" to "A little bit down today..."
  • Keeps every day's conversation with the same NPC feeling fresh

🌐 Bilingual Support (Auto-Detect)

  • 🔍 Automatically detects your game language — zero manual setup
  • 🇬🇧 English game → All AI dialogue, letters, group chats, and CP lines automatically switch to English
  • 🇨🇳 Chinese game → All in Chinese
  • 🚫 Zero language mixing: No Chinese leaking into English mode, and vice versa

📂 File Structure

Mods/
├── SeeleAI/                       # Main mod
│   ├── SeeleAI.dll                # Compiled mod file
│   ├── config.json                # User configuration
│   ├── manifest.json              # SMAPI manifest
│   ├── README.md                  # This file
│   ├── Source Code/              # Full C# source
│   └── Builtin Packs/            # CP pack source files (auto-copied on first run)
│       ├── [CP] Seele NPC/
│       ├── [CP] Elysia NPC/
│       └── [CP] Delilah NPC/
├── [CP] Seele NPC/                # Seele character pack (auto-copied)
├── [CP] Elysia NPC/              # Elysia character pack (auto-copied)
└── [CP] Delilah NPC/              # Moonlight Vampire Delilah pack (auto-copied)

❓ FAQ

Q: How long do AI responses take? A: Typically 3–10 seconds, depending on network and API load. You can lower MaxTokens in config.json for faster responses.

Q: Are the API calls expensive? A: DeepSeek is very affordable — daily use only costs a few cents / pence per month. Free credits are included upon registration.

Q: The group chat triggers too often. How do I tone it down? A: Set "EnableProactiveChat": false to disable automatic group chat triggers. Manual group chats (pressing Enter) are unaffected.

Q: How do I switch to English? A: Fully automatic. As long as your game client is in English, the mod outputs everything in English. No manual settings needed.

Q: The AI occasionally says something out of character? A: It happens — an inherent limitation of large language models. The system prompts include extensive character anchoring, and performance is stable the vast majority of the time. If you encounter a severe OOC moment, close the conversation and reopen it to refresh the context.

Q: Will data bleed across save files? A: No. All conversation states, memories, and snapshots reset completely when loading a new save, ensuring full save isolation.


"Farm life might be simple — but with them around, every day is worth looking forward to."

—— SeeleAI v2.0