Skip to content

Commit 77bc507

Browse files
committed
feat: add sort_id to card in game state
1 parent 4dbb2b2 commit 77bc507

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lua/utils.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ function utils.get_game_state()
317317
label = card.label, -- str (default "Base Card") | ... | ... | ?
318318
-- playing_card = card.config.card.playing_card, -- int. The card index in the deck for the current round ?
319319
-- sell_cost = card.sell_cost, -- int (default 1). The dollars you get if you sell this card ?
320+
sort_id = card.sort_id, -- int. Unique identifier for this card instance
320321
base = {
321322
-- These should be the valude for the original base card
322323
-- without any modifications

0 commit comments

Comments
 (0)