胡萝卜牛肉汤ceshi1

This commit is contained in:
wenhe committed 2026-07-21 16:20:52 +08:00
1 parent fcb08e0119
commit 0c48f7f546
3 files changed
+47 -20

No files matched your search

@@ -148,8 +148,6 @@ class CookingService(BlueFoxServerSystem):
# 冷却检查
if now - data["lastTime"] < recipe.get("stirCd", 1.0):
if recipe.get("failMsg"):
comp.CreateMsg(playerId).NotifyOneMessage(playerId, recipe["failMsg"])
return
# 翻炒次数+1
@@ -157,6 +155,10 @@ class CookingService(BlueFoxServerSystem):
data["lastTime"] = now
self.stirData[key] = data
# 提示进度
comp.CreateMsg(playerId).NotifyOneMessage(
playerId, "翻炒中... %s/%s" % (data["count"], recipe["stirCount"]))
# 判断是否翻够了
if data["count"] >= recipe["stirCount"]:
if recipe.get("onDone") == "finish":