@@ -1276,7 +1276,7 @@ function create_UIBox_your_collection_content_sets()
12761276 if not center then
12771277 break
12781278 end
1279- local card = create_generic_card (center )
1279+ local card = create_generic_card (center , G . your_collection [ j ]. T . x + G . your_collection [ j ]. T . w / 2 , G . your_collection [ j ]. T . y )
12801280 G .your_collection [j ]:emplace (card )
12811281 end
12821282 end
@@ -1359,7 +1359,7 @@ function create_UIBox_your_collection_current_set()
13591359 if not center then
13601360 break
13611361 end
1362- local card = create_generic_card (center )
1362+ local card = create_generic_card (center , G . your_collection [ j ]. T . x + G . your_collection [ j ]. T . w / 2 , G . your_collection [ j ]. T . y )
13631363 G .your_collection [j ]:emplace (card )
13641364 end
13651365 end
@@ -1415,7 +1415,7 @@ G.FUNCS.your_collection_content_set_page = function(args)
14151415 if not center then
14161416 break
14171417 end
1418- local card = create_generic_card (center )
1418+ local card = create_generic_card (center , G . your_collection [ j ]. T . x + G . your_collection [ j ]. T . w / 2 , G . your_collection [ j ]. T . y )
14191419 G .your_collection [j ]:emplace (card )
14201420 end
14211421 end
@@ -1451,7 +1451,7 @@ G.FUNCS.your_collection_current_set_page = function(args)
14511451 if not center then
14521452 break
14531453 end
1454- local card = create_generic_card (center )
1454+ local card = create_generic_card (center , G . your_collection [ j ]. T . x + G . your_collection [ j ]. T . w / 2 , G . your_collection [ j ]. T . y )
14551455 G .your_collection [j ]:emplace (card )
14561456 end
14571457 end
@@ -1462,13 +1462,13 @@ end
14621462---- GENERIC COLLECTIONS -----
14631463---- --------------------------
14641464
1465- function create_generic_card (center )
1465+ function create_generic_card (center , x , y )
14661466 -- todo: make gameset stickers play nicely with resized sprites
14671467 local is_blind = center .set == " Blind" or center .cry_blind
14681468 local is_tag = center .set == " Tag" or center .cry_tag
14691469 local card = Card (
1470- G .ROOM .T .x + 0.2 * G .ROOM .T .w / 2 ,
1471- G .ROOM .T .h ,
1470+ x or G .ROOM .T .x + 0.2 * G .ROOM .T .w / 2 ,
1471+ y or G .ROOM .T .h ,
14721472 is_blind and 0.7 * G .CARD_W or is_tag and 0.42 * G .CARD_W or G .CARD_W ,
14731473 is_blind and 0.7 * G .CARD_W or is_tag and 0.42 * G .CARD_W or G .CARD_H ,
14741474 nil ,
@@ -1486,7 +1486,7 @@ function create_generic_card(center)
14861486 card :set_edition ({[center .config .cry_force_edition ] = true }, true , true )
14871487 end
14881488 if center .set == " Seal" then
1489- card :set_seal (center .key , true , true )
1489+ card :set_seal (center .key , trfue , true )
14901490 card .config .center = cry_deep_copy (card .config .center )
14911491 card .config .center .force_gameset = center .force_gameset
14921492 card .config .center .key = center .key
0 commit comments