Skip to content

Commit d82fd0f

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 0188c02 commit d82fd0f

File tree

1 file changed

+23
-27
lines changed

1 file changed

+23
-27
lines changed

items/voucher.lua

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -368,33 +368,29 @@ local satellite_uplink = { -- Code T2; Code cards may appear in any of the Celes
368368

369369
--i removed the patch as it didnt do anything and its not needed
370370
--mainly just took from vanillaremade
371-
SMODS.Booster:take_ownership_by_kind('Celestial', {
372-
create_card = function(self, card, i)
373-
local _card
374-
if (G.GAME.used_vouchers.v_cry_satellite_uplink and pseudorandom('satellite_uplink') > 0.8) then
375-
_card = {
376-
set = "Code",
377-
area = G.pack_cards,
378-
skip_materialize = true,
379-
soulable = true,
380-
key_append =
381-
"pl2"
382-
}
383-
else
384-
_card = {
385-
set = "Planet",
386-
area = G.pack_cards,
387-
skip_materialize = true,
388-
soulable = true,
389-
key_append =
390-
"pl1"
391-
}
392-
end
393-
return _card
394-
end,
395-
},
396-
true
397-
)
371+
SMODS.Booster:take_ownership_by_kind("Celestial", {
372+
create_card = function(self, card, i)
373+
local _card
374+
if G.GAME.used_vouchers.v_cry_satellite_uplink and pseudorandom("satellite_uplink") > 0.8 then
375+
_card = {
376+
set = "Code",
377+
area = G.pack_cards,
378+
skip_materialize = true,
379+
soulable = true,
380+
key_append = "pl2",
381+
}
382+
else
383+
_card = {
384+
set = "Planet",
385+
area = G.pack_cards,
386+
skip_materialize = true,
387+
soulable = true,
388+
key_append = "pl1",
389+
}
390+
end
391+
return _card
392+
end,
393+
}, true)
398394

399395
-- Tier 3 Vouchers
400396
local overstock_multi = { -- Overstock T3; +1 card slot, +1 booster pack slot and +1 voucher slot available in the shop

0 commit comments

Comments
 (0)