Skip to content

Commit

Permalink
tspin模式改为10个t1或t3分别有一个彩蛋,且左侧文本变化更合理
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jun 26, 2024
1 parent 913d93d commit c9a7870
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 11 deletions.
38 changes: 29 additions & 9 deletions assets/game/mode/brik/exterior/tspin.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local function degraded_tspin_event_drawOnPlayer(P)
P:drawInfoPanel(-380,-60,160,120)
FONT.set(80) GC.mStr(P.modeData.tspin,-300,-70)
FONT.set(30) GC.mStr(Text.target_tspin,-300,15)
FONT.set(30) GC.mStr(Text[P.modeData.tspinText],-300,15)
end

---@type Techmino.Mode
Expand Down Expand Up @@ -47,24 +47,44 @@ return {
end
end,
function(P) -- Progress
-- Easy mode finishes after 12 TSs
-- Easy mode finishes after 10 TSs
if P.modeData.tspin then
P.modeData.tspinText=nil
for k,v in next,P.stat.clears do
if v~=0 then
if P.modeData.tspinText then
P.modeData.tspinText='target_tspin'
break
else
P.modeData.tspinText=
k==1 and 'target_tss' or
k==2 and 'target_tsd' or
k==3 and 'target_tst' or
'target_tsq'
end
end
end
local goSecretApp
if P.modeData.tspin==4 and P.stat.line==4 and PROGRESS.getSecret('exterior_tspin_12TSS') then
goSecretApp=true
elseif P.modeData.tspin>=12 then
if P.modeData.tspin==4 and P.modeData.tspinText=='target_tss' and PROGRESS.getSecret('exterior_tspin_10TSS') then
goSecretApp='app_polyforge'
elseif P.modeData.tspin==3 and P.modeData.tspinText=='target_tst' and PROGRESS.getSecret('exterior_tspin_10TST') then
goSecretApp='app_UTTT'
elseif P.modeData.tspin>=10 then
PROGRESS.setExteriorScore('tspin','any',P.modeData.tspin)
if P.stat.line==12 then
PROGRESS.setSecret('exterior_tspin_12TSS')
goSecretApp=true
if P.modeData.tspinText=='target_tss' then
PROGRESS.setSecret('exterior_tspin_10TSS')
goSecretApp='app_polyforge'
elseif P.modeData.tspinText=='target_tst' then
PROGRESS.setSecret('exterior_tspin_10TST')
goSecretApp='app_UTTT'
else
P:finish('AC')
end
end
if goSecretApp then
TASK.new(task_unloadGame)
SCN._pop()
SCN.go('app_UTTT')
SCN.go(goSecretApp)
end
else
PROGRESS.setExteriorScore('tspin','any',P.modeData.tsd)
Expand Down
6 changes: 5 additions & 1 deletion assets/language/lang_en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ local L={
target_time="Time",
target_ac="AC",
target_hc="HC",
target_tss="TSS",
target_tsd="TSD",
target_tst="TST",
target_tsq="TS?",
target_tspin="T-Spin",
target_techrash="Techrash",
target_wave="Wave",
Expand Down Expand Up @@ -229,7 +232,8 @@ local L={
exterior_excavate_notDig="What are you doing?",
exterior_hidden_superBrain="COOL",
exterior_sprint_SZOpen="Really want to start with SZO?",
exterior_tspin_12TSS="What's this?",
exterior_tspin_10TSS="What's this?",
exterior_tspin_10TST="EZ.",
interior_console="What's this?",
musicroom_recollection="Recollection is not a song",
},
Expand Down
6 changes: 5 additions & 1 deletion assets/language/lang_zh.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ local L={
target_time="时间",
target_ac="全消",
target_hc="半全消",
target_tss="TSS",
target_tsd="TSD",
target_tst="TST",
target_tsq="TS?",
target_tspin="T-Spin",
target_techrash="消四",
target_wave="波数",
Expand Down Expand Up @@ -228,7 +231,8 @@ local L={
exterior_excavate_notDig="你在干什么?",
exterior_hidden_superBrain="COOL",
exterior_sprint_SZOpen="真的要用SZO开局吗",
exterior_tspin_12TSS="这是什么?",
exterior_tspin_10TSS="这是什么?",
exterior_tspin_10TST="轻松。",
interior_console="这是什么?",
musicroom_recollection="Recollection不是一首曲子",
},
Expand Down

0 comments on commit c9a7870

Please sign in to comment.