Add rank, friends, fishing, and camp treasure with T2 studio models and skill presentation.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,7 +65,7 @@ namespace HotUpdate.UI
|
||||
SetText("Txt_Diamond", "0");
|
||||
SetText("Txt_Pinballs", state.balls.ToString());
|
||||
SetText("Txt_TaskCaption", "教学目标");
|
||||
SetText("Txt_Task", GuideTask(state));
|
||||
SetText("Txt_Task", GuideTask(state, config));
|
||||
SetText("Txt_AdventureHint", state.cleared ? "首通已完成 · 可重复挑战" : "首通另获糖果 40 · 不消耗体力");
|
||||
if (config != null && state.schema >= 2)
|
||||
{
|
||||
@@ -100,13 +100,18 @@ namespace HotUpdate.UI
|
||||
}
|
||||
}
|
||||
|
||||
public static string GuideTask(Gameplay.PrototypeSave state)
|
||||
public static string GuideTask(Gameplay.PrototypeSave state, Gameplay.PrototypeConfig config = null)
|
||||
{
|
||||
if (state.goalClaimed) return "教学目标已完成";
|
||||
if (state.cleared) return "领取首通目标奖励";
|
||||
if (state.shots == 0) return "发射第一枚弹珠";
|
||||
if (!state.captureTutorialDone && state.tickets > 0) return "用捕捉券获得芽芽";
|
||||
if (state.level < 2) return "用糖果做一次共享训练";
|
||||
if (state.level < 2)
|
||||
{
|
||||
int cost = (config?.economy?.trainCost ?? 30) * state.level;
|
||||
if (state.candy < cost) return state.balls > 0 ? "发射弹珠,补足训练糖果" : "领取免费补给,再收集训练糖果";
|
||||
return "用糖果做一次共享训练";
|
||||
}
|
||||
return "布阵并完成教学关 1-1";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user