稻谷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

@@ -30,7 +30,7 @@ CHOP_CHAINS = [
"rtdd:cutcarrot_3", "rtdd:cutcarrot_4",
],
"drop": {"name": "rtdd:crushed_carrots", "count": 3},
"tip": "§a切出了胡萝卜碎",
"tip": None,
},
{
"blocks": [
@@ -38,7 +38,7 @@ CHOP_CHAINS = [
"rtdd:cutpotato_3", "rtdd:cutpotato_4",
],
"drop": {"name": "rtdd:potato_wedges", "count": 3},
"tip": "§a切出了土豆块",
"tip": None,
},
{
"blocks": [
@@ -46,7 +46,7 @@ CHOP_CHAINS = [
"rtdd:cutvegetable_2", "rtdd:cutvegetable_3",
],
"drop": {"name": "rtdd:vegetable", "count": 3},
"tip": "§a切出了青菜碎",
"tip": None,
},
{
"blocks": [
@@ -54,7 +54,7 @@ CHOP_CHAINS = [
"rtdd:cutscallions_3", "rtdd:cutscallions_4",
],
"drop": {"name": "rtdd:crushed_scallions", "count": 3},
"tip": "§a切出了葱花碎",
"tip": None,
},
]
@@ -82,9 +82,9 @@ COATING_RULES = [
# ---- 肉馅按压: 空手右键 生猪肉馅/生牛肉馅 -> 按压成型 ----
MEAT_PRESS_RULES = [
{"source": "rtdd:rawmeatball_0", "target": "rtdd:rawmeatball_2",
"tip": "§a生猪肉馅按压成型了"},
"tip": None},
{"source": "rtdd:rawmeatball_1", "target": "rtdd:rawmeatball_3",
"tip": "§a生牛肉馅按压成型了"},
"tip": None},
]
# ---- 左键破坏掉落: 摆在地上的切配方块 -> 原版食材(相对"切配态"的原版不切物品) ----
@@ -226,7 +226,6 @@ class ShicaiService(BlueFoxServerSystem):
if not self.checkCooldown(key, 0.5):
return True
self.replaceBlock(pos, dim, rule["target"], playerId)
comp.CreateMsg(playerId).NotifyOneMessage(playerId, rule["tip"])
return True
# ============================================================================
@@ -247,8 +246,6 @@ class ShicaiService(BlueFoxServerSystem):
# 最后一级再切 -> 掉碎 + 变空气
self.clearBlock(pos, dim)
self.dropItems(dim, pos, [chain["drop"]])
comp.CreateMsg(playerId).NotifyOneMessage(
playerId, chain.get("tip", "§a切好了"))
return True
# ============================================================================
@@ -266,7 +263,6 @@ class ShicaiService(BlueFoxServerSystem):
self.clearBlock(pos, dim)
self.dropItems(dim, pos, [GARLIC_DROP])
self.garlicChop.pop(gkey, None)
comp.CreateMsg(playerId).NotifyOneMessage(playerId, "§a切好了蒜末")
else:
self.garlicChop[gkey] = n
return True
@@ -289,7 +285,6 @@ class ShicaiService(BlueFoxServerSystem):
self.consumeItem(playerId, itemDict, need)
self.clearBlock(pos, dim)
self.dropItems(dim, pos, [rule["drop"]])
comp.CreateMsg(playerId).NotifyOneMessage(playerId, "§a裹粉完成")
return True
# ============================================================================