Skip to content

Commit 68f3897

Browse files
committed
fix display of echips & mult
1 parent 147d319 commit 68f3897

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

lovely/misc.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -682,26 +682,26 @@ target = "functions/common_events.lua"
682682
pattern = "elseif eval_type == 'dollars' then"
683683
position = "before"
684684
payload = '''
685-
elseif eval_type == 'x_chips' then
686-
sound = 'cry_xchip'
687-
amt = amt
688-
text = 'X' .. amt
689-
colour = G.C.CHIPS
690-
config.type = 'fade'
691-
config.scale = 0.7
692-
elseif eval_type == 'e_chips' then
693-
sound = 'cry_echips'
694-
amt = amt
695-
text = '^' .. amt .. ' ' .. localize('k_chips')
696-
colour = G.C.DARK_EDITION
697-
config.type = 'fade'
698-
config.scale = 0.7
699-
elseif eval_type == 'e_mult' then
700-
sound = 'cry_emult'
701-
amt = amt
702-
text = '^' .. amt .. ' ' .. localize('k_mult')
703-
colour = G.C.DARK_EDITION
704-
config.type = 'fade'
705-
config.scale = 0.7
685+
elseif eval_type == 'x_chips' then
686+
sound = 'cry_xchip'
687+
amt = amt
688+
text = 'X' .. number_format(amt)
689+
colour = G.C.CHIPS
690+
config.type = 'fade'
691+
config.scale = 0.7
692+
elseif eval_type == 'e_chips' then
693+
sound = 'cry_echips'
694+
amt = amt
695+
text = '^' .. number_format(amt) .. ' ' .. localize('k_chips')
696+
colour = G.C.DARK_EDITION
697+
config.type = 'fade'
698+
config.scale = 0.7
699+
elseif eval_type == 'e_mult' then
700+
sound = 'cry_emult'
701+
amt = amt
702+
text = '^' .. number_format(amt) .. ' ' .. localize('k_mult')
703+
colour = G.C.DARK_EDITION
704+
config.type = 'fade'
705+
config.scale = 0.7
706706
'''
707707
match_indent = true

0 commit comments

Comments
 (0)