Skip to content

Commit 7354408

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 4b618cb commit 7354408

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

items/misc_joker.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ local happyhouse = {
144144
if
145145
card.ability.extra.check == 114
146146
and G.GAME.round_resets.ante < 8
147-
and not (
148-
G.GAME.selected_back.effect.center.key == "antimatter"
149-
or G.GAME.selected_back.effect.center.key == "equilibrium"
150-
)
151-
and (not CardSleeves
152-
or (CardSleeves
153-
and G.GAME.selected_sleeve
154-
-- and G.GAME.selected_sleeve ~= "sleeve_cry_antimatter_sleeve" TODO: Add check if Antimatter sleeve gets added
155-
and G.GAME.selected_sleeve ~= "sleeve_cry_equilibrium_sleeve")
147+
and not (G.GAME.selected_back.effect.center.key == "antimatter" or G.GAME.selected_back.effect.center.key == "equilibrium")
148+
and (
149+
not CardSleeves
150+
or (
151+
CardSleeves
152+
and G.GAME.selected_sleeve
153+
-- and G.GAME.selected_sleeve ~= "sleeve_cry_antimatter_sleeve" TODO: Add check if Antimatter sleeve gets added
154+
and G.GAME.selected_sleeve ~= "sleeve_cry_equilibrium_sleeve"
155+
)
156156
)
157157
then --Yes, the cut off point is boss blind Ante 7. I'm evil >:3.
158158
check_for_unlock({ type = "home_realtor" })

items/spectral.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,13 +714,13 @@ local ritual = {
714714
pos = { x = 5, y = 1 },
715715
can_use = function(self, card)
716716
if card.area ~= G.hand then
717-
return G.hand and (#G.hand.highlighted == 1) and G.hand.highlighted[1] and (not G.hand.highlighted[1].edition)
717+
return G.hand and (#G.hand.highlighted == 1) and G.hand.highlighted[1] and not G.hand.highlighted[1].edition
718718
else
719719
local idx = 1
720720
if G.hand.highlighted[1] == card then
721721
idx = 2
722722
end
723-
return (#G.hand.highlighted == 2) and (not G.hand.highlighted[idx].edition)
723+
return (#G.hand.highlighted == 2) and not G.hand.highlighted[idx].edition
724724
end
725725
end,
726726
use = function(self, card, area, copier)

0 commit comments

Comments
 (0)