Skip to content

Commit 10096c4

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents c48b87e + 0f2cd72 commit 10096c4

28 files changed

+366
-246
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# LSP setting files (add more if applicable)
2+
.vscode/*
3+
.luarc.json

Cryptid.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
--- MOD_AUTHOR: [MathIsFun_, Cryptid and Balatro Discords]
66
--- MOD_DESCRIPTION: Adds unbalanced ideas to Balatro.
77
--- BADGE_COLOUR: 708b91
8-
--- DEPENDENCIES: [Talisman>=2.0.9, Steamodded>=1.0.0~ALPHA-1312c]
8+
--- DEPENDENCIES: [Talisman>=2.0.9, Steamodded>=1.0.0~BETA-0301a]
99
--- VERSION: 0.5.5~dev
1010
--- PRIORITY: 2147483647
1111

https/linux-https.so

-75.2 KB
Binary file not shown.

https/macos-https.so

-188 KB
Binary file not shown.

https/thread.lua

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,12 @@
11
require("love.system")
2-
3-
-- mac/linux support?
4-
5-
local script_path = debug.getinfo(1, "S").source:sub(2)
6-
local script_dir = script_path:match("(.*/)")
7-
8-
package.path = script_dir .. "?.lua;" .. package.path
9-
package.cpath = script_dir .. "?.so;" .. package.cpath
10-
11-
local index_os = love.system.getOS()
12-
13-
if index_os == "OS X" then
14-
loc_https = require("macos-https")
15-
elseif index_os == "Linux" then
16-
loc_https = require("linux-https")
17-
else
18-
loc_https = require("https")
19-
end
2+
-- Currently crashes, I think SMODS.https module isn't loaded in the thread
3+
loc_https = require("SMODS.https")
204

215
local last_update_time = 0
226
local initial = true
237
while true do
248
if (os.time() - last_update_time >= 60) or initial then
25-
initial = nil
9+
initial = false
2610
last_update_time = os.time()
2711
local resp, txt = loc_https.request(
2812
"https://discord.com/api/v10/invites/eUf9Ur6RyB?with_counts=true" .. "&v=" .. tostring(os.time())

items/code.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ local hooked = {
12071207
var = localize({ type = "name_text", set = "Joker", key = G.jokers.cards[i].config.center.key })
12081208
end
12091209
end
1210-
var = var or "[no joker found - " .. (card.hook_id or "nil") .. "]"
1210+
var = var or ("[no joker found - " .. (card.hook_id or "nil") .. "]")
12111211
end
12121212
return { vars = { var or "hooked Joker" } }
12131213
end,

items/epic.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1724,7 +1724,7 @@ local fleshpanopticon = {
17241724
card.gone = false
17251725
G.GAME.blind.chips = G.GAME.blind.chips * card.ability.extra.boss_size
17261726
G.GAME.blind.chip_text = number_format(G.GAME.blind.chips)
1727-
G.HUD_blind:recalculate(true)
1727+
G.HUD_blind:recalculate()
17281728
G.E_MANAGER:add_event(Event({
17291729
func = function()
17301730
G.E_MANAGER:add_event(Event({

items/m.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,10 @@ local bonk = {
490490
object_type = "Joker",
491491
name = "cry-bonk",
492492
key = "bonk",
493-
pools = { ["M"] = true },
493+
pools = { ["M"] = true, ["Meme"] = true },
494494
order = 256,
495495
pos = { x = 2, y = 2 },
496496
config = { extra = { chips = 6, bonus = 1, xchips = 3, type = "Pair" } },
497-
pools = { ["Meme"] = true },
498497
loc_vars = function(self, info_queue, center)
499498
info_queue[#info_queue + 1] = G.P_CENTERS.j_jolly
500499
return {

items/misc.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ local oversat = {
247247
return cry_misprintize_val(val, {
248248
min = 2,
249249
max = 2,
250-
}, is_card_big(card), true)
250+
}, is_card_big(card))
251251
end)
252252
end
253253
end,
@@ -347,7 +347,7 @@ local glitched = {
347347
return cry_misprintize_val(val, {
348348
min = 0.1 * (G.GAME.modifiers.cry_misprint_min or 1),
349349
max = 10 * (G.GAME.modifiers.cry_misprint_max or 1),
350-
}, is_card_big(card), true)
350+
}, is_card_big(card))
351351
end)
352352
end
353353
end,

items/misc_joker.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,6 @@ local fspinner = {
14981498
order = 77,
14991499
blueprint_compat = true,
15001500
perishable_compat = false,
1501-
atlas = "fspinner",
15021501
calculate = function(self, card, context)
15031502
if context.before and not context.blueprint then
15041503
local play_more_than = (G.GAME.hands[context.scoring_name].played or 0)
@@ -1753,9 +1752,9 @@ local gardenfork = {
17531752
calculate = function(self, card, context)
17541753
if context.cardarea == G.jokers and context.before then
17551754
for i = 1, #context.full_hand do
1756-
if context.scoring_hand[i]:get_id() == 14 then
1755+
if context.full_hand[i]:get_id() == 14 then
17571756
for j = 1, #context.full_hand do
1758-
if context.scoring_hand[j]:get_id() == 7 then -- :( ekshpenshive
1757+
if context.full_hand[j]:get_id() == 7 then -- :( ekshpenshive
17591758
ease_dollars(card.ability.extra.money)
17601759
return { message = "$" .. card.ability.extra.money, colour = G.C.MONEY }
17611760
end

0 commit comments

Comments
 (0)