An in-game chat mod for Slay the Spire 2. Send messages in real time, share Emoji, and insert cards, relics, potions, and powers as interactive links.
- Chat panel — Floats in the corner of the screen and fades out when idle
- Item links —
Alt + Left-clickany item to insert a hoverable link into chat - Item autocomplete — Type
@in the input box to search cards, relics, potions, and powers by name; select a result to insert the link automatically - Emoji picker — 18 built-in icons via Lucide
- Multiplayer sync — Messages broadcast to all connected players over the built-in network
- Keyboard-first —
Enterto open/send,Escto close; open key is rebindable via ModConfig - Localized — Automatically follows the game language; 15 languages supported
| Action | Key |
|---|---|
| Open / Send message | Enter (rebindable via ModConfig) |
| Close chat or Emoji picker | Esc |
| Share hovered item | Alt + Left-click |
| Search items by name | Type @ in the input box |
| Open Emoji picker | Click the Emoji button in the input box |
- Download
typing.zipfrom the latest release - Extract into the game's Mods folder:
<Steam library>/steamapps/common/Slay the Spire 2/Mods/ - Launch the game and enable the mod in the Mod menu
The folder must contain both typing.json and typing.dll. No .pck file is required.
Requirements
- .NET SDK matching the version in the game's
global.json - Godot 4 with .NET support
- A copy of Slay the Spire 2
Steps
- Clone this repository
- Edit the game path reference in
typing.csprojif needed - Run
dotnet build - Copy
typing.dllandtyping.jsoninto a mod subfolder (e.g.Mods/typing/). The build target copies both automatically whenSts2Diris set (no PCK required).
Links are encoded as {{type:id}} in message text and rendered as styled interactive spans:
| Type | Example |
|---|---|
| Card | {{card:MegaCrit.Sts2.Cards.Strike:0}} |
| Potion | {{potion:MegaCrit.Sts2.Potions.FirePotion}} |
| Relic | {{relic:MegaCrit.Sts2.Relics.BurningBlood}} |
| Power / Creature | Auto-inserted via Alt + Left-click |
MIT License. Icons from Lucide (ISC License).
This mod is not affiliated with or endorsed by MegaCrit.
适用于 Slay the Spire 2 的游戏内聊天 Mod。支持实时发送消息、分享 Emoji,并可将卡牌、遗物、药水、能力以可交互链接的形式插入聊天。
- 聊天面板 — 悬浮于屏幕角落,不操作时自动淡出,不影响游戏体验
- 物品链接 —
Alt + 左键任意物品,在聊天中生成带悬停预览的可点击链接 - 物品自动补全 — 在输入框中输入
@后按名称搜索卡牌、遗物、药水和能力;选中结果后自动插入链接 - Emoji 面板 — 内置 18 个 Emoji(由 Lucide 提供)
- 多人同步 — 消息通过游戏内置网络广播给所有在线玩家
- 键盘操作 —
Enter打开 / 发送,Esc关闭;打开键可通过 ModConfig 自定义绑定 - 多语言 — 自动跟随游戏语言,支持 15 种语言
| 操作 | 按键 |
|---|---|
| 打开 / 发送消息 | Enter(可通过 ModConfig 重新绑定) |
| 关闭聊天框或 Emoji 选择器 | Esc |
| 分享当前悬停的物品 | Alt + 左键 |
| 按名称搜索物品 | 在输入框中输入 @ |
| 打开 Emoji 选择器 | 点击输入框内的 Emoji 按钮 |
- 从 最新 Release 下载
typing.zip - 解压到游戏 Mods 文件夹:
<Steam库路径>/steamapps/common/Slay the Spire 2/Mods/ - 启动游戏,在 Mod 菜单中启用
文件夹内须同时包含 typing.json 与 typing.dll,无需 .pck 文件。
环境要求
步骤
- 克隆本仓库
- 按需修改
typing.csproj中的游戏路径引用 - 执行
dotnet build - 将
typing.dll和typing.json复制到同一 mod 子目录(如Mods/typing/)。配置好Sts2Dir后构建会自动复制,无需 PCK。
消息中以 {{type:id}} 编码,渲染为带样式的可交互文字:
| 类型 | 示例 |
|---|---|
| 卡牌 | {{card:MegaCrit.Sts2.Cards.Strike:0}} |
| 药水 | {{potion:MegaCrit.Sts2.Potions.FirePotion}} |
| 遗物 | {{relic:MegaCrit.Sts2.Relics.BurningBlood}} |
| 能力 / 目标生物 | 通过 Alt + 左键 自动插入 |
MIT License。图标来自 Lucide(ISC License)。
本 Mod 与 MegaCrit 官方无关,亦未获得官方背书。

