Skip to content

Commit fb7ef4a

Browse files
committed
refactor: updated note about G.GAME.max_jokers
1 parent a6f5489 commit fb7ef4a

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
@@ -733,7 +733,7 @@ API.functions["shop"] = function(args)
733733
end
734734

735735

736-
-- Used to ensure dollars and shop have been updated before responding, not inheritly atomic
736+
-- Used to ensure dollars and shop have been updated before responding, not inheritly atomic
737737
local dollars_before = G.GAME.dollars
738738
local expected_dollars = dollars_before - card.cost
739739
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)