Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
CurrencyAsToken
Use in-game currency as a replacement for cosmetic tokens when your tokens are not enough. This lets you keep using the Cosmetic Shop Machine in the shop even after you run out of tokens.
By Zichen
| Last updated | 9 hours ago |
| Total downloads | 1101 |
| Total rating | 0 |
| Categories | Mods Server-side AI Generated |
| Dependency string | Zichen-CurrencyAsToken-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
金币代替代币 / CurrencyAsToken
REPO 游戏交流 QQ 群:824639225
支持 R.E.P.O. v0.4
简介
当玩家没有装饰品代币(Token)时,可以直接花费金币使用装饰品抽奖机。 有 Token 时,仍然走游戏原版抽奖流程。
这版规则是:
- 靠近抽奖机后按
E交互 - 仅在商店场景生效
- 先扣金币,再进入原版抽奖流程
- 无 Token 时显示专用金币抽奖提示
默认配置
默认费用按 K 为单位:
- 基础花费:
10 - 每次递增:
1 - 最大花费:
20
默认概率:
- 普通:
50% - 稀有:
30% - 珍贵:
15% - 超稀有:
5%
联机说明
多人模式下,这个模组采用“主机权威”逻辑:
- 主机关闭模组功能时,客户端不会显示金币抽奖提示,也不能使用该功能
- 主机开启模组功能时,客户端会读取主机同步出来的设置
- 开关、语言、费用、概率、递增次数,都以主机设置为准
- 真正的扣钱、概率判定、递增次数增加、存档保存,都在主机执行
建议:
- 主机安装并启用本模组后,房间内功能才会生效
- 客户端也安装本模组时,提示、交互和联机体验会更完整
- 如果只想禁止该功能,直接由主机关闭
模组启用
配置界面
当前界面规则:
- 左侧模组列表名称使用英文注册名
CurrencyAsToken - 右侧配置面板使用中文
- 语言项保持
语言/Language的中英并列格式 模组名称字段单独显示为金币代替代币
配置项
| 配置项 | 默认值 | 说明 |
|---|---|---|
| 模组启用 | 开启 | 总开关,关闭后金币代替代币功能完全失效 |
| 语言/Language | 中文 | 公开文档和配置说明语言切换 |
| 基础花费/K | 10 | 首次金币抽奖花费,范围 10-100 K |
| 每次递增/K | 1 | 每次金币抽奖后追加的花费,范围 0-10 K |
| 最大花费/K | 20 | 单次金币抽奖花费上限,范围 10-100 K |
| 普通中奖概率/% | 50 | 普通奖励的概率参数,范围 0-100% |
| 稀有中奖概率/% | 30 | 稀有奖励的概率参数,范围 0-100% |
| 珍贵中奖概率/% | 15 | 珍贵奖励的概率参数,范围 0-100% |
| 超稀有中奖概率/% | 5 | 超稀有奖励的概率参数,范围 0-100% |
English
CurrencyAsToken allows players to spend in-game currency as a replacement for cosmetic tokens when they do not have enough tokens to use the Cosmetic Shop Machine.
If a token is available, the machine still follows the original game behavior.
This mod only changes the fallback case where the player has no usable token and would otherwise be unable to pull.
Features
- Press
Enear the Cosmetic Shop Machine to use currency instead of a token - Only works in the shop
- Currency is deducted before the original pull sequence starts
- A custom prompt is shown when the player has no token
- The normal token flow is preserved when tokens are available
Default Settings
All cost values use K as the displayed unit:
- Base Cost / K:
10 - Cost Increment / K:
1 - Max Cost / K:
20
Default chance values:
- Common Chance / %:
50 - Uncommon Chance / %:
30 - Rare Chance / %:
15 - Ultra Rare Chance / %:
5
Multiplayer
This mod uses host-authoritative behavior in multiplayer:
- The host must install and enable the mod for the feature to work in the lobby
- Clients read the host's synced settings
- Enable state, language, cost values, chance values, and pull count are all controlled by the host
- Currency deduction, chance rolls, pull count updates, and save writes are performed by the host
For the best experience, install the mod on both host and clients.
UI Notes
- The mod list entry uses the English registration name
CurrencyAsToken - The configuration panel on the right uses Chinese labels
- The language entry keeps the mixed format
语言/Language - The
模组名称field is displayed as金币代替代币