Skip to content

Commit 151989e

Browse files
committed
Added extra.text_colour support in card_eval_status_text
1 parent c7108ae commit 151989e

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

lovely/ui_additional_text_props.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,4 +383,17 @@ final_line[#final_line].nodes[1] = {n=G.UIT.O, config={
383383
'''
384384
payload = '''
385385
button = part.control.button,
386-
'''
386+
'''
387+
388+
# Add text_colour support for card_eval_status_text extra tables
389+
[[patches]]
390+
[patches.pattern]
391+
target = 'functions/common_events.lua'
392+
match_indent = true
393+
position = 'before'
394+
pattern = '''
395+
backdrop_colour = colour,
396+
'''
397+
payload = '''
398+
colour = extra and extra.text_colour,
399+
'''

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1413a-STEAMODDED"
1+
return "1.0.0~BETA-1415a-STEAMODDED"

0 commit comments

Comments
 (0)