Skip to content

Commit

Permalink
Add dance threepanel support to customize gameplay
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 13, 2019
1 parent a2b9aeb commit 567f4ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Themes/Til Death/Scripts/01 player_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ local defaultConfig = {
CustomEvaluationWindowTimings = false,
PracticeMode = false,
GameplayXYCoordinates = {
["3K"] = DeepCopy(defaultGameplayCoordinates),
["4K"] = DeepCopy(defaultGameplayCoordinates),
["5K"] = DeepCopy(defaultGameplayCoordinates),
["6K"] = DeepCopy(defaultGameplayCoordinates),
Expand All @@ -106,6 +107,7 @@ local defaultConfig = {
["16K"] = DeepCopy(defaultGameplayCoordinates)
},
GameplaySizes = {
["3K"] = DeepCopy(defaultGameplaySizes),
["4K"] = DeepCopy(defaultGameplaySizes),
["5K"] = DeepCopy(defaultGameplaySizes),
["6K"] = DeepCopy(defaultGameplaySizes),
Expand All @@ -128,6 +130,7 @@ playerConfig.load = function(self, slot)
local coords = x.GameplayXYCoordinates
local sizes = x.GameplaySizes
if sizes and not sizes["4K"] then
defaultConfig.GameplaySizes["3K"] = sizes
defaultConfig.GameplaySizes["4K"] = sizes
defaultConfig.GameplaySizes["5K"] = sizes
defaultConfig.GameplaySizes["6K"] = sizes
Expand All @@ -139,6 +142,7 @@ playerConfig.load = function(self, slot)

end
if coords and not coords["4K"] then
defaultConfig.GameplayXYCoordinates["3K"] = coords
defaultConfig.GameplayXYCoordinates["4K"] = coords
defaultConfig.GameplayXYCoordinates["5K"] = coords
defaultConfig.GameplayXYCoordinates["6K"] = coords
Expand Down
1 change: 1 addition & 0 deletions Themes/_fallback/Scripts/00 Utility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ end
-- @treturn string keymode
function getCurrentKeyMode()
local keys = {
StepsType_Dance_Threepanel = "3K",
StepsType_Dance_Single = "4K",
StepsType_Pump_Single = "5K",
StepsType_Pump_Halfdouble = "6K",
Expand Down

0 comments on commit 567f4ec

Please sign in to comment.