Skip to content

Commit 32a1e11

Browse files
committed
fix yeets
1 parent 14e9532 commit 32a1e11

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

localization/en-us.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ return {
368368
dictionary = {
369369
k_plus_stone = "+1 Banana",
370370
k_balanced = "Bananalanced",
371+
k_not_allowed_ex = "Yeet!",
371372
k_split_ex = "Split!",
372373
ph_you_win = "BANANA!",
373374
ph_score_best_glop = "Best Glop",
@@ -557,7 +558,7 @@ return {
557558
"For the love of glop!",
558559
"can i haz glopburger",
559560
"value set glop true",
560-
"attempt to index 'glop' (a nil value)",
561+
"attempt to perform arithmetic on global 'glop' (a nil value)",
561562
"Don't glop too close to the sun!",
562563
"Holy glopping bingle!",
563564
"4 8 15 16 23 42 108!",

lovely.toml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,19 @@ match_indent = true
429429
[patches.pattern]
430430
target = "functions/state_events.lua"
431431
pattern = '''check_and_set_high_score('hand', hand_chips*mult)'''
432-
position = "after"
433-
payload = '''check_and_set_high_score('best_glop', glop)'''
432+
position = "at"
433+
payload = '''if not glop then glop = 0 end
434+
check_and_set_high_score('hand', hand_chips*mult)
435+
check_and_set_high_score('best_glop', glop)
436+
'''
437+
match_indent = true
438+
439+
[[patches]]
440+
[patches.pattern]
441+
target = "functions/state_events.lua"
442+
pattern = '''play_area_status_text("Not Allowed!")--localize('k_not_allowed_ex'), true)'''
443+
position = "at"
444+
payload = '''play_area_status_text(localize('k_not_allowed_ex'), true)'''
434445
match_indent = true
435446

436447
# Tag calculations pre-scoring

0 commit comments

Comments
 (0)