Add compatibility patch
This commit is contained in:
parent
27ce5bbb2e
commit
f126173091
2 changed files with 13 additions and 1 deletions
12
lovely.toml
12
lovely.toml
|
|
@ -65,6 +65,18 @@ position = "at"
|
||||||
payload = "elseif G.GAME.blind_on_deck == 'Big' then"
|
payload = "elseif G.GAME.blind_on_deck == 'Big' then"
|
||||||
match_indent = true
|
match_indent = true
|
||||||
|
|
||||||
|
# Prevent Incantation from overriding Faster Planets
|
||||||
|
[[patches]]
|
||||||
|
[patches.pattern]
|
||||||
|
target = '=[SMODS incantation "Incantation.lua"]'
|
||||||
|
pattern = "function Card:use_consumeable(area, copier)"
|
||||||
|
position = "after"
|
||||||
|
payload = """if SMODS.Mods.Roland.config.faster_planets and
|
||||||
|
self.ability.consumeable.hand_type then
|
||||||
|
return useconsumeref(self, area, copier)
|
||||||
|
end"""
|
||||||
|
match_indent = true
|
||||||
|
|
||||||
# Misfortune Cookie
|
# Misfortune Cookie
|
||||||
[[patches]]
|
[[patches]]
|
||||||
[patches.pattern]
|
[patches.pattern]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.9.84",
|
"version": "2.9.85",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue