跳到正文

Touhou Little Maid: Epistalove

This mod is an add-on for Contact: LoveRekindled and Touhou Little Maid, allowing maids to write letters to their masters.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Touhou Little Maid: Epistalove

This mod is an add-on for Contact: LoveRekindled and Touhou Little Maid, allowing maids to write letters to their masters.

You can get a quick overview from this
Bilibili video.

Letter Content

Letters can be generated in two ways: AI-generated or preset text, with full customization through data packs or KubeJS. See the official documentation for details.

To enable AI generation, follow the steps in the
official Touhou Little Maid guide.

AI generation is highly recommended — it can use in-game environmental data as prompts, allowing letters to naturally adapt to different situations.

When Letters Are Written

By talking to a maid using AI dialogue (press T on the maid), you can directly request a letter. This requires enabling the Function Call feature of Touhou Little Maid.

img

img

In other cases, maids write letters based on configured rules. See the official documentation.

Letter delivery works as follows:

  • Following mode: the maid hands the letter directly to the player.
  • HOME mode + nearby mailbox: the maid mails it through Epistalove; the player must retrieve it from their personal mailbox.
  • HOME mode + no mailbox nearby: the maid will hold the letter until a player or mailbox appears.

Best Example

The following KubeJS example makes the maid write a letter every time you earn a new advancement, with content related to that advancement.

For most well-known mods, the AI can recognize their advancements.

// server_scripts
LetterEvents.registerLetterRules(event => {
    // AI: First Gift
    event.createAI('advancement','lonesome',
        'As a maid, your master has just completed the Minecraft advancement ${adv}. This is an important moment—please write a short letter to your master about it.')
        .trigger('advancement').repeat().minAffection(0).maxAffection(500).cooldown(0).register();
});
PlayerEvents.advancement(event => {
    let advancement = event.advancement;
    if (advancement.description.empty) return;
    let str = `${advancement.displayText.getString()}:${advancement.description.getString()}`;
    if (advancement.description.getContents().getKey()) str += `(${advancement.description.getContents().getKey()})`;
    LetterAPI.triggerEventWithContext(event.player, "advancement", { adv: str });
});

Future Plans

  • Improve customization features.

常见问题

Touhou Little Maid: Epistalove 支持哪些 Minecraft 版本?

Touhou Little Maid: Epistalove 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Touhou Little Maid: Epistalove 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Flechazo098 的其他作品

查看全部 →