汤锅功能实现 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

@@ -106,7 +106,7 @@ class MianshiService(BlueFoxServerSystem):
if src not in self.startTimerTips:
sec = r.get("time", 60)
tgt = NAME_MAP.get(r["target"], r["target"])
self.startTimerTips[src] = "§a开始蒸制…等计时(%d秒)结束变成 %s" % (sec, tgt)
self.startTimerTips[src] = "§a开始蒸制…共需计时%d秒; 计时结束变成 %s" % (sec, tgt)
# ---- 结果方块/物品 -> "下一步"可读提示(供转换/入笼提示追加) ----
# 例子: 饺子皮 -> "加入 猪肉馅、青菜碎"; 可颂面胚 -> "放在烤炉上等计时(60秒)结束变成 可颂"
@@ -193,7 +193,7 @@ class MianshiService(BlueFoxServerSystem):
if blockName in OVEN_FIX_BLOCKS and self._belowIs(dim, pos, OVEN):
FeatureDispatcher.startTimerFor(blockName, dim, pos, playerId)
if self.checkCooldown(key, 0.4):
tip = "§a开始烤制…(60秒),等计时结束变成 " + \
tip = "§a开始烤制…共需计时60秒; 计时结束变成 " + \
self.timerTargetName.get(blockName, "成品")
comp.CreateMsg(playerId).NotifyOneMessage(playerId, tip)
return True