balatro-mods/Steamodded/lovely/gradient.toml
2025-05-20 03:22:28 +08:00

16 lines
317 B
TOML

[manifest]
version = "1.0.0"
dump_lua = true
priority = -10
# Game:update
[[patches]]
[patches.pattern]
target = "game.lua"
pattern = "self.C.EDITION[2] = 0.7+0.2*(1+math.sin(self.TIMERS.REAL*1.5 + 6))"
position = "after"
payload = '''
for _,v in pairs(SMODS.Gradients) do
v:update(dt)
end'''
match_indent = true