Vintage Story Mod DB · Vintage Story mod
AnanLa's Quenching Guarantee
AnanLa的淬火保底 / AnanLa's Quenching Guarantee 一个 Vintage Story 模组,为金属淬火增加保底机制,降低反复烧铁搓工具的精神损耗。 A Vintage Story mod that adds a pity/quarantee system to metal quenching, reducing the frustration of repeated tool crafting. 该模组使用 AI(Claude)辅助开发 / This mod was deve
Quick answer
Which AnanLa's Quenching Guarantee release should I use?
AnanLa's Quenching Guarantee 1.5.2 targets 1.22.3, 1.22.4, 1.22.5. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is AnanLa's Quenching Guarantee required on the client, server, or both?
It must be installed on the client. Installation on the dedicated server is optional.
This release supports both sides, but the source does not require it on the server.
What else does AnanLa's Quenching Guarantee 1.5.2 need?
1.5.2. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add AnanLa's Quenching Guarantee without breaking your instance.
Built for AnanLa's Quenching Guarantee 1.5.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.5.2. It targets 1.22.3, 1.22.4, 1.22.5; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
It must be installed on the client. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.5.2. It opens that exact file at the source.
About this project
What does AnanLa's Quenching Guarantee add?
一个 Vintage Story 模组,为金属淬火增加保底机制,降低反复烧铁搓工具的精神损耗。
A Vintage Story mod that adds a pity/quarantee system to metal quenching, reducing the frustration of repeated tool crafting.
该模组使用 AI(Claude)辅助开发 / This mod was developed with AI (Claude) assistance.
-
每次淬火失败时计数器 +1
-
每次淬火成功时计数器归零
-
当计数器 ≥ 保底次数时,下一次淬火必定成功
-
Counter +1 on each failed quench
-
Counter reset to 0 on each successful quench
-
When counter ≥ guarantee count, next quench is guaranteed to succeed
模组启动后自动生成两个配置文件:
Two config files are auto-generated after first launch:
服务端配置(控制保底逻辑) — ModConfig/ananlaquenchingguarantee_server_config.json
Server config (controls guarantee logic):
{
"GuaranteeCount": 3,
// 保底基数 / Base guarantee count
"Mode": "Fixed",
// 动态保底模式 / Dynamic mode:
// Fixed = 固定模式,GuaranteeCount 恒定不变(默认 / default)
// Phased = 阶段禁用,淬火次数达 Param 后禁用保底 / Disable guarantee after Param total quenches
// Progressive = 递增模式,保底阈值随淬火次数递增 / Threshold increases with total quenches
// BreakChance = 破损概率,破碎概率达 Param 后禁用保底 / Disable when shatter chance ≥ Param
"Param": 20.0
// 模式参数 / Mode parameter
// Phased: 淬火次数上限(示例 20) / Max total quenches (e.g. 20)
// Progressive: 递增步长(示例 1) / Increment step (e.g. 1)
// BreakChance: 破碎概率阈值(示例 1.0 = 100%) / Shatter chance threshold (e.g. 1.0 = 100%)
}
客户端配置(控制消息显示) — ModConfig/ananlaquenchingguarantee_client_config.json
Client config (controls message display):
{
"GuaranteePrompt": true,
// 是否显示提示消息 / Show prompt messages
"DisplayMode": "BottomError"
// 显示风格 / Display style:
// BottomError = 底部提示栏(默认)/ bottom error bar (default)
// Chat = 聊天栏 / chat bar
// Discovery = 中央发现动画 / center discovery animation
}
| 模式 / Mode | GuaranteeCount | 行为 / Behavior |
|---|---|---|
| Fixed | 0 | 每次淬火必定成功 / Every quench succeeds |
| Fixed | 1 | 连续失败 1 次后,下次必成功 / 1 failure → next guaranteed |
| Fixed | N | 连续失败 N 次后,下次必成功 / N failures → next guaranteed |
| Fixed | < 0 | 禁用保底,完全恢复原版淬火(提示配置异常)/ Disable guarantee, vanilla quenching (warns config anomaly) |
| Fixed | -255 | 强制碎裂,失败计数不计(提示配置异常)/ Force break, no failure counted (warns config anomaly) |
| Phased | ≥ 0 | 淬火迭代次数达 Param 后禁用保底 / Disable after Param quenches |
| Progressive | ≥ 0 | 保底阈值 = GuaranteeCount + Param × 淬火数 / Threshold = base + Param × quenches |
| BreakChance | ≥ 0 | 破碎概率达 Param 后禁用保底 / Disable when shatter chance ≥ Param |
// 固定模式:连续失败 3 次后保底 / Fixed: guaranteed after 3 consecutive failures { "GuaranteeCount": 3, "Mode": "Fixed" } // 阶段禁用:淬火 20 次后不再保底 / Phased: disable guarantee after 20 total quenches { "GuaranteeCount": 2, "Mode": "Phased", "Param": 20 } // 递增模式:保底阈值 = 3 + 1 × 淬火数,越淬越难 / Progressive: threshold = 3 + 1 × quenches { "GuaranteeCount": 3, "Mode": "Progressive", "Param": 1 } // 破损概率:破碎概率 100% 后不再保底 / BreakChance: disable when shatter chance reaches 100% { "GuaranteeCount": 3, "Mode": "BreakChance", "Param": 1.0 }
开启 GuaranteePrompt 后显示:
When GuaranteePrompt is enabled:
| 场景 / Scenario | 消息 / Message |
|---|---|
| 淬火失败(Fixed)/ Failed (Fixed) | 淬火失败,保底次数为{0},当前失败{1}次,触发保底还需{2}次 |
| 淬火失败(Phased)/ Failed (Phased) | 淬火失败,保底次数为{0},当前失败{1}次,触发保底还需{2}次,淬火{3}次的物品将忽略 |
| 淬火失败(Progressive)/ Failed (Progressive) | 淬火失败,保底次数为{0}+{3}×淬火数,当前失败{1}次 |
| 淬火失败(BreakChance)/ Failed (BreakChance) | 淬火失败,保底次数为{0},当前失败{1}次,触发保底还需{2}次,破损率{3}%的物品将忽略 |
| 保底触发成功 / Guarantee triggered | 保底成功,失败数重置为{0} |
| 正常淬火成功 / Normal success | 淬火成功,失败数重置为{0} |
| 配置异常(负数)/ Negative config | 保底次数为负数{0},不进行保底,请注意 |
| 配置异常(强制碎裂)/ Force break config | 保底次数为特殊值{0},强制淬火失败,请停止淬火 |
| 动态禁用(Phased)/ Phased disabled | 保底已禁用:淬火{0}次已达上限 |
| 动态禁用(BreakChance)/ BreakChance disabled | 保底已禁用:破损率{0}%已达阈值 |
| 递增模式提示 / Progressive info | 递增模式:保底次数为{0},触发保底还需{1}次 |
| 递增模式即将成功 / Progressive will succeed | 递增模式:保底次数为{0},本次将保底成功 |
消息可通过 DisplayMode 切换显示风格(BottomError 底部提示栏 / Chat 聊天栏 / Discovery 中央发现动画)。
Message display style can be toggled via DisplayMode (BottomError / Chat / Discovery).
-
每个玩家独立计数,存储在玩家实体数据中
-
随玩家存档自动保存,不会丢失
-
Each player has an independent counter stored in their entity attributes
-
Saved with the player's save data, persists across sessions
使用 Harmony 补丁拦截 CollectibleBehaviorQuenchable 的淬火流程:
Uses Harmony patches to intercept the quench logic in CollectibleBehaviorQuenchable:
-
破碎决策前(Prefix):根据模式计算有效保底次数,比较当前失败数。触发则设
willbreak=false跳过碎裂;动态禁用(Phased/BreakChance 达阈值)则不干预 -
碎裂发生时(Postfix):失败计数 +1,根据模式发送不同格式的失败通知
-
淬火完成时(trySettleWorkItem Postfix):淬火成功时计数归零,清理临时标记
-
Before break check (Prefix): Calculate effective guarantee by mode, compare failures. On trigger: set
willbreak=falseto prevent shatter; on dynamic disable (Phased/BreakChance threshold): no intervention -
On break (Postfix): Increment failure counter, send mode-specific fail notification
-
On success (trySettleWorkItem Postfix): Reset counter to 0, clean temp attributes
-
保底机制仅对主动桶淬(手持热金属右键水桶)生效
-
将物品丢入水中自然冷却不会触发保底(也无法刷淬火次数)
-
这是有意设计:避免玩家批量丢入水中刷失败计数,保持机制简洁
-
Only affects active bucket quenching (right-clicking a water bucket with hot metal)
-
Dropping items into water to cool naturally does NOT trigger the guarantee (and cannot be used to farm successes)
-
This is intentional: prevents players from farming failures by batch-dropping items into water, keeping the mechanic simple
同时安装 AnanLa的淬火预测 时,若同一帧触发保底通知与预测预警,两条消息将合并为两行显示(伪同屏),不再互相覆盖。
When installed alongside AnanLa's Quenching Prediction, if a guarantee notification and a prediction warning fire in the same frame, the two messages merge into two lines (pseudo same-screen) instead of overwriting each other.
- 零依赖:两个模组互不引用,可独立安装或同时安装 / Zero dependency: both mods work independently or together
- 合并条件:双方客户端使用相同的显示风格(
DisplayMode)/ Merge condition: both clients use the sameDisplayMode
Project description from Vintage Story Mod DB.
Pick your setup
AnanLa's Quenching Guarantee releases for each Vintage Story version.
Choose the version and loader you play, then open the matching release.
1.22.4
1 loader build1.22.3
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AnanLa's Quenching Guarantee versions and loaders
1.5.2
ananlaquenchingguarantee_1.5.2.zip
31 Jul 2026
1.5.1
ananlaquenchingguarantee_1.5.1.zip
31 Jul 2026
1.5.0
ananlaquenchingguarantee_1.5.0.zip
31 Jul 2026
1.4.2
ananlaquenchingguarantee_1.4.2.zip
30 Jul 2026
1.4.0
ananlaquenchingguarantee_1.4.0.zip
30 Jul 2026
1.3.0
ananlaquenchingguarantee_1.3.0.zip
30 Jul 2026
1.2.0
ananlaquenchingguarantee_1.2.0.zip
30 Jul 2026
1.1.0
ananlaquenchingguarantee_1.1.0.zip
29 Jul 2026
Looking for an older file? The official Vintage Story Mod DB project page is in Resources.