Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

RimTalk: Diary

RimTalk: Diary / 日记扩展 [hr] EN – Overview [b]RimTalk: Diary[/b] adds an in‑universe diary system for each colonist, generating entries via an LLM using RimWorld game context, RimTalk dialogue and recent log events. Features [list] [*] [b]Global diary tab:[/b] New main button that lists all colonists. Embedded “book‑style” diary viewer on the right: flip pages, edit, delete in one screen. Scrollable content so long entries are never cut off. [*] [b]Pawn inspector diary tab:[/b] Adds a 'Diary' tab on each colonist’s info card. Shows all past entries and offers a Generate diary button at the bottom‑left. [*] [b]Global + per‑pawn prompts:[/b] Global diary prompt (system prompt) in Mod Settings. Optional local prompt per pawn for fine‑tuning tone or adding custom notes. [*] [b]Per‑pawn auto‑generate:[/b] In the global diary UI, each colonist has their own auto‑generate toggle, interval in in‑game days, and generation hour (0–23). Auto generation runs per pawn, respecting each pawn’s own schedule and cooldown. [*] [b]Context for the LLM:[/b] RimTalk persona & conversations. Traits, skills, mood, health, current job and work priorities. Summaries of previous diary entries (for style consistency). Recent log events over the last N days (vanilla social interactions, RimTalk PlayLog text, BattleLog combat entries, important incidents like quests/deaths). [/list] Requirements & load order [list] [*] brrainz.harmony – Harmony [*] Jaxe.Bubbles – Interaction Bubbles [*] cj.rimtalk – RimTalk (chat & persona) [/list] Recommended load order (top → bottom): [list] [*] Harmony [*] Interaction Bubbles [*] RimTalk [*] RimTalk: Diary [/list] LLM configuration [list] [*] In‑game, open Options → Mod Settings → RimTalk: Diary. [*] Set API endpoint (OpenAI‑style /v1/chat/completions), API key and model name. [*] Adjust lookback days, history count, temperature and max tokens as needed. [/list] If endpoint or key are missing, generation will fail and a warning will be logged. [hr] ZH – 模组简介 [b]RimTalk: 日记[/b] 为每一名殖民者添加了一个“游戏世界内”的日记系统,使用 LLM 根据 RimWorld 的上下文与 RimTalk 对话自动生成带情绪的日记。 主要功能 [list] [*] [b]全局日记面板:[/b]主界面新增“日记”按钮,左侧按殖民者列表展示。右侧内嵌“书本式”日记查看器:翻页、编辑、删除都在同一页面完成。支持垂直滚动,长篇日记不会被截断。 [*] [b]角色界面日记标签:[/b]在小人信息面板增加 '日记' 标签。可查看全部历史日记,并在底部左侧一键生成日记。 [*] [b]全局 / 本地 Prompt:[/b]Mod 设置中可配置全局日记 Prompt(系统 Prompt)。也可以为每个殖民者单独写“本地 Prompt”,只影响该角色的日记风格。 [*] [b]按殖民者自动生成日记:[/b]在全局日记 UI 的右侧,可为每个殖民者分别设置是否启用自动生成、生成间隔(天,1–15)以及生成时间(游戏内 0–23 点)。自动生成是按每个殖民者独立计时的,不会互相干扰。 [*] [b]上下文输入:[/b]RimTalk 提供的人设(Persona)与对话记录;殖民者的【特质】【技能】【心情】【健康】【当前工作】【工作优先级】;之前的日记片段,用于保持语气一致;最近几天的日志事件(原版社交互动、RimTalk写入的PlayLog文本、战斗受伤记录、任务/手术/死亡等重要事件)。 [/list] 安装与前置 启用本模组前,需先安装并启用: [list] [*] Harmony(brrainz.harmony) [*] Interaction Bubbles(Jaxe.Bubbles) [*] RimTalk(cj.rimtalk) [/list] 推荐加载顺序同上。 LLM 设置 在游戏中打开 选项 → Mod 设置 → RimTalk: Diary,配置: [list] [*] API Endpoint(兼容 OpenAI 的 /v1/chat/completions); [*] API Key; [*] 模型名称(如 gpt-4o-mini 等),并按需调整参考天数、历史日记数、temperature 与 max tokens。 [/list] 未配置 Endpoint 或 Key 时,生成会失败,并在日志中给出警告。 [hr] License MIT License