准备制作食材预处理流程,为lua直接读data table做基建

...
This commit is contained in:
2025-08-19 03:23:36 +08:00
parent 6fafddc43d
commit 626808fde9
29 changed files with 328 additions and 51 deletions

View File

@ -88,11 +88,11 @@ end
function CookingBench:UpdateCookState()
if self.temperature > 0 then
self.WBP_CookingProcess:SetVisible(true)
self.WBP_CookingProcess:BP_SetVisible(true)
local percent = self.temperature / self.max_temperature
self.WBP_CookingProcess.TemperatureProcess:SetPercent(percent)
else
self.WBP_CookingProcess:SetVisible(false)
self.WBP_CookingProcess:BP_SetVisible(false)
end
end