修复汤锅模型问题
修复菜单报错
This commit is contained in:
1 parent
bf6b18c7a4
commit
9d0b0836e9
43 files changed
+27219
-3612
No files matched your search
@@ -3,6 +3,7 @@ from ...BlueFoxTools.ScreenTools import ScreenTools
|
||||
from ...BlueFoxTools.ScreenTools import ButtonTouchTypeEnum as btte
|
||||
from ...BlueFoxTools.SystemTools import SystemTools
|
||||
from ...BlueFoxTools.ToolsConfig import *
|
||||
from ...BlueFoxTools.OtherTools import FixList
|
||||
|
||||
allCookRecipe = [
|
||||
# =============================================================
|
||||
@@ -306,7 +307,7 @@ allCookRecipe = [
|
||||
{'result': 'rtdd:bowla_lambchopsoup', 'items': [{'itemName': 'rtdd:sheepracks', 'count': 2}, {}, {}]},
|
||||
# 胡萝卜土豆羊排汤
|
||||
{'result': 'rtdd:bowlavegetablesstew',
|
||||
'items': [ {'itemName': 'rtdd:vegetable', 'count': 3},{},
|
||||
'items': [{'itemName': 'rtdd:vegetable', 'count': 3}, {},
|
||||
{}]}, # 蔬菜乱炖
|
||||
], # 分菜: 胡萝卜土豆汤 + 主料 -> 计时 -> 出锅
|
||||
},
|
||||
@@ -725,10 +726,10 @@ class CookRecipe(baseScreen):
|
||||
self.anyStemControlItemCells[0],
|
||||
{'itemName': self.pageData.get('publicResult', ''), 'count': 1}
|
||||
)
|
||||
publicStep = FixList(self.pageData.get('publicStep', []), 3, {})
|
||||
for _ in range(1, 4):
|
||||
self.RenderItem(
|
||||
self.anyStemControlItemCells[_],
|
||||
self.pageData.get('publicStep', [{}, {}, {}, ])[_ - 1]
|
||||
self.anyStemControlItemCells[_], publicStep[_ - 1]
|
||||
)
|
||||
splitStep = self.pageData.get('splitStep', [])
|
||||
for index in range(4):
|
||||
|
||||
Reference in new issue
Block a user