Skip to content

Commit eb1fd4c

Browse files
Convert lovely patch for highlight limits
apparently players are still having issues with these not working. I can only assume the lovely patches for these aren't working for some reason, so now they have been moved to a hook instead. plz work
1 parent fabbf37 commit eb1fd4c

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

lib/overrides.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ function Game:start_run(args)
227227
if not G.GAME.defeated_blinds then
228228
G.GAME.defeated_blinds = {}
229229
end
230+
G.consumeables.config.highlighted_limit = 1e100
231+
G.jokers.config.highlighted_limit = 1e100
230232
end
231233

232234
--patch for multiple Clocks to tick separately and load separately

lovely/code.toml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -409,24 +409,6 @@ payload = '''if not G.shop then return true end
409409
G.shop.alignment.offset.y = -5.3'''
410410
match_indent = true
411411

412-
# Increase highlight limit for consumables
413-
[[patches]]
414-
[patches.pattern]
415-
target = "game.lua"
416-
pattern = "{card_limit = self.GAME.starting_params.consumable_slots, type = 'joker', highlight_limit = 1, negative_info = 'consumable'})"
417-
position = "at"
418-
payload = "{card_limit = self.GAME.starting_params.consumable_slots, type = 'joker', highlight_limit = 1e100, negative_info = 'consumable'})"
419-
match_indent = true
420-
421-
# Increase highlight limit for jokers
422-
[[patches]]
423-
[patches.pattern]
424-
target = "game.lua"
425-
pattern = "{card_limit = self.GAME.starting_params.joker_slots, type = 'joker', highlight_limit = 1, negative_info = 'joker'})"
426-
position = "at"
427-
payload = "{card_limit = self.GAME.starting_params.joker_slots, type = 'joker', highlight_limit = 1e100, negative_info = 'joker'})"
428-
match_indent = true
429-
430412
# Exploit - reset variables
431413
[[patches]]
432414
[patches.pattern]

0 commit comments

Comments
 (0)