Skip to content

Commit 2b97cba

Browse files
Fix Joker and consumable selection limit
1 parent 96f51a9 commit 2b97cba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lovely/code.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -413,18 +413,18 @@ match_indent = true
413413
[[patches]]
414414
[patches.pattern]
415415
target = "game.lua"
416-
pattern = "{card_limit = self.GAME.starting_params.consumable_slots, type = 'joker', highlight_limit = 1})"
416+
pattern = "{card_limit = self.GAME.starting_params.consumable_slots, type = 'joker', highlight_limit = 1, negative_info = 'consumable'})"
417417
position = "at"
418-
payload = "{card_limit = self.GAME.starting_params.consumable_slots, type = 'joker', highlight_limit = 1e100})"
418+
payload = "{card_limit = self.GAME.starting_params.consumable_slots, type = 'joker', highlight_limit = 1e100, negative_info = 'consumable'})"
419419
match_indent = true
420420

421421
# Increase highlight limit for jokers
422422
[[patches]]
423423
[patches.pattern]
424424
target = "game.lua"
425-
pattern = "{card_limit = self.GAME.starting_params.joker_slots, type = 'joker', highlight_limit = 1})"
425+
pattern = "{card_limit = self.GAME.starting_params.joker_slots, type = 'joker', highlight_limit = 1, negative_info = 'joker'})"
426426
position = "at"
427-
payload = "{card_limit = self.GAME.starting_params.joker_slots, type = 'joker', highlight_limit = 1e100})"
427+
payload = "{card_limit = self.GAME.starting_params.joker_slots, type = 'joker', highlight_limit = 1e100, negative_info = 'joker'})"
428428
match_indent = true
429429

430430
# Satellite Uplink

0 commit comments

Comments
 (0)