Skip to content

Commit 3790ac2

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 71a605a commit 3790ac2

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

items/code.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3035,7 +3035,7 @@ local declare = {
30353035
declare_name = G.ENTERED_CARD,
30363036
level = 1,
30373037
index = G.GAME.DECLARE_USED or 0,
3038-
suitless = suitless
3038+
suitless = suitless,
30393039
}
30403040
end
30413041
local localize_ref = localize
@@ -3047,7 +3047,7 @@ local declare = {
30473047
end
30483048
if second == "poker_hand_descriptions" then
30493049
if G and G.GAME and G.GAME.hands[first] and G.GAME.hands[first].suitless then
3050-
return localize_ref(first.."_suitless", second, ...)
3050+
return localize_ref(first .. "_suitless", second, ...)
30513051
end
30523052
end
30533053
return localize_ref(first, second, ...)

lib/content.lua

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,12 @@ SMODS.PokerHand({
293293
mult = 0,
294294
l_chips = 0,
295295
l_mult = 0,
296-
example = {
297-
},
296+
example = {},
298297
atlas = "poker_hands",
299298
pos = { x = 0, y = 0 },
300299
above_hand = "cry_UltPair",
301300
order_offset = 1000,
302-
evaluate = function(parts, hand)
303-
304-
end,
301+
evaluate = function(parts, hand) end,
305302
})
306303
SMODS.PokerHand({
307304
key = "Declare1",
@@ -310,15 +307,12 @@ SMODS.PokerHand({
310307
mult = 0,
311308
l_chips = 0,
312309
l_mult = 0,
313-
example = {
314-
},
310+
example = {},
315311
atlas = "poker_hands",
316312
pos = { x = 0, y = 0 },
317313
above_hand = "cry_UltPair",
318314
order_offset = 1001,
319-
evaluate = function(parts, hand)
320-
321-
end,
315+
evaluate = function(parts, hand) end,
322316
})
323317
SMODS.PokerHand({
324318
key = "Declare2",
@@ -327,15 +321,12 @@ SMODS.PokerHand({
327321
mult = 0,
328322
l_chips = 0,
329323
l_mult = 0,
330-
example = {
331-
},
324+
example = {},
332325
atlas = "poker_hands",
333326
pos = { x = 0, y = 0 },
334327
above_hand = "cry_UltPair",
335328
order_offset = 1002,
336-
evaluate = function(parts, hand)
337-
338-
end,
329+
evaluate = function(parts, hand) end,
339330
})
340331

341332
SMODS.Rarity({

localization/en-us.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4886,9 +4886,9 @@ return {
48864886
["cry_Declare1"] = { "Always counts as a Flush" },
48874887
["cry_Declare2"] = { "Always counts as a Full House" },
48884888

4889-
["cry_Declare0_suitless"] = { "Always counts as a Straight","Hand does not need specific suits" },
4890-
["cry_Declare1_suitless"] = { "Always counts as a Flush","Hand does not need specific suits" },
4891-
["cry_Declare2_suitless"] = { "Always counts as a Full House","Hand does not need specific suits" },
4889+
["cry_Declare0_suitless"] = { "Always counts as a Straight", "Hand does not need specific suits" },
4890+
["cry_Declare1_suitless"] = { "Always counts as a Flush", "Hand does not need specific suits" },
4891+
["cry_Declare2_suitless"] = { "Always counts as a Full House", "Hand does not need specific suits" },
48924892
},
48934893
achievement_names = {
48944894
ach_cry_ace_in_crash = "Pocket ACE",

0 commit comments

Comments
 (0)