Skip to content

Commit 2e5a093

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

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

items/misc.lua

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,9 @@ local glass_edition = {
10731073
end
10741074

10751075
if
1076-
context.cardarea == G.jokers and context.post_trigger and context.other_card == card --animation-wise this looks weird sometimes
1076+
context.cardarea == G.jokers
1077+
and context.post_trigger
1078+
and context.other_card == card --animation-wise this looks weird sometimes
10771079
then
10781080
if
10791081
not card.ability.eternal
@@ -1191,10 +1193,12 @@ local gold_edition = {
11911193
(
11921194
context.post_trigger -- for when on jonklers
11931195
and context.other_card == card
1194-
) or (
1196+
)
1197+
or (
11951198
context.main_scoring -- for when on playing cards
11961199
and context.cardarea == G.play
1197-
) or (
1200+
)
1201+
or (
11981202
context.using_consumeable -- for when using a consumable
11991203
and context.consumeable == card
12001204
)

items/misc_joker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ local hunger = {
19431943
return { vars = { center.ability.extra.money } }
19441944
end,
19451945
calculate = function(self, card, context) -- haha one liner
1946-
return context.using_consumeable and {p_dollars = card.ability.extra.money}
1946+
return context.using_consumeable and { p_dollars = card.ability.extra.money }
19471947
end,
19481948
cry_credits = {
19491949
idea = {

0 commit comments

Comments
 (0)