You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lovely/lib_ui.toml
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,3 +70,21 @@ pattern = "if (self.edition and self.edition.negative) or (self.ability.name ==
70
70
position = 'at'
71
71
match_indent = true
72
72
payload = "if (self.edition and (self.edition.negative or self.edition.cry_oversat)) or (self.ability.name == 'Antimatter' and (self.config.center.discovered or self.bypass_discovery_center)) then"
73
+
74
+
# Make description UI always appear if card is highlighted
75
+
[[patches]]
76
+
[patches.pattern]
77
+
target = "engine/node.lua"
78
+
pattern = "if self.children.h_popup then"
79
+
position = 'at'
80
+
match_indent = true
81
+
payload = "if self.children.h_popup and not self.highlighted then"
82
+
83
+
# Let description tooltips work for any object
84
+
[[patches]]
85
+
[patches.pattern]
86
+
target = "functions/misc_functions.lua"
87
+
pattern = "detailed_tooltip = part.control.T and (G.P_CENTERS[part.control.T] or G.P_TAGS[part.control.T]) or nil,"
88
+
position = 'at'
89
+
match_indent = true
90
+
payload = "detailed_tooltip = part.control.T and Cryptid.get_center(part.control.T) or nil,"
0 commit comments