稻谷bug修复 提示删除

This commit is contained in:
wenhe committed 2026-09-29 16:25:50 +08:00
1 parent 344fad19ac
commit bd2ebfb154
43 files changed
+700 -846

No files matched your search

@@ -232,280 +232,280 @@ SWITCH_RULES = [
# ---------------- 一、汤锅基础 ----------------
{"block": POT_EMPTY, "item": WATER_BUCKET, "target": POT_WATER,
"consume": 1, "give": EMPTY_BUCKET,
"tip": "§a倒入水, 汤锅变(加水); 水桶变回空桶"},
"tip": None},
{"block": POT_WATER, "item": EMPTY_BUCKET, "target": POT_EMPTY,
"consume": 1, "drop": WATER_BUCKET,
"tip": "§a倒掉水, 汤锅变回(空), 掉落一个水桶"},
"tip": None},
{"block": POT_WATER, "item": None, "target": POT_LID,
"tip": "§a盖上锅盖, 汤锅变(盖锅); 空手右键可再掀开"},
"tip": None},
{"block": POT_LID, "item": None, "target": POT_WATER,
"tip": "§a掀开锅盖, 汤锅变回(加水)"},
"tip": None},
# ---------------- 二、汤底(汤锅(加水)+食材 -> 汤底) ----------------
{"block": POT_WATER, "item": CRUSHED_CARROTS, "target": CARROT_SOUP,
"consume": 4, "tip": "§a放入胡萝卜碎x4, 可继续加肉/鱼 或 组合汤"},
"consume": 4, "tip": None},
{"block": POT_WATER, "item": VEGETABLE, "target": VEGETABLE_SOUP,
"consume": 4, "tip": "§a放入青菜碎x4, 可继续加肉/鱼 或 组合汤"},
"consume": 4, "tip": None},
{"block": POT_WATER, "item": EGG, "target": EGG_SOUP,
"consume": 3, "tip": "§a放入鸡蛋x3, 可继续加肉/鱼 或 组合汤"},
"consume": 3, "tip": None},
{"block": POT_WATER, "item": POTATO_WEDGES, "target": POTATO_SOUP,
"consume": 4, "tip": "§a放入土豆块x4, 可继续加肉/鱼 或 组合汤"},
"consume": 4, "tip": None},
{"block": POT_WATER, "item": RED_MUSHROOM, "target": RED_MUSHROOM_SOUP,
"consume": 5, "tip": "§a放入红蘑菇x5, 可继续加食材"},
"consume": 5, "tip": None},
{"block": POT_WATER, "item": BROWN_MUSHROOM, "target": BROWN_MUSHROOM_SOUP,
"consume": 5, "tip": "§a放入棕蘑菇x5, 可继续加食材"},
"consume": 5, "tip": None},
{"block": POT_WATER, "item": COD, "target": COD_SOUP,
"consume": 1, "tip": "§a放入鳕鱼, 可继续加食材"},
"consume": 1, "tip": None},
{"block": POT_WATER, "item": SALMON, "target": SALMON_SOUP,
"consume": 1, "tip": "§a放入鲑鱼, 可继续加食材"},
"consume": 1, "tip": None},
{"block": POT_WATER, "item": BEANCURD, "target": TOFU_SOUP,
"consume": 4, "tip": "§a放入豆腐x4, 可继续加食材"},
"consume": 4, "tip": None},
# ---------------- 三、组合汤(汤底+汤底/食材 -> 组合汤底) ----------------
{"block": POTATO_SOUP, "item": CRUSHED_CARROTS, "target": CARROT_POTATO_SOUP,
"consume": 4, "tip": "§a土豆汤加胡萝卜碎x4, 可继续加肉/鱼"},
"consume": 4, "tip": None},
{"block": CARROT_SOUP, "item": POTATO_WEDGES, "target": CARROT_POTATO_SOUP,
"consume": 4, "tip": "§a胡萝卜汤加土豆块x4, 可继续加肉/鱼"},
"consume": 4, "tip": None},
{"block": RED_MUSHROOM_SOUP, "item": BROWN_MUSHROOM, "target": MUSHROOM_SOUP,
"consume": 5, "tip": "§a红蘑菇汤加棕蘑菇x5, 可继续加食材"},
"consume": 5, "tip": None},
{"block": BROWN_MUSHROOM_SOUP, "item": RED_MUSHROOM, "target": MUSHROOM_SOUP,
"consume": 5, "tip": "§a棕蘑菇汤加红蘑菇x5, 可继续加食材"},
"consume": 5, "tip": None},
{"block": POTATO_SOUP, "item": EGG, "target": POTATO_EGG_SOUP,
"consume": 3, "tip": "§a土豆汤加鸡蛋x3, 可继续加食材"},
"consume": 3, "tip": None},
{"block": EGG_SOUP, "item": POTATO_WEDGES, "target": POTATO_EGG_SOUP,
"consume": 4, "tip": "§a蛋花汤加土豆块x4, 可继续加食材"},
"consume": 4, "tip": None},
# ---------------- 四、加肉/鱼/豆腐 -> 汤羹(生), 开始计时 ----------------
{"block": CARROT_SOUP, "item": BEEF, "target": CARROT_BEEF_SOUP,
"consume": 2, "startTimer": CARROT_BEEF_SOUP,
"tip": "§a胡萝卜汤加生牛肉x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_SOUP, "item": MUTTON, "target": LAMB_SOUP_WITH_TURNIPS,
"consume": 2, "startTimer": LAMB_SOUP_WITH_TURNIPS,
"tip": "§a胡萝卜汤加羊肉x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_SOUP, "item": PORKRIB, "target": CARROT_RIBS,
"consume": 2, "startTimer": CARROT_RIBS,
"tip": "§a胡萝卜汤加猪肋排x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": VEGETABLE_SOUP, "item": MUTTON, "target": VEGETABLE_BEEF_SOUP,
"consume": 2, "startTimer": VEGETABLE_BEEF_SOUP,
"tip": "§a蔬菜汤加羊肉x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": VEGETABLE_SOUP, "item": BEEF, "target": VEGETABLE_LAMB_SOUP,
"consume": 2, "startTimer": VEGETABLE_LAMB_SOUP,
"tip": "§a蔬菜汤加生牛肉x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": VEGETABLE_SOUP, "item": CRUSHED_MEAT, "target": VEGETABLE_LEAN_BROTH,
"consume": 5, "startTimer": VEGETABLE_LEAN_BROTH,
"tip": "§a蔬菜汤加碎肉x5, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": VEGETABLE_SOUP, "item": CARROT_POTATO_SOUP, "target": VEGETABLE_SSTEW,
"consume": 1, "drop": POT_EMPTY, "startTimer": VEGETABLE_SSTEW,
"tip": "§a蔬菜汤加胡萝卜土豆汤, 掉落一个汤锅(空); 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_POTATO_SOUP, "item": VEGETABLE, "target": VEGETABLE_SSTEW,
"consume": 3, "startTimer": VEGETABLE_SSTEW,
"tip": "§a胡萝卜土豆汤加青菜碎x3, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_POTATO_SOUP, "item": COW_RIBS, "target": BEEF_BONE_BROTH,
"consume": 2, "startTimer": BEEF_BONE_BROTH,
"tip": "§a胡萝卜土豆汤加牛肋x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_POTATO_SOUP, "item": MUTTON, "target": LAMB_STEW,
"consume": 2, "startTimer": LAMB_STEW,
"tip": "§a胡萝卜土豆汤加羊肉x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_POTATO_SOUP, "item": SHEEP_RACKS, "target": VEGETABLE_POTATOES_LAMBSTEAK,
"consume": 2, "startTimer": VEGETABLE_POTATOES_LAMBSTEAK,
"tip": "§a胡萝卜土豆汤加羊小排x2, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_SOUP, "item": COD, "target": CARROT_COD_SOUP,
"consume": 1, "startTimer": CARROT_COD_SOUP,
"tip": "§a胡萝卜汤加鳕鱼, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": CARROT_SOUP, "item": SALMON, "target": CARROT_FISH_SOUP,
"consume": 1, "startTimer": CARROT_FISH_SOUP,
"tip": "§a胡萝卜汤加鲑鱼, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": COD_SOUP, "item": EGG, "target": EGG_COD_SOUP,
"consume": 3, "startTimer": EGG_COD_SOUP,
"tip": "§a鳕鱼汤加鸡蛋x3, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": EGG_SOUP, "item": COD, "target": EGG_COD_SOUP,
"consume": 1, "startTimer": EGG_COD_SOUP,
"tip": "§a蛋花汤加鳕鱼, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": EGG_SOUP, "item": CRUSHED_MEAT, "target": NORI_EGG_SOUP,
"consume": 5, "startTimer": NORI_EGG_SOUP,
"tip": "§a蛋花汤加碎肉x5, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": VEGETABLE_LEAN_BROTH, "item": EGG, "target": NORI_EGG_SOUP,
"consume": 3, "startTimer": NORI_EGG_SOUP,
"tip": "§a蔬菜瘦肉汤加鸡蛋x3, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": TOFU_SOUP, "item": SALMON, "target": TOFU_FISH_SOUP_RAW,
"consume": 1,
"tip": "§a豆腐汤加鲑鱼, 再拿葱花碎右键加葱花后开始熬制, 手持木碗出锅"},
"tip": None},
{"block": SALMON_SOUP, "item": BEANCURD, "target": TOFU_FISH_SOUP_RAW,
"consume": 4,
"tip": "§a鲑鱼汤加豆腐x4, 再拿葱花碎右键加葱花后开始熬制, 手持木碗出锅"},
"tip": None},
# 菜谱26 supplement: 豆腐鲑鱼汤_生 + 葱花碎x3 -> 汤锅_89(加葱花), 开始计时
{"block": TOFU_FISH_SOUP_RAW, "item": SCALLIONS, "target": TOFU_FISH_SCALLION,
"consume": 3, "startTimer": TOFU_FISH_SCALLION,
"tip": "§a豆腐鲑鱼汤加葱花碎x3, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": MUSHROOM_SOUP, "item": CHICKEN, "target": CHICKEN_STEW_MUSHROOMS,
"consume": 1, "startTimer": CHICKEN_STEW_MUSHROOMS,
"tip": "§a蘑菇汤加生鸡肉, 开始熬制, 手持木碗出锅"},
"tip": None},
{"block": VEGETABLE_SOUP, "item": SASHIMI, "target": VEGETABLE_FISH_SOUP_0,
"consume": 10, "startTimer": VEGETABLE_FISH_SOUP_0,
"tip": "§a蔬菜汤加生鱼片x10, 开始熬制, 手持木碗出锅"},
"tip": None},
# ---------------- 五、单独菜谱 ----------------
# 菜谱29 猪蹄汤
{"block": POT_WATER, "item": HAM, "target": RAW_PIG_FOOD_SOUP_0,
"consume": 2, "tip": "§a放入猪蹄x2, 变成 猪蹄汤(生); 继续拿土豆块x3右键 加土豆"},
"consume": 2, "tip": None},
{"block": RAW_PIG_FOOD_SOUP_0, "item": POTATO_WEDGES, "target": RAW_PIG_FOOD_SOUP_2,
"consume": 3, "startTimer": RAW_PIG_FOOD_SOUP_2,
"tip": "§a猪蹄汤加土豆块x3, 开始熬制, 手持木碗出锅"},
"tip": None},
# 菜谱30 羊肉泡馍汤
{"block": POT_WATER, "item": MO, "target": ROUJIAMO_SOUP_0,
"consume": 1, "startTimer": ROUJIAMO_SOUP_0,
"tip": "§a放入馍, 开始熬制, 手持木碗出锅"},
"tip": None},
# 菜谱31 生面汤
{"block": POT_WATER, "item": NOODLES, "target": RAW_NOODLE_SOUP,
"consume": 1, "startTimer": RAW_NOODLE_SOUP,
"tip": "§a放入生面, 开始熬制, 手持木碗盛出 熟面条"},
"tip": None},
# 菜谱32 饺子汤
{"block": POT_WATER, "item": DUMPLINGS, "target": DUMPLINGS_SOUP_0,
"consume": 1, "startTimer": DUMPLINGS_SOUP_0,
"tip": "§a放入生饺子, 开始熬制, 手持木碗盛出 饺子_碗装"},
"tip": None},
# 菜谱35 生米锅
{"block": POT_WATER, "item": BROWN_RICE, "target": RAW_RICE_POT,
"consume": 64, "startTimer": RAW_RICE_POT,
"tip": "§a放入大米x64, 变成 生米锅; 开始煮饭结束变熟, 木碗盛出"},
"tip": None},
# 菜谱39 煮鸡蛋(生)
{"block": POT_WATER, "item": EGG_PILE, "target": RAW_EGG_SOUP,
"consume": 1, "startTimer": RAW_EGG_SOUP,
"tip": "§a放入鸡蛋堆, 开始熬制, 空手右键取出 水煮蛋x9"},
"tip": None},
# 菜谱42 煮豆腐(生)
{"block": POT_WATER, "item": SOYMILK, "target": BEANCURD_SOUP_0,
"consume": 1, "startTimer": BEANCURD_SOUP_0,
"tip": "§a倒入豆浆, 开始熬制, 拿菜刀右键切成 豆腐x16"},
"tip": None},
# ---------------- 六、出锅(熟汤羹+木碗 -> 碗装成品, 锅变回汤锅(空)) ----------------
{"block": CARROT_BEEF_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_CARROT_BEEF, "consume": 1,
"tip": "§a盛出 胡萝卜牛肉汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": LAMB_SOUP_WITH_TURNIPS_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_LAMB_TURNIP, "consume": 1,
"tip": "§a盛出 胡萝卜羊肉汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": CARROT_RIBS_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_CARROT_RIBS, "consume": 1,
"tip": "§a盛出 胡萝卜排骨汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": VEGETABLE_BEEF_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_VEGETABLE_BEEF, "consume": 1,
"tip": "§a盛出 清汤羊肉, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": VEGETABLE_LAMB_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_VEGETABLE_LAMB, "consume": 1,
"tip": "§a盛出 蔬菜牛肉汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": VEGETABLE_LEAN_BROTH_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_VEGETABLE_LEAN, "consume": 1,
"tip": "§a盛出 蔬菜瘦肉汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": VEGETABLE_SSTEW_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_VEGETABLE_SSTEW, "consume": 1,
"tip": "§a盛出 蔬菜乱炖, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": BEEF_BONE_BROTH_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_BEEF_BONE, "consume": 1,
"tip": "§a盛出 胡萝卜土豆牛骨汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": LAMB_STEW_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_LAMB_STEW, "consume": 1,
"tip": "§a盛出 土豆胡萝卜炖羊肉, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": LAMB_CHOP_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_LAMB_CHOP, "consume": 1,
"tip": "§a盛出 胡萝卜土豆羊排汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": CARROT_COD_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_CARROT_COD, "consume": 1,
"tip": "§a盛出 胡萝卜鳕鱼汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": CARROT_FISH_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_CARROT_FISH, "consume": 1,
"tip": "§a盛出 胡萝卜鲑鱼汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": EGG_COD_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_EGG_COD, "consume": 1,
"tip": "§a盛出 蛋花鳕鱼汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": NORI_EGG_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_NORI_EGG, "consume": 1,
"tip": "§a盛出 瘦肉蛋花汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": TOFU_FISH_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_TOFU_FISH, "consume": 1,
"tip": "§a盛出 豆腐鲑鱼汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": CHICKEN_STEW_MUSHROOMS_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_MUSHROOM_CHICKEN, "consume": 1,
"tip": "§a盛出 蘑菇炖鸡, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": RAW_PIG_FOOD_SOUP_5, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_PIG_FOOT, "consume": 1,
"tip": "§a盛出 猪蹄汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": ROUJIAMO_SOUP_1, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_ROUJIAMO, "consume": 1,
"tip": "§a盛出 羊肉泡馍汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": COOKED_NOODLE_SOUP, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_NOODLE, "consume": 1,
"tip": "§a盛出 熟面条, 锅变回 汤锅(空); 熟面条可做汤面"},
"tip": None},
{"block": DUMPLINGS_SOUP_2, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_DUMPLINGS, "consume": 1,
"tip": "§a盛出 饺子_碗装, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
# 菜谱32 todo: 饺子汤_熟 + 盘子 -> 美味饺子(全份)盘装
{"block": DUMPLINGS_SOUP_2, "item": PLATE, "action": "take_out",
"target": POT_EMPTY, "dropItem": PLATE_30A, "consume": 1,
"tip": "§a捞出 美味饺子(全份)盘装, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
{"block": VEGETABLE_FISH_SOUP_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_VEGETABLE_FISH, "consume": 1,
"tip": "§a盛出 蔬菜鱼片汤, 锅变回 汤锅(空); 成品【吃】右键食用"},
"tip": None},
# 菜谱38 碗装米饭(木碗盛出)
{"block": RICE_POT_1, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_RICE_1, "consume": 1,
"tip": "§a盛出 米饭_1(熟米饭_形态1), 锅变回 汤锅(空); 碗装米饭供炒锅蛋炒饭"},
"tip": None},
{"block": RICE_POT_2, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_RICE_2, "consume": 1,
"tip": "§a盛出 米饭_2(熟米饭_形态2), 锅变回 汤锅(空); 碗装米饭供炒锅蛋炒饭"},
"tip": None},
{"block": RICE_POT_3, "item": BOWL, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOWL_RICE_3, "consume": 1,
"tip": "§a盛出 米饭_3(熟米饭_形态3), 锅变回 汤锅(空); 碗装米饭供炒锅蛋炒饭"},
"tip": None},
# ---------------- 七、取出(空手/菜刀, 锅变回汤锅(空)) ----------------
# 菜谱37 饭团
{"block": RICE_POT_1, "item": None, "action": "take_out",
"target": POT_EMPTY, "dropItem": RICE_BALLS, "count": 16,
"tip": "§a捏成 饭团x16, 锅变回 汤锅(空); 饭团供寿司用"},
"tip": None},
{"block": RICE_POT_2, "item": None, "action": "take_out",
"target": POT_EMPTY, "dropItem": RICE_BALLS, "count": 16,
"tip": "§a捏成 饭团x16, 锅变回 汤锅(空); 饭团供寿司用"},
"tip": None},
{"block": RICE_POT_3, "item": None, "action": "take_out",
"target": POT_EMPTY, "dropItem": RICE_BALLS, "count": 16,
"tip": "§a捏成 饭团x16, 锅变回 汤锅(空); 饭团供寿司用"},
"tip": None},
# 菜谱41 水煮蛋
{"block": COOKED_EGG_SOUP, "item": None, "action": "take_out",
"target": POT_EMPTY, "dropItem": BOILED_EGG, "count": 9,
"tip": "§a取出 水煮蛋x9, 锅变回 汤锅(空); 水煮蛋【吃】右键食用"},
"tip": None},
# 菜谱44 豆腐(菜刀切, 不消耗刀)
{"block": BEANCURD_SOUP_1, "item": CLEAVER, "action": "take_out",
"target": POT_EMPTY, "dropItem": BEANCURD, "count": 16,
"tip": "§a切出 豆腐x16, 锅变回 汤锅(空); 豆腐供炒锅/汤锅使用"},
"tip": None},
# ---------------- 八、汤面分组(手持汤锅成品菜 右键 熟面条(方块)) ----------------
{"block": BOWL_NOODLE, "item": BOWL_CARROT_RIBS, "target": NOODLESOUP_1,
"consume": 1, "drop": BOWL,
"tip": "§a排骨汤浇在面条上, 变成 猪排蔬菜面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"block": BOWL_NOODLE, "item": BOWL_LAMB_CHOP, "target": NOODLESOUP_2,
"consume": 1, "drop": BOWL,
"tip": "§a羊排汤浇在面条上, 变成 羊排蔬菜面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"block": BOWL_NOODLE, "item": BOWL_BEEF_BONE, "target": NOODLESOUP_3,
"consume": 1, "drop": BOWL,
"tip": "§a牛骨汤浇在面条上, 变成 牛骨面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"block": BOWL_NOODLE, "item": BOWL_MUSHROOM_CHICKEN, "target": NOODLESOUP_4,
"consume": 1, "drop": BOWL,
"tip": "§a蘑菇炖鸡浇在面条上, 变成 小鸡炖蘑菇面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"block": BOWL_NOODLE, "item": BOWL_VEGETABLE_SSTEW, "target": ASSORTED_RAMEN,
"consume": 1, "drop": BOWL,
"tip": "§a蔬菜乱炖浇在面条上, 变成 胡萝卜蔬菜面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"block": BOWL_NOODLE, "item": BOWL_VEGETABLE_LAMB, "target": BRAISED_NOODLES,
"consume": 1, "drop": BOWL,
"tip": "§a蔬菜牛肉汤浇在面条上, 变成 胡萝卜蔬菜牛肉面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"block": BOWL_NOODLE, "item": BOWL_VEGETABLE_FISH, "target": YUSHENG_RAMEN,
"consume": 1, "drop": BOWL,
"tip": "§a蔬菜鱼片汤浇在面条上, 变成 蔬菜鱼片面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"block": BOWL_NOODLE, "item": BOILED_EGG, "target": EGG_NOODLES,
"consume": 1, "drop": BOWL,
"tip": "§a放上水煮蛋, 变成 鸡蛋面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
# 蛋花面(加葱花)
{"block": NOODLES_1, "item": SCALLIONS, "target": NOODLES_2,
"consume": 1, "tip": "§a蛋花面撒上葱花碎, 变成 蛋花面(加葱花); 汤面【吃】右键食用"},
"consume": 1, "tip": None},
# 猪排蔬菜面加水煮蛋(猪排蔬菜面 + 水煮蛋)
{"block": NOODLESOUP_1, "item": BOILED_EGG, "target": TONKOTSU_RAMEN,
"consume": 1, "tip": "§a猪排蔬菜面放上水煮蛋, 变成 猪排蔬菜面加水煮蛋; 汤面【吃】右键食用"},
"consume": 1, "tip": None},
]
# ============================================================================
@@ -517,13 +517,13 @@ ITEM_USE_ON_RULES = [
# ---- 锅态汤面走 itemUseOn 路径(手持锅态汤方块 右键 熟面条表面) ----
{"item": MUSHROOM_SOUP, "surface": BOWL_NOODLE, "target": MUSHROOM_NOODLES,
"consume": 1, "drop": BOWL,
"tip": "§a蘑菇汤浇在面条上, 变成 香菇面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"item": VEGETABLE_SOUP, "surface": BOWL_NOODLE, "target": VEGETABLE_NOODLES,
"consume": 1, "drop": BOWL,
"tip": "§a蔬菜汤浇在面条上, 变成 蔬菜面, 掉落一个木碗; 汤面【吃】右键食用"},
"tip": None},
{"item": EGG_SOUP, "surface": BOWL_NOODLE, "target": NOODLES_1,
"consume": 1, "drop": BOWL,
"tip": "§a蛋花汤浇在面条上, 变成 蛋花面, 掉落一个木碗; 可加葱花碎 或 直接【吃】"},
"tip": None},
]
# ============================================================================
@@ -132,23 +132,9 @@ class TangguoService(BlueFoxServerSystem):
self._finalInfo[r["block"]] = "空手取出"
self.timerSources = set()
self.startTimerTips = {} # 空手右键启动计时 -> 提示(含总共多少秒)
self.timingTips = {} # 空手右键"已在计时中" -> 提示(同样含总共多少秒)
for src, r in self._timerBySrc.items():
self.timerSources.add(src)
self.featureBlocks.add(src) # 登记右键路由, 空手右键才分发到这里
# 【提示不再报秒数】计时已统一为 1 秒/级, 秒数信息无意义, 只提示成品
if r.get("randomTargets"):
tip = "§a开始煮饭, 木碗盛出"
t2 = "§e正在煮饭, 等待盛出"
else:
endBlock = self._timerTerminal(src)
act = self._finalInfo.get(endBlock) if endBlock else None
base = (", " + act) if act else ""
tip = "§a开始熬制%s" % base
t2 = "§e正在熬制%s" % base
self.startTimerTips[src] = tip
self.timingTips[src] = t2
# ---- 右键冷却表 ----
self.cooldown = {}
@@ -197,20 +183,15 @@ class TangguoService(BlueFoxServerSystem):
return True
def _handleStartTimer(self, blockName, playerId, pos, dim):
"""空手右键生汤羹等: 已在计时中 -> 提示总时长; 否则转发计时服务开始(下方需点燃炉灶)"""
"""空手右键生汤羹等: 已在计时中则忽略; 否则转发计时服务开始(下方需点燃炉灶)"""
try:
data = blockEntityDataComp.GetBlockEntityData(dim, pos)
if data and data["rtdd_tid"] == blockName:
msg = self.timingTips.get(blockName) or "§e正在熬制中"
comp.CreateMsg(playerId).NotifyOneMessage(playerId, msg)
return
except Exception:
pass
started = FeatureDispatcher.startTimerFor(blockName, dim, pos, playerId)
if started:
msg = self.startTimerTips.get(blockName) or "§a已启动计时"
comp.CreateMsg(playerId).NotifyOneMessage(playerId, msg)
else:
if not started:
comp.CreateMsg(playerId).NotifyOneMessage(
playerId, "§c需要放在点燃的炉灶上")
@@ -317,10 +298,6 @@ class TangguoService(BlueFoxServerSystem):
if recipe.get("give"):
self.giveItem(playerId, recipe["give"])
# 提示
if recipe.get("tip"):
comp.CreateMsg(playerId).NotifyOneMessage(playerId, recipe["tip"])
def _defaultPot(self):
"""take_out 未指定 target 时回退(正常应总是带 target=汤锅(空))"""
return "rtdd:stewedsoup"
@@ -214,6 +214,7 @@ class TangguoTimerService(BlueFoxServerSystem):
ids = comp.CreateGame(LevelId).GetAllPlayerIds()
if playerId in ids:
comp.CreateMsg(playerId).NotifyOneMessage(playerId, tip)
except Exception:
pass