礼物金币

礼物金币

[EN] Gift gold to your teammates in multiplayer! A draggable gift button appears at the top of the screen during multiplayer runs, allowing you to send gold to any other player with quick-select amounts or custom input.中文]

游戏玩法

✨ 功能特性

英文

  • 💰 多人赠送金币 — 在多人模式运行期间向任意队友赠送金币
  • 🖱️ 可拖拽 UI — 赠送按钮可拖拽到屏幕任意位置,方便使用
  • 快捷金额按钮 — 预设金额(10 / 25 / 50 / 100),快速赠送
  • ✏️ 自定义金额 — 输入您想赠送的任意金额
  • 🌐 双语界面 — 完整的英文和简体中文(简体中文)本地化支持
  • 🔄 实时网络同步 — 使用自定义网络动作,确保所有玩家立即看到金币变化
  • ⚙️ ModConfig 支持 — 通过 ModConfig 在游戏内配置(可选,没有也能正常使用)
  • 🐛 调试模式 — 在单人模式下模拟多人玩家进行测试

中文

  • 💰 多人赠送金币 — 在多人模式中向任意队友赠送金币
  • 🖱️ 可拖拽 UI — 赠送按钮可拖拽到屏幕任意位置
  • 快捷金额按钮 — 预设金额(10 / 25 / 50 / 100),一键赠送
  • ✏️ 自定义金额 — 输入任意金额进行赠送
  • 🌐 中英双语界面 — 完整的英文和简体中文本地化支持
  • 🔄 实时网络同步 — 使用自定义网络动作,所有玩家即时看到金币变化
  • ⚙️ ModConfig 支持 — 通过 ModConfig 在游戏内配置(可选,没有也能正常使用)
  • 🐛 调试模式 — 在单人模式下模拟多人进行测试

📦 安装方法

英文

  1. 下载 zip 文件
  2. GoldGift 文件夹解压到游戏的 mods/ 目录:
    • Windows: Steam/steamapps/common/Slay the Spire 2/mods/
    • macOS: Steam/steamapps/common/Slay the Spire 2/SlayTheSpire2.app/Contents/MacOS/mods/
    • Linux: Steam/steamapps/common/Slay the Spire 2/mods/
  3. 启动游戏 — mod 将自动加载
  4. 开始一局多人模式,在屏幕顶部可以看到 💰 赠送按钮

中文

  1. 下载 zip 文件
  2. GoldGift 文件夹解压到游戏的 mods/ 目录:
    • Windows: Steam/steamapps/common/Slay the Spire 2/mods/
    • macOS: Steam/steamapps/common/Slay the Spire 2/SlayTheSpire2.app/Contents/MacOS/mods/
    • Linux: Steam/steamapps/common/Slay the Spire 2/mods/
  3. 启动游戏,mod 会自动加载
  4. 开始一局多人模式,在屏幕顶部可以看到 💰 赠送按钮

⚙️ 配置

编辑 mod 文件夹中的 config.json,或使用 ModConfig(如已安装)进行游戏内设置。

设置 默认值 说明
DefaultGiftAmount 25 默认快捷赠送金额
MinGiftAmount 1 最小赠送金额
MaxGiftAmount 999 单次最大赠送金额
QuickAmounts [10, 25, 50, 100] 快捷按钮预设金额
DebugMode false 启用单人调试模式

🔧 技术细节

  • 使用 HarmonyLib 运行时修补(不修改游戏文件)
  • 自定义 NetGoldGiftAction,采用 32 位序列化以确保可靠的网络同步
  • 与其他 mod 兼容(编码范围 5000+ 避免冲突)
  • 无硬性依赖 — 可独立运行,可选集成 ModConfig

📋 前置要求

  • 杀戮尖塔 2(已启用 mod 支持)
  • 无需其他 mod(ModConfig 为可选)

📌 版本

v0.1.0 — 首次发布