汤锅功能实现 3 计时 提示修改

This commit is contained in:
wenhe committed 2026-09-16 11:12:15 +08:00
1 parent df71a62d7c
commit 31bb44a409
10 files changed
+153 -56

No files matched your search

@@ -80,6 +80,7 @@ class ChujuService(BlueFoxServerSystem):
self.beaterBlockSet = set(BEATER_BLOCKS)
# ---- 空手右键"丸子机计时源"(meatballmaker_3/4): 放在点燃炉灶上 -> 开始计时 ----
# 提示包含"总共多少秒": _3(加料完成) 半熟30秒+熟30秒=60秒; _4(半熟) 剩30秒
self.timerSources = set()
self.startTimerTips = {}
for r in MEATBALL_TIMERS:
@@ -88,7 +89,10 @@ class ChujuService(BlueFoxServerSystem):
self.featureBlocks.add(src)
if src not in self.startTimerTips:
sec = r.get("time", 60)
self.startTimerTips[src] = "§a开始烹制…等计时(%d秒)结束变成 下一形态" % sec
if src == "rtdd:meatballmaker_3":
self.startTimerTips[src] = "§a开始烹制…共需计时60秒(半熟30秒+熟30秒); 计时结束变成 章鱼小丸子"
else:
self.startTimerTips[src] = "§a开始烹制…共需计时%d秒; 计时结束变成 章鱼小丸子" % sec
# ---- 右键冷却表 ----
self.cooldown = {}