整理代码习惯,常量字符串改用单引号,可能有遗漏

This commit is contained in:
MrZ626
2021-04-30 01:00:22 +08:00
parent 7676f32cf2
commit eda6c0d746
213 changed files with 2503 additions and 2499 deletions

View File

@@ -665,97 +665,97 @@ return{
},
},
modes={
["sprint_10l"]= {"Sprint", "10L", "Clear 10 lines!"},
["sprint_20l"]= {"Sprint", "20L", "Clear 20 lines!"},
["sprint_40l"]= {"Sprint", "40L", "Clear 40 lines!"},
["sprint_100l"]= {"Sprint", "100L", "Clear 100 lines!"},
["sprint_400l"]= {"Sprint", "400L", "Clear 400 lines!"},
["sprint_1000l"]= {"Sprint", "1000L", "Clear 1000 lines!"},
["sprintPenta"]= {"Sprint", "PENTOMINO", "40L with 18 pentominoes."},
["sprintMPH"]= {"Sprint", "MPH", "Memoryless\nPreviewless\nHoldless"},
["dig_10l"]= {"Dig", "10L", "Dig 10 garbage lines."},
["dig_40l"]= {"Dig", "40L", "Dig 40 garbage lines."},
["dig_100l"]= {"Dig", "100L", "Dig 100 garbage lines."},
["dig_400l"]= {"Dig", "400L", "Dig 400 garbage lines."},
["dig_1000l"]= {"Dig", "1000L", "Dig 1000 garbage lines."},
["drought_n"]= {"Drought", "100L", "There are no I-pieces."},
["drought_l"]= {"Drought", "100L", "W T F"},
["marathon_n"]= {"Marathon", "NORMAL", "200-line marathon with accelerating speed."},
["marathon_h"]= {"Marathon", "HARD", "200-line high-speed marathon."},
["solo_e"]= {"Battle", "EASY", "Defeat the AI!"},
["solo_n"]= {"Battle", "NORMAL", "Defeat the AI!"},
["solo_h"]= {"Battle", "HARD", "Defeat the AI!"},
["solo_l"]= {"Battle", "LUNATIC", "Defeat the AI!"},
["solo_u"]= {"Battle", "ULTIMATE", "Defeat the AI!"},
["techmino49_e"]= {"Tech 49", "EASY", "49-player battle.\nThe last one standing wins."},
["techmino49_h"]= {"Tech 49", "HARD", "49-player battle.\nThe last one standing wins."},
["techmino49_u"]= {"Tech 49", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
["techmino99_e"]= {"Tech 99", "EASY", "99-player battle.\nThe last one standing wins."},
["techmino99_h"]= {"Tech 99", "HARD", "99-player battle.\nThe last one standing wins."},
["techmino99_u"]= {"Tech 99", "ULTIMATE", "99-player battle.\nThe last one standing wins."},
["round_e"]= {"Turn-Based", "EASY", "Chess mode"},
["round_n"]= {"Turn-Based", "NORMAL", "Chess mode"},
["round_h"]= {"Turn-Based", "HARD", "Chess mode"},
["round_l"]= {"Turn-Based", "LUNATIC", "Chess mode"},
["round_u"]= {"Turn-Based", "ULTIMATE", "Chess mode"},
["master_beginner"]= {"Master", "LUNATIC", "For 20G beginners."},
["master_advance"]= {"Master", "ULTIMATE", "For 20G pros."},
["master_final"]= {"Master", "FINAL", "20G and beyond."},
["master_phantasm"]= {"Master", "PHANTASM", "???"},
["master_extra"]= {"GrandMaster", "EXTRA", "An eternity shorter than an instant."},
["rhythm_e"]= {"Rhythm", "EASY", "200-line low-BPM rhythm marathon."},
["rhythm_h"]= {"Rhythm", "HARD", "200-line medium BPM rhythm marathon"},
["rhythm_u"]= {"Rhythm", "ULTIMATE", "200-line high-BPM rhythm marathon."},
["blind_e"]= {"Blind", "HALF", "For novices."},
["blind_n"]= {"Blind", "ALL", "For intermediates."},
["blind_h"]= {"Blind", "SUDDEN", "For the experienced."},
["blind_l"]= {"Blind", "SUDDEN+", "For professionals."},
["blind_u"]= {"Blind", "?", "Are you ready?"},
["blind_wtf"]= {"Blind", "WTF", "You're not ready."},
["classic_fast"]= {"Classic", "CTWC", "High-speed classic mode."},
["survivor_e"]= {"Survivor", "EASY", "How long can you survive?"},
["survivor_n"]= {"Survivor", "NORMAL", "How long can you survive?"},
["survivor_h"]= {"Survivor", "HARD", "How long can you survive?"},
["survivor_l"]= {"Survivor", "LUNATIC", "How long can you survive?"},
["survivor_u"]= {"Survivor", "ULTIMATE", "How long can you survive?"},
["attacker_h"]= {"Attacker", "HARD", "Practice Offense!"},
["attacker_u"]= {"Attacker", "ULTIMATE", "Practice Offense!"},
["defender_n"]= {"Defender", "NORMAL", "Practice Defense!"},
["defender_l"]= {"Defender", "LUNATIC", "Practice Defense!"},
["dig_h"]= {"Driller", "HARD", "Digging practice!"},
["dig_u"]= {"Driller", "ULTIMATE", "Digging practice!"},
["bigbang"]= {"Big Bang", "EASY", "All-spin tutorial!\n[Under construction]"},
["c4wtrain_n"]= {"C4W Training", "NORMAL", "Infinite combos."},
["c4wtrain_l"]= {"C4W Training", "LUNATIC", "Infinite combos."},
["pctrain_n"]= {"PC Training", "NORMAL", "Perfect Clear Practice."},
["pctrain_l"]= {"PC Training", "LUNATIC", "Harder Perfect Clear Practice."},
["pc_n"]= {"PC Challenge", "NORMAL", "Get PCs within 100 lines!"},
["pc_h"]= {"PC Challenge", "HARD", "Get PCs within 100 lines!"},
["pc_l"]= {"PC Challenge", "LUNATIC", "Get PCs within 100 lines!"},
["tech_n"]= {"Tech", "NORMAL", "Try to keep the\nBack-to-Back chain!"},
["tech_n_plus"]= {"Tech", "NORMAL+", "Spins & PCs only."},
["tech_h"]= {"Tech", "HARD", "Try to keep the\nBack-to-Back chain!"},
["tech_h_plus"]= {"Tech", "HARD+", "Spins & PCs only."},
["tech_l"]= {"Tech", "LUNATIC", "Try to keep the\nBack-to-Back chain!"},
["tech_l_plus"]= {"Tech", "LUNATIC+", "Spins & PCs only."},
["tech_finesse"]= {"Tech", "FINESSE", "No finesse faults!"},
["tech_finesse_f"]= {"Tech", "FINESSE+", "No normal clears and finesse faults!"},
["tsd_e"]= {"TSD Challenge", "EASY", "T-Spin Doubles only!"},
["tsd_h"]= {"TSD Challenge", "HARD", "T-Spin Doubles only!"},
["tsd_u"]= {"TSD Challenge", "ULTIMATE", "T-Spin Doubles only!"},
["backfire_n"]= {"Backfire", "NORMAL", "Hold back the backfiring garbage lines."},
["backfire_h"]= {"Backfire", "HARD", "Hold back the backfiring garbage lines."},
["backfire_l"]= {"Backfire", "LUNATIC", "Hold back the backfiring garbage lines."},
["backfire_u"]= {"Backfire", "ULTIMATE", "Hold back the backfiring garbage lines."},
["zen"]= {"Zen", "200", "A 200-line run without a time limit."},
["ultra"]= {"Ultra", "EXTRA", "A 2-minute score attack."},
["infinite"]= {"Infinite", "", "It's just a sandbox."},
["infinite_dig"]= {"Infinite: Dig", "", "Dig-diggi-dug."},
["sprintFix"]= {"Sprint", "NO LEFT/RIGHT"},
["sprintLock"]= {"Sprint", "NO ROTATIONS"},
["marathon_bfmax"]= {"Marathon", "ULTIMATE"},
["custom_clear"]= {"Custom", "NORMAL"},
["custom_puzzle"]= {"Custom", "PUZZLE"},
['sprint_10l']= {"Sprint", "10L", "Clear 10 lines!"},
['sprint_20l']= {"Sprint", "20L", "Clear 20 lines!"},
['sprint_40l']= {"Sprint", "40L", "Clear 40 lines!"},
['sprint_100l']= {"Sprint", "100L", "Clear 100 lines!"},
['sprint_400l']= {"Sprint", "400L", "Clear 400 lines!"},
['sprint_1000l']= {"Sprint", "1000L", "Clear 1000 lines!"},
['sprintPenta']= {"Sprint", "PENTOMINO", "40L with 18 pentominoes."},
['sprintMPH']= {"Sprint", "MPH", "Memoryless\nPreviewless\nHoldless"},
['dig_10l']= {"Dig", "10L", "Dig 10 garbage lines."},
['dig_40l']= {"Dig", "40L", "Dig 40 garbage lines."},
['dig_100l']= {"Dig", "100L", "Dig 100 garbage lines."},
['dig_400l']= {"Dig", "400L", "Dig 400 garbage lines."},
['dig_1000l']= {"Dig", "1000L", "Dig 1000 garbage lines."},
['drought_n']= {"Drought", "100L", "There are no I-pieces."},
['drought_l']= {"Drought", "100L", "W T F"},
['marathon_n']= {"Marathon", "NORMAL", "200-line marathon with accelerating speed."},
['marathon_h']= {"Marathon", "HARD", "200-line high-speed marathon."},
['solo_e']= {"Battle", "EASY", "Defeat the AI!"},
['solo_n']= {"Battle", "NORMAL", "Defeat the AI!"},
['solo_h']= {"Battle", "HARD", "Defeat the AI!"},
['solo_l']= {"Battle", "LUNATIC", "Defeat the AI!"},
['solo_u']= {"Battle", "ULTIMATE", "Defeat the AI!"},
['techmino49_e']= {"Tech 49", "EASY", "49-player battle.\nThe last one standing wins."},
['techmino49_h']= {"Tech 49", "HARD", "49-player battle.\nThe last one standing wins."},
['techmino49_u']= {"Tech 49", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
['techmino99_e']= {"Tech 99", "EASY", "99-player battle.\nThe last one standing wins."},
['techmino99_h']= {"Tech 99", "HARD", "99-player battle.\nThe last one standing wins."},
['techmino99_u']= {"Tech 99", "ULTIMATE", "99-player battle.\nThe last one standing wins."},
['round_e']= {"Turn-Based", "EASY", "Chess mode"},
['round_n']= {"Turn-Based", "NORMAL", "Chess mode"},
['round_h']= {"Turn-Based", "HARD", "Chess mode"},
['round_l']= {"Turn-Based", "LUNATIC", "Chess mode"},
['round_u']= {"Turn-Based", "ULTIMATE", "Chess mode"},
['master_beginner']= {"Master", "LUNATIC", "For 20G beginners."},
['master_advance']= {"Master", "ULTIMATE", "For 20G pros."},
['master_final']= {"Master", "FINAL", "20G and beyond."},
['master_phantasm']= {"Master", "PHANTASM", "???"},
['master_extra']= {"GrandMaster", "EXTRA", "An eternity shorter than an instant."},
['rhythm_e']= {"Rhythm", "EASY", "200-line low-BPM rhythm marathon."},
['rhythm_h']= {"Rhythm", "HARD", "200-line medium BPM rhythm marathon"},
['rhythm_u']= {"Rhythm", "ULTIMATE", "200-line high-BPM rhythm marathon."},
['blind_e']= {"Blind", "HALF", "For novices."},
['blind_n']= {"Blind", "ALL", "For intermediates."},
['blind_h']= {"Blind", "SUDDEN", "For the experienced."},
['blind_l']= {"Blind", "SUDDEN+", "For professionals."},
['blind_u']= {"Blind", "?", "Are you ready?"},
['blind_wtf']= {"Blind", "WTF", "You're not ready."},
['classic_fast']= {"Classic", "CTWC", "High-speed classic mode."},
['survivor_e']= {"Survivor", "EASY", "How long can you survive?"},
['survivor_n']= {"Survivor", "NORMAL", "How long can you survive?"},
['survivor_h']= {"Survivor", "HARD", "How long can you survive?"},
['survivor_l']= {"Survivor", "LUNATIC", "How long can you survive?"},
['survivor_u']= {"Survivor", "ULTIMATE", "How long can you survive?"},
['attacker_h']= {"Attacker", "HARD", "Practice Offense!"},
['attacker_u']= {"Attacker", "ULTIMATE", "Practice Offense!"},
['defender_n']= {"Defender", "NORMAL", "Practice Defense!"},
['defender_l']= {"Defender", "LUNATIC", "Practice Defense!"},
['dig_h']= {"Driller", "HARD", "Digging practice!"},
['dig_u']= {"Driller", "ULTIMATE", "Digging practice!"},
['bigbang']= {"Big Bang", "EASY", "All-spin tutorial!\n[Under construction]"},
['c4wtrain_n']= {"C4W Training", "NORMAL", "Infinite combos."},
['c4wtrain_l']= {"C4W Training", "LUNATIC", "Infinite combos."},
['pctrain_n']= {"PC Training", "NORMAL", "Perfect Clear Practice."},
['pctrain_l']= {"PC Training", "LUNATIC", "Harder Perfect Clear Practice."},
['pc_n']= {"PC Challenge", "NORMAL", "Get PCs within 100 lines!"},
['pc_h']= {"PC Challenge", "HARD", "Get PCs within 100 lines!"},
['pc_l']= {"PC Challenge", "LUNATIC", "Get PCs within 100 lines!"},
['tech_n']= {"Tech", "NORMAL", "Try to keep the\nBack-to-Back chain!"},
['tech_n_plus']= {"Tech", "NORMAL+", "Spins & PCs only."},
['tech_h']= {"Tech", "HARD", "Try to keep the\nBack-to-Back chain!"},
['tech_h_plus']= {"Tech", "HARD+", "Spins & PCs only."},
['tech_l']= {"Tech", "LUNATIC", "Try to keep the\nBack-to-Back chain!"},
['tech_l_plus']= {"Tech", "LUNATIC+", "Spins & PCs only."},
['tech_finesse']= {"Tech", "FINESSE", "No finesse faults!"},
['tech_finesse_f']= {"Tech", "FINESSE+", "No normal clears and finesse faults!"},
['tsd_e']= {"TSD Challenge", "EASY", "T-Spin Doubles only!"},
['tsd_h']= {"TSD Challenge", "HARD", "T-Spin Doubles only!"},
['tsd_u']= {"TSD Challenge", "ULTIMATE", "T-Spin Doubles only!"},
['backfire_n']= {"Backfire", "NORMAL", "Hold back the backfiring garbage lines."},
['backfire_h']= {"Backfire", "HARD", "Hold back the backfiring garbage lines."},
['backfire_l']= {"Backfire", "LUNATIC", "Hold back the backfiring garbage lines."},
['backfire_u']= {"Backfire", "ULTIMATE", "Hold back the backfiring garbage lines."},
['zen']= {'Zen', "200", "A 200-line run without a time limit."},
['ultra']= {'Ultra', "EXTRA", "A 2-minute score attack."},
['infinite']= {'infinite', "", "It's just a sandbox."},
['infinite_dig']= {"Infinite: Dig", "", "Dig-diggi-dug."},
['sprintFix']= {"Sprint", "NO LEFT/RIGHT"},
['sprintLock']= {"Sprint", "NO ROTATIONS"},
['marathon_bfmax']= {"Marathon", "ULTIMATE"},
['custom_clear']= {"Custom", "NORMAL"},
['custom_puzzle']= {"Custom", "PUZZLE"},
},
getTip={refuseCopy=true,
'Free-to-play block stacking game with a Battle Royale mode!',