Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 0 additions & 47 deletions lovely.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,6 @@ dump_lua = true
priority = 0


#Negative bonus chips UI
[[patches]]
[patches.pattern]
target = 'card.lua'
pattern = '''
bonus_chips = (self.ability.bonus + (self.ability.perma_bonus or 0)) > 0 and (self.ability.bonus + (self.ability.perma_bonus or 0)) or nil,
'''
position = 'at'
match_indent = true
payload = '''
bonus_chips = (self.ability.bonus + (self.ability.perma_bonus or 0)) ~= 0 and (self.ability.bonus + (self.ability.perma_bonus or 0)) or nil,
'''


#Burglar instant for Bobby compat
[[patches]]
[patches.pattern]
Expand All @@ -44,26 +30,6 @@ ease_hands_played(self.ability.extra, true)
'''
match_indent = true


#Debuff functionality
[[patches]]
[patches.pattern]
target = 'card.lua'
pattern = '''
if self.ability.perishable and self.ability.perish_tally <= 0 then
if not self.debuff then
self.debuff = true
if self.area == G.jokers then self:remove_from_deck(true) end
end
return
end
'''
position = 'after'
payload = '''
if next(find_joker("Permanent Marker")) and self.ability.set == "Enhanced" then should_debuff = false end
'''
match_indent = true

[[patches]]
[patches.pattern]
target = 'game.lua'
Expand All @@ -80,19 +46,6 @@ fish_rank = {rank = 'Ace'},
'''
match_indent = true

# New context to modify mult/chips before hands are played - used for Clown Car
[[patches]]
[patches.pattern]
target = 'functions/state_events.lua'
match_indent = true
pattern = '''if modded then update_hand_text({sound = 'chips2', modded = modded}, {chips = hand_chips, mult = mult}) end'''
position = 'after'
payload = '''
for i=1, #G.jokers.cards do
eval_card(G.jokers.cards[i], {cardarea = G.jokers, full_hand = G.play.cards, scoring_hand = scoring_hand, scoring_name = text, poker_hands = poker_hands, before_but_not_as_much = true})
end
'''

# manually check lucky 7 for quantum enhancments
[[patches]]
[patches.pattern]
Expand Down
Loading