-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlovely.toml
48 lines (43 loc) · 1.2 KB
/
lovely.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[manifest]
version = "1.0.0"
dump_lua = true
priority = 0
# Prevent crashes on getting stake sticker
[[patches]]
[patches.pattern]
target = "functions/misc_functions.lua"
pattern = "for k, v in pairs(G.P_JOKER_RARITY_POOLS[4]) do"
position = "after"
payload = "if type(v) == 'table' and v.key then"
match_indent = true
[[patches]]
[patches.pattern]
target = "functions/misc_functions.lua"
pattern = "r_tally = r_tally + 1"
position = "after"
payload = "end"
match_indent = true
# Prevent issues with using pseudoshuffle on non-table values
[[patches]]
[patches.pattern]
target = "functions/misc_functions.lua"
pattern = "if list[1] and list[1].sort_id then"
position = "at"
payload = "if list[1] and type(list[1]) == 'table' and list[1].sort_id then"
match_indent = true
# Save and load individual animation status
[[patches]]
[patches.pattern]
target = "card.lua"
pattern = "sort_id = self.sort_id,"
position = "after"
payload = "animation = self.animation,"
match_indent = true
[[patches]]
[patches.pattern]
target = "card.lua"
pattern = "self.sort_id = cardTable.sort_id"
position = "after"
payload = '''self.animation = cardTable.animation
if cardTable.animation then Aura.add_individual(self) end'''
match_indent = true