Skip to content

Commit 1e90b0b

Browse files
stirbyS1M0N38
authored andcommitted
refactor: updated note about G.GAME.max_jokers
1 parent 9ea95f6 commit 1e90b0b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lua/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ API.functions["shop"] = function(args)
729729
end
730730

731731

732-
-- Used to ensure dollars and shop have been updated before responding, not inheritly atomic
732+
-- Used to ensure dollars and shop have been updated before responding, not inheritly atomic
733733
local dollars_before = G.GAME.dollars
734734
local expected_dollars = dollars_before - card.cost
735735
local shop_size_before = #G.shop_jokers.cards

src/lua/types.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
---@field interest_amount number Interest amount per dollar
9898
---@field interest_cap number Maximum interest that can be earned
9999
---@field last_blind GGameLastBlind Last blind information
100-
---@field max_jokers number Maximum number of jokers allowed
100+
---@field max_jokers number Maximum number of jokers in card area
101101
---@field planet_rate number Probability for planet cards in shop
102102
---@field playing_card_rate number Probability for playing cards in shop
103103
---@field previous_round GGamePreviousRound Previous round information

src/lua/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function utils.get_game_state()
190190
last_blind = last_blind,
191191
-- legendary_mod = G.GAME.legendary_mod, -- (default 1) maybe the probality/modifier to find a legendary joker in the shop?
192192

193-
max_jokers = G.GAME.max_jokers, --(default 0) the total number of jokers slots?
193+
max_jokers = G.GAME.max_jokers, --(default 0) the number of held jokers?
194194

195195
-- modifiers = list/table, -- ??
196196
-- orbital_choices = { -- what's an orbital choice?? This is a list (table with int keys). related to pseudorandom

0 commit comments

Comments
 (0)