Skip to content

Commit 7ce999c

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 4662fed commit 7ce999c

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

items/misc.lua

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,8 @@ local oversat = {
817817
on_apply = function(card)
818818
if not card.ability.cry_oversat then
819819
Cryptid.manipulate(card, {
820-
value = 2,
821-
}, nil, true)
820+
value = 2,
821+
}, nil, true)
822822
if card.config.center.apply_oversat then
823823
card.config.center:apply_oversat(card, function(val)
824824
return Cryptid.misprintize_val(val, {
@@ -831,8 +831,8 @@ local oversat = {
831831
card.ability.cry_oversat = true
832832
end,
833833
on_remove = function(card)
834-
Cryptid.manipulate(card, { value = 1 / 2 })
835-
Cryptid.manipulate(card) -- Correct me if i'm wrong but this is for misprint deck. or atleast it is after this patch
834+
Cryptid.manipulate(card, { value = 1 / 2 })
835+
Cryptid.manipulate(card) -- Correct me if i'm wrong but this is for misprint deck. or atleast it is after this patch
836836
card.ability.cry_oversat = nil
837837
end,
838838
init = function(self)
@@ -936,10 +936,10 @@ local glitched = {
936936
-- Note: Duping playing cards resets the base chips for some reason
937937
on_apply = function(card)
938938
if not card.ability.cry_glitched then
939-
Cryptid.manipulate(card, {
940-
min = 0.1,
941-
max = 10,
942-
})
939+
Cryptid.manipulate(card, {
940+
min = 0.1,
941+
max = 10,
942+
})
943943

944944
if card.config.center.apply_glitched then
945945
card.config.center:apply_glitched(card, function(val)
@@ -954,8 +954,8 @@ local glitched = {
954954
card.ability.cry_glitched = true
955955
end,
956956
on_remove = function(card)
957-
Cryptid.manipulate(card, { min = 1, max = 1, dont_stack = true })
958-
Cryptid.manipulate(card) -- Correct me if i'm wrong but this is for misprint deck. or atleast it is after this patch
957+
Cryptid.manipulate(card, { min = 1, max = 1, dont_stack = true })
958+
Cryptid.manipulate(card) -- Correct me if i'm wrong but this is for misprint deck. or atleast it is after this patch
959959
card.ability.cry_glitched = nil
960960
end,
961961
init = function(self)

items/sleeve.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ if CardSleeves then
185185
if context.context == "eval" and Cryptid.safe_get(G.GAME, "last_blind", "boss") then
186186
for i = 1, #G.jokers.cards do
187187
if not Card.no(G.jokers.cards[i], "immutable", true) then
188-
Cryptid.manipulate(G.jokers.cards[i], { value = 1.25 })
188+
Cryptid.manipulate(G.jokers.cards[i], { value = 1.25 })
189189
end
190190
end
191191
end
@@ -618,7 +618,7 @@ if CardSleeves then
618618
if context.context == "eval" and Cryptid.safe_get(G.GAME, "last_blind", "boss") then
619619
for i = 1, #G.jokers.cards do
620620
if not Card.no(G.jokers.cards[i], "immutable", true) then
621-
Cryptid.manipulate(G.jokers.cards[i], { value = 1.25 })
621+
Cryptid.manipulate(G.jokers.cards[i], { value = 1.25 })
622622
end
623623
end
624624
end
@@ -1435,7 +1435,7 @@ if CardSleeves then
14351435
or skip
14361436
then
14371437
for i = 1, #G.jokers.cards do
1438-
Cryptid.manipulate(G.jokers.cards[i], { value = 1.25 })
1438+
Cryptid.manipulate(G.jokers.cards[i], { value = 1.25 })
14391439
end
14401440
end
14411441

items/spooky.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,12 +1571,12 @@ local jawbreaker = {
15711571
if G.jokers.cards[i] == card then
15721572
if i > 1 then
15731573
if not Card.no(G.jokers.cards[i - 1], "immutable", true) then
1574-
Cryptid.manipulate(G.jokers.cards[i - 1], { value = 2 })
1574+
Cryptid.manipulate(G.jokers.cards[i - 1], { value = 2 })
15751575
end
15761576
end
15771577
if i < #G.jokers.cards then
15781578
if not Card.no(G.jokers.cards[i + 1], "immutable", true) then
1579-
Cryptid.manipulate(G.jokers.cards[i + 1], { value = 2 })
1579+
Cryptid.manipulate(G.jokers.cards[i + 1], { value = 2 })
15801580
end
15811581
end
15821582
end
@@ -1612,12 +1612,12 @@ local jawbreaker = {
16121612
if G.jokers.cards[i] == card then
16131613
if i > 1 then
16141614
if not Card.no(G.jokers.cards[i - 1], "immutable", true) then
1615-
Cryptid.manipulate(G.jokers.cards[i - 1], { value = 2 })
1615+
Cryptid.manipulate(G.jokers.cards[i - 1], { value = 2 })
16161616
end
16171617
end
16181618
if i < #G.jokers.cards then
16191619
if not Card.no(G.jokers.cards[i + 1], "immutable", true) then
1620-
Cryptid.manipulate(G.jokers.cards[i + 1], { value = 2 })
1620+
Cryptid.manipulate(G.jokers.cards[i + 1], { value = 2 })
16211621
end
16221622
end
16231623
end

lib/misprintize.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ function Card:get_nominal(mod)
398398
end
399399

400400
function Cryptid.manipulate(card, args)
401-
if not Card.no(card, "immutable", true) or args.bypass_checks then
401+
if not Card.no(card, "immutable", true) or args.bypass_checks then
402402
if not args then
403403
return Cryptid.manipulate(card, {
404404
min = G.GAME.modifiers.cry_misprint_min,

0 commit comments

Comments
 (0)