Skip to content

Commit 2e4f08d

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent dfaffd6 commit 2e4f08d

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

items/deck.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,7 @@ local antimatter = {
686686
if context.context ~= "final_scoring_step" then
687687
Cryptid.antimatter_trigger(self, context, false)
688688
else
689-
return Cryptid.antimatter_trigger_final_scoring(
690-
self,
691-
context,
692-
false
693-
)
689+
return Cryptid.antimatter_trigger_final_scoring(self, context, false)
694690
end
695691
end,
696692
apply = function(self)

items/epic.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,10 +1785,7 @@ local altgoogol = {
17851785
end,
17861786
calculate = function(self, card, context)
17871787
local gameset = Card.get_gameset(card)
1788-
if
1789-
(context.selling_self and not context.retrigger_joker and not context.blueprint)
1790-
or context.forcetrigger
1791-
then
1788+
if (context.selling_self and not context.retrigger_joker and not context.blueprint) or context.forcetrigger then
17921789
local jokers = {}
17931790
for i = 1, #G.jokers.cards do
17941791
if G.jokers.cards[i] ~= card then

items/misc_joker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8596,7 +8596,7 @@ local astral_bottle = {
85968596
},
85978597
},
85988598
name = "cry-astral_bottle",
8599-
extra_gamesets = { "exp_modest", "exp_mainline"},
8599+
extra_gamesets = { "exp_modest", "exp_mainline" },
86008600
key = "astral_bottle",
86018601
eternal_compat = false,
86028602
pos = { x = 7, y = 0 },

lib/overrides.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,9 +753,7 @@ function SMODS.create_mod_badges(obj, badges)
753753
end
754754
badges[#badges + 1] = create_badge(
755755
card_type,
756-
set == "modest" and G.C.GREEN
757-
or set == "mainline" and G.C.PURPLE
758-
or G.C.CRY_ASCENDANT
756+
set == "modest" and G.C.GREEN or set == "mainline" and G.C.PURPLE or G.C.CRY_ASCENDANT
759757
)
760758
end
761759
end

0 commit comments

Comments
 (0)