diff --git a/assets/game/mode/brik/exterior/dig.lua b/assets/game/mode/brik/exterior/dig.lua index d8c23964..8e4df44b 100644 --- a/assets/game/mode/brik/exterior/dig.lua +++ b/assets/game/mode/brik/exterior/dig.lua @@ -19,7 +19,21 @@ return { P.modeData.lineStay=6 mechLib.brik.dig.event_playerInit(P) P.fieldDived=0 + P.modeData.keyCount={} + P.modeData.curKeyCount=0 end, + beforePress={ + mechLib.brik.misc.skipReadyWithHardDrop_beforePress, + function(P) + if P.timing then return true end + if P.settings.readyDelay%1000~=0 then + PROGRESS.setSecret('exterior_sprint_gunJumping') + end + end, + function(P) + P.modeData.curKeyCount=P.modeData.curKeyCount+1 + end, + }, beforeClear={ function(P,lines) local CLEARS=P.modeData.infDig_clears diff --git a/assets/game/mode/brik/exterior/drill.lua b/assets/game/mode/brik/exterior/drill.lua index a4676450..d1ccdde0 100644 --- a/assets/game/mode/brik/exterior/drill.lua +++ b/assets/game/mode/brik/exterior/drill.lua @@ -19,7 +19,21 @@ return { P.modeData.lineStay=8 mechLib.brik.dig.event_playerInit(P) P.fieldDived=0 + P.modeData.keyCount={} + P.modeData.curKeyCount=0 end, + beforePress={ + mechLib.brik.misc.skipReadyWithHardDrop_beforePress, + function(P) + if P.timing then return true end + if P.settings.readyDelay%1000~=0 then + PROGRESS.setSecret('exterior_sprint_gunJumping') + end + end, + function(P) + P.modeData.curKeyCount=P.modeData.curKeyCount+1 + end, + }, beforeClear={ function(P,lines) local CLEARS=P.modeData.infDig_clears diff --git a/assets/game/mode/brik/exterior/hypersonic.lua b/assets/game/mode/brik/exterior/hypersonic.lua index 14d7f080..e0a9cedf 100644 --- a/assets/game/mode/brik/exterior/hypersonic.lua +++ b/assets/game/mode/brik/exterior/hypersonic.lua @@ -15,6 +15,8 @@ return { P.settings.dropDelay=0 P.settings.lockDelay=1e99 P.settings.spawnDelay=260 + P.modeData.keyCount={} + P.modeData.curKeyCount=0 local T=mechLib.common.task T.install(P) T.add(P,'hypersonic_low','modeTask_hypersonic_low_title','modeTask_hypersonic_low_desc','(0/4)') @@ -29,6 +31,18 @@ return { T.add(P,'hypersonic_titanium','modeTask_hypersonic_titanium_title','modeTask_hypersonic_titanium_desc') end end, + beforePress={ + mechLib.brik.misc.skipReadyWithHardDrop_beforePress, + function(P) + if P.timing then return true end + if P.settings.readyDelay%1000~=0 then + PROGRESS.setSecret('exterior_sprint_gunJumping') + end + end, + function(P) + P.modeData.curKeyCount=P.modeData.curKeyCount+1 + end, + }, afterClear=function(P,clear) local initFunc local T=mechLib.common.task diff --git a/assets/game/mode/brik/exterior/tspin.lua b/assets/game/mode/brik/exterior/tspin.lua index eeb07884..5ae425f2 100644 --- a/assets/game/mode/brik/exterior/tspin.lua +++ b/assets/game/mode/brik/exterior/tspin.lua @@ -23,8 +23,22 @@ return { P.modeData.hardModeFlag=true mechLib.brik.chargeLimit.tspin_event_playerInit(P) mechLib.common.music.set(P,{path='.tsd',s=3,e=12},'afterClear') + P.modeData.keyCount={} + P.modeData.curKeyCount=0 end, always=mechLib.brik.chargeLimit.tspin_event_always, + beforePress={ + mechLib.brik.misc.skipReadyWithHardDrop_beforePress, + function(P) + if P.timing then return true end + if P.settings.readyDelay%1000~=0 then + PROGRESS.setSecret('exterior_sprint_gunJumping') + end + end, + function(P) + P.modeData.curKeyCount=P.modeData.curKeyCount+1 + end, + }, afterClear={ mechLib.brik.chargeLimit.tspin_event_afterClear, function(P) -- Switch to easy mode when TS not D