Skip to content

Commit 18af3f6

Browse files
Merge branch 'main' into shinytags
2 parents 8f2dda9 + 4bb043e commit 18af3f6

File tree

16 files changed

+4549
-139
lines changed

16 files changed

+4549
-139
lines changed

Cryptid.lua

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
--- MOD_DESCRIPTION: Adds unbalanced ideas to Balatro.
77
--- BADGE_COLOUR: 708b91
88
--- DEPENDENCIES: [Talisman>=2.0.9, Steamodded>=1.0.0~ALPHA-1312c]
9-
--- VERSION: 0.5.4~dev23
9+
--- VERSION: 0.5.4
1010
--- PRIORITY: 2147483647
1111

1212
----------------------------------------------
@@ -226,6 +226,7 @@ local cryptidConfigTab = function()
226226
config = { n = G.UIT.R, config = { align = "tm", padding = 0 }, nodes = { left_settings, right_settings } }
227227
cry_nodes[#cry_nodes + 1] = config
228228
cry_nodes[#cry_nodes + 1] = UIBox_button({
229+
colour = G.C.CRY_GREENGRADIENT,
229230
button = "your_collection_content_sets",
230231
label = { localize("b_content_sets") },
231232
count = modsCollectionTally(G.P_CENTER_POOLS["Content Set"]),
@@ -237,18 +238,31 @@ local cryptidConfigTab = function()
237238
--Add warning notifications later for family mode
238239
cry_nodes[#cry_nodes + 1] = create_toggle({
239240
label = localize("cry_family"),
240-
active_colour = G.C.MONEY,
241+
active_colour = HEX("40c76d"),
241242
ref_table = Cryptid_config,
242243
ref_value = "family_mode",
243244
callback = reload_cryptid_localization,
244245
})
245246
cry_nodes[#cry_nodes + 1] = create_toggle({
246247
label = localize("cry_experimental"),
247-
active_colour = G.C.MONEY,
248+
active_colour = HEX("1f8505"),
248249
ref_table = Cryptid_config,
249250
ref_value = "experimental",
250251
})
252+
cry_nodes[#cry_nodes + 1] = create_toggle({
253+
label = localize("cry_feat_https module"),
254+
active_colour = HEX("b1c78d"),
255+
ref_table = Cryptid_config,
256+
ref_value = "HTTPS",
257+
})
258+
cry_nodes[#cry_nodes + 1] = create_toggle({
259+
label = localize("cry_feat_menu"),
260+
active_colour = HEX("1c5c23"),
261+
ref_table = Cryptid_config,
262+
ref_value = "menu",
263+
})
251264
cry_nodes[#cry_nodes + 1] = UIBox_button({
265+
colour = G.C.CRY_ALTGREENGRADIENT,
252266
button = "reset_gameset_config",
253267
label = { localize("b_reset_gameset_" .. (G.PROFILES[G.SETTINGS.profile].cry_gameset or "mainline")) },
254268
minw = 5,
@@ -292,26 +306,31 @@ local cryptidTabs = function()
292306
}
293307
settings = { n = G.UIT.C, config = { align = "tl", padding = 0.05 }, nodes = {} }
294308
settings.nodes[#settings.nodes + 1] = create_toggle({
309+
active_colour = G.C.CRY_JOLLY,
295310
label = localize("cry_mus_jimball"),
296311
ref_table = Cryptid_config.Cryptid,
297312
ref_value = "jimball_music",
298313
})
299314
settings.nodes[#settings.nodes + 1] = create_toggle({
315+
active_colour = G.C.CRY_JOLLY,
300316
label = localize("cry_mus_code"),
301317
ref_table = Cryptid_config.Cryptid,
302318
ref_value = "code_music",
303319
})
304320
settings.nodes[#settings.nodes + 1] = create_toggle({
321+
active_colour = G.C.CRY_JOLLY,
305322
label = localize("cry_mus_exotic"),
306323
ref_table = Cryptid_config.Cryptid,
307324
ref_value = "exotic_music",
308325
})
309326
settings.nodes[#settings.nodes + 1] = create_toggle({
327+
active_colour = G.C.CRY_JOLLY,
310328
label = localize("cry_mus_high_score"),
311329
ref_table = Cryptid_config.Cryptid,
312330
ref_value = "big_music",
313331
})
314332
settings.nodes[#settings.nodes + 1] = create_toggle({
333+
active_colour = G.C.CRY_JOLLY,
315334
label = localize("cry_mus_alt_bg"),
316335
ref_table = Cryptid_config.Cryptid,
317336
ref_value = "alt_bg_music",

assets/1x/atlasexotic.png

11.2 KB
Loading

assets/1x/c_cry_code.png

4.82 KB
Loading

assets/1x/sticker_cry.png

-11.5 KB
Loading

assets/2x/atlasexotic.png

-52.3 KB
Loading

assets/2x/c_cry_code.png

10.2 KB
Loading

assets/2x/sticker_cry.png

-34.1 KB
Loading

config.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ return {
88
},
99
["family_mode"] = false,
1010
["experimental"] = false,
11+
["HTTPS"] = false,
12+
["menu"] = false,
1113
}

items/exotic.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ local universum = {
136136
end,
137137
cry_credits = {
138138
idea = { "Ein13" },
139-
art = { "Ein13/hydrogenperoxiide" },
139+
art = { "Ein13", "hydrogenperoxiide" },
140140
},
141141
init = function(self)
142142
--Universum Patches
@@ -1169,7 +1169,7 @@ local energia = {
11691169
end,
11701170
cry_credits = {
11711171
idea = { "jenwalter666" },
1172-
art = { "Kailen" },
1172+
art = { "unexian" },
11731173
code = { "Math" },
11741174
},
11751175
}
@@ -1493,7 +1493,7 @@ local items = {
14931493
--verisimile, WHY IS THIS AN EXOTIC????????????????????
14941494
--rescribere, [NEEDS REFACTOR]
14951495
duplicare,
1496-
--formidiulosus
1496+
formidiulosus,
14971497
}
14981498
return {
14991499
name = "Exotic Jokers",

items/misc_joker.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ local potofjokes = {
262262
end,
263263
calculate = function(self, card, context)
264264
if context.end_of_round and not context.individual and not context.repetition and not context.blueprint then
265-
G.hand:change_size(math.min(1000 - card.ability.extra.h_size, card.ability.extra.h_mod))
265+
G.hand:change_size(math.min(math.max(0, 1000 - card.ability.extra.h_size), card.ability.extra.h_mod))
266266
card.ability.extra.h_size = card.ability.extra.h_size + card.ability.extra.h_mod
267267
return {
268268
message = localize({ type = "variable", key = "a_handsize", vars = { card.ability.extra.h_mod } }),
@@ -387,7 +387,7 @@ local wee_fib = {
387387
calculate = function(self, card, context)
388388
if context.cardarea == G.play and context.individual and not context.blueprint then
389389
local rank = context.other_card:get_id()
390-
if rank == "Ace" or rank == "2" or rank == "3" or rank == "5" or rank == "8" then
390+
if rank == 14 or rank == 2 or rank == 3 or rank == 5 or rank == 8 then
391391
card.ability.extra.mult = card.ability.extra.mult + card.ability.extra.mult_mod
392392

393393
return {
@@ -797,7 +797,7 @@ local triplet_rhythm = {
797797
if context.joker_main and context.scoring_hand then
798798
local threes = 0
799799
for i = 1, #context.scoring_hand do
800-
if context.scoring_hand[i]:get_id() then
800+
if context.scoring_hand[i]:get_id() == 3 then
801801
threes = threes + 1
802802
end
803803
end
@@ -1500,7 +1500,7 @@ local fspinner = {
15001500
return { vars = { center.ability.extra.chips, center.ability.extra.chip_mod } }
15011501
end,
15021502
rarity = 1,
1503-
cost = 6,
1503+
cost = 5,
15041504
order = 77,
15051505
blueprint_compat = true,
15061506
perishable_compat = false,
@@ -1759,9 +1759,9 @@ local gardenfork = {
17591759
calculate = function(self, card, context)
17601760
if context.cardarea == G.jokers and context.before and not context.blueprint then
17611761
for i = 1, #context.full_hand do
1762-
if context.other_card:get_id() == 14 then
1762+
if context.scoring_hand[i]:get_id() == 14 then
17631763
for j = 1, #context.full_hand do
1764-
if context.other_card:get_id() == 7 then -- :( ekshpenshive
1764+
if context.scoring_hand[j]:get_id() == 7 then -- :( ekshpenshive
17651765
ease_dollars(card.ability.extra.money)
17661766
return { message = "$" .. card.ability.extra.money, colour = G.C.MONEY }
17671767
end
@@ -7016,8 +7016,8 @@ local cookie = {
70167016
rarity = 1,
70177017
cost = 4,
70187018
atlas = "atlastwo",
7019-
order = 129,
7020-
config = { extra = { chips = 150, chip_mod = 1 } },
7019+
order = 133,
7020+
config = { extra = { chips = 200, chip_mod = 1 } },
70217021
blueprint_compat = true,
70227022
eternal_compat = false,
70237023
perishable_compat = false,

0 commit comments

Comments
 (0)