Add option for faster planets (very fast)
This commit is contained in:
parent
7396ec25af
commit
f611e700dc
5 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
equinox_assist = false,
|
||||
faster_planets = true,
|
||||
harsh_ante_scaling = true,
|
||||
illusion_seal = true,
|
||||
import_funky = false,
|
||||
|
|
|
|||
|
|
@ -426,6 +426,7 @@ return {
|
|||
b_Roland_enabled = "Enabled",
|
||||
b_Roland_entering_shop = "Entering shop!",
|
||||
b_Roland_equinox_assist = "Assist: Only hide text (Equinox)",
|
||||
b_Roland_faster_planets = "Faster Planets",
|
||||
b_Roland_full = "FULL",
|
||||
b_Roland_scribable_basket = "Scribable Basket (overpowered)",
|
||||
b_Roland_harsh_ante_scaling = "Harsh ante scaling (Ante 40+)",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"author": [
|
||||
"Emik"
|
||||
],
|
||||
"version": "2.5.8",
|
||||
"version": "2.5.9",
|
||||
"badge_colour": "8BE9FD",
|
||||
"main_file": "src/main.lua",
|
||||
"badge_text_colour": "44475A",
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ function SMODS.current_mod.config_tab()
|
|||
n = G.UIT.C,
|
||||
config = {minw = 1, minh = 1, align = "tl", padding = 0.1, colour = G.C.CLEAR},
|
||||
nodes = {
|
||||
toggle "faster_planets",
|
||||
toggle "illusion_seal",
|
||||
toggle "no_wild_debuff",
|
||||
_G["Talisman"] and toggle "harsh_ante_scaling",
|
||||
|
|
|
|||
|
|
@ -14,6 +14,13 @@ end
|
|||
local orig_use_consumeable = Card.use_consumeable
|
||||
|
||||
function Card:use_consumeable(area, copier, ...)
|
||||
if SMODS.Mods.Roland.config.faster_planets and self.ability.consumeable.hand_type then
|
||||
set_consumeable_usage(self)
|
||||
level_up_hand(copier or self, self.ability.consumeable.hand_type, true)
|
||||
self:remove()
|
||||
return
|
||||
end
|
||||
|
||||
local seal_spectrals = {["Deja Vu"] = true, Medium = true, Talisman = true, Trance = true}
|
||||
|
||||
if not seal_spectrals[self.ability.name] then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue