diff --git a/lovely.toml b/lovely.toml index b3017d9..b417b36 100644 --- a/lovely.toml +++ b/lovely.toml @@ -65,6 +65,18 @@ position = "at" payload = "elseif G.GAME.blind_on_deck == 'Big' then" 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 [[patches]] [patches.pattern] diff --git a/manifest.json b/manifest.json index b986ee7..075fbde 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.84", + "version": "2.9.85", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua",