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
(Steamodded 1.0) Prevents scoring from ending the round early
2
+
**(Steamodded 1.0)** Prevents scoring from ending the round early
3
3
4
-
Default keybind is 'LShift'. This is customizable via the main.lua, although I'm not exactly sure what keys work
4
+
# Info
5
5
6
-
Holding the keybind during the end of a scoring hand will mimic vanilla behavior, useful in cases where you do not want to draw extra cards
6
+
This mod contains a slightly customisable **keybind** and **colour**. To change them, you can open the mod's **main.lua** and edit the variables directly. They are defaulted to '**lshift**' and '**GREEN**'
7
+
8
+
Holding the keybind while scoring a winning hand will mimic vanilla behaviour, useful in cases where you want to avoid drawing more cards
Install [Steamodded](https://github.com/Steamopollys/Steamodded) (must be **1.0.0 or higher**)
14
16
15
17
16
-
Download the newest release ([linked here](https://github.com/Toneblock/balatro-NotJustYet/releases/tag/v0.4.2)), extract the .zip, and place it into your Mods folder
18
+
Download the newest release ([linked here](https://github.com/Toneblock/balatro-NotJustYet/releases/latest)), extract the .zip, and place it into your Mods folder
Copy file name to clipboardExpand all lines: lovely.toml
+43-29Lines changed: 43 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ if not to_big then
14
14
function to_big(x) return x end
15
15
end
16
16
if (G.GAME.current_round.hands_left <= 0 and to_big(self.GAME.chips) < to_big(self.GAME.blind.chips)) or (GLOBAL_njy_vanilla_override and to_big(self.GAME.chips) >= to_big(self.GAME.blind.chips)) then
17
+
stop_use()
17
18
'''
18
19
match_indent = true
19
20
@@ -28,6 +29,7 @@ if not to_big then
28
29
function to_big(x) return x end
29
30
end
30
31
if (G.GAME.current_round.hands_left <= 0 and to_big(self.GAME.chips) < to_big(self.GAME.blind.chips)) or (GLOBAL_njy_vanilla_override and to_big(self.GAME.chips) >= to_big(self.GAME.blind.chips)) then
32
+
stop_use()
31
33
'''
32
34
match_indent = true
33
35
@@ -42,6 +44,7 @@ if not to_big then
42
44
function to_big(x) return x end
43
45
end
44
46
if (G.GAME.current_round.hands_left <= 0 and to_big(self.GAME.chips) < to_big(self.GAME.blind.chips)) or (GLOBAL_njy_vanilla_override and to_big(self.GAME.chips) >= to_big(self.GAME.blind.chips)) then
47
+
stop_use()
45
48
'''
46
49
match_indent = true
47
50
@@ -50,52 +53,64 @@ match_indent = true
50
53
[patches.pattern]
51
54
target = "game.lua"
52
55
pattern = "if #G.hand.cards < 1 and #G.deck.cards < 1 and #G.play.cards < 1 then"
53
-
position = "after"
56
+
position = "at"
54
57
payload = '''
55
-
end
56
-
if this_should_never_run_vg3dcw2vgubhijonbi then
58
+
if not true then
57
59
'''
58
60
match_indent = true
59
61
60
-
# add ugly end round button
62
+
# add slightly less ugly end round button
61
63
[[patches]]
62
64
[patches.pattern]
63
65
target = "functions/UI_definitions.lua"
64
-
pattern = '''G.SETTINGS.play_button_pos == 1 and play_button or discard_button,'''
65
-
position = "after"
66
+
pattern = '''G.SETTINGS.play_button_pos == 1 and discard_button or play_button,'''
# i TRIED to change this but nothing works??????????????????? code looks bad but genuinely, just doing "self.C.CHIPS_REQUIRED = {0.2941,0.76,0.5725,1}" doesn't work, pls explain
Copy file name to clipboardExpand all lines: main.lua
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,9 @@
4
4
--- PREFIX: njy
5
5
--- MOD_AUTHOR: [toneblock]
6
6
--- MOD_DESCRIPTION: Prevents scoring from ending the round early
7
-
--- PRIORITY: 0
8
-
--- DISPLAY_NAME: NotJustYet
9
7
--- BADGE_COLOUR: ffffff
10
-
--- VERSION: 0.4.2
8
+
--- DEPENDENCIES: [Steamodded>=1.0.0~ALPHA-1103a]
9
+
--- VERSION: 0.5.0
11
10
12
11
----------------------------------------------
13
12
------------MOD CODE -------------------------
@@ -16,30 +15,33 @@
16
15
17
16
G.njy_keybind='lshift'
18
17
18
+
-- The variable below defines the colour used in most places, as long as it's defined in the global colour table. Good examples are 'GOLD', 'IMPORTANT', 'TAROT', and 'DARK_EDITION'
19
19
20
+
G.njy_colour='GREEN'
20
21
21
22
22
23
23
24
24
25
25
-
26
-
G.FUNCS.njy_can_endround=function(e) -- wtf is this talisman check? [[Fixed it! -Math]]
26
+
G.FUNCS.njy_can_endround=function(e) -- wtf is this talisman check? [[Fixed it! -Math]] ty for fix
27
27
ifnotto_bigthen
28
28
functionto_big(x) returnxend
29
29
end
30
30
ifto_big(G.GAME.chips) >=to_big(G.GAME.blind.chips) then
0 commit comments