Skip to content

Commit d55d040

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent a1ccfad commit d55d040

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

lib/content.lua

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -547,22 +547,21 @@ SMODS.Sound({
547547
key = "music_code",
548548
path = "music_code.ogg",
549549
select_music_track = function()
550-
return (Cryptid_config.Cryptid
550+
return (
551+
Cryptid_config.Cryptid
551552
and Cryptid_config.Cryptid.code_music
552553
and (
553-
-- in a code pack
554-
(
554+
-- in a code pack
555+
(
555556
G.booster_pack
556557
and not G.booster_pack.REMOVED
557558
and SMODS.OPENED_BOOSTER
558559
and SMODS.OPENED_BOOSTER.config.center.kind == "Code"
559560
)
560561
-- using a code card
561-
or (
562-
G.GAME
563-
and G.GAME.USING_CODE
564-
)
565-
)) and 100
562+
or (G.GAME and G.GAME.USING_CODE)
563+
)
564+
) and 100
566565
end,
567566
})
568567
SMODS.Sound({
@@ -586,12 +585,14 @@ SMODS.Sound({
586585
path = "music_exotic.ogg",
587586
volume = 0.4,
588587
select_music_track = function()
589-
return (Cryptid_config.Cryptid
588+
return (
589+
Cryptid_config.Cryptid
590590
and Cryptid_config.Cryptid.exotic_music
591-
and #Cryptid.advanced_find_joker(nil, "cry_exotic", nil, nil, true) ~= 0)
592-
and 100.002
591+
and #Cryptid.advanced_find_joker(nil, "cry_exotic", nil, nil, true) ~= 0
592+
) and 100.002
593593
end,
594-
})SMODS.Sound({
594+
})
595+
SMODS.Sound({
595596
key = "music_mainline",
596597
path = "music_mainline.ogg",
597598
volume = 0.7,

0 commit comments

Comments
 (0)