Skip to content

Commit 40a9e33

Browse files
committed
feat: reroll shop types
1 parent 4bc1b61 commit 40a9e33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lua/types.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
---@field cards number[] Array of card indices for every card in hand (0-based)
5454

5555
---@class ShopActionArgs
56-
---@field action "next_round" | "buy_card" The action to perform
56+
---@field action "next_round" | "buy_card" | "reroll" The action to perform
5757
---@field index? number The index of the card to act on (buy, buy_and_use, redeem, open) (0-based)
5858

5959
-- TODO: add the other actions "reroll" | "buy" | "buy_and_use" | "redeem" | "open"
@@ -139,6 +139,8 @@
139139
---@field discards_used number Number of discards used
140140
---@field hands_left number Number of hands remaining
141141
---@field hands_played number Number of hands played
142+
---@field reroll_cost number Current dollar cost to reroll the shop offer
143+
---@field free_rerolls number Free rerolls remaining this round
142144
---@field voucher table Vouchers for this round
143145

144146
-- Selected deck info (G.GAME.selected_back)

0 commit comments

Comments
 (0)