force correct scale for minicards

This commit is contained in:
Chr1Z93 2024-06-27 15:55:53 +02:00
parent d3ff9b61f2
commit fe5996d9a5
2 changed files with 9 additions and 6 deletions

View File

@ -89,12 +89,12 @@
],
"Tooltip": true,
"Transform": {
"posX": 40.7253036,
"posY": 1.29860592,
"posZ": 66.7765656,
"rotX": 1.697304e-7,
"rotY": 270.0102,
"rotZ": 2.00479718e-7,
"posX": 40,
"posY": 1.3,
"posZ": 66,
"rotX": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.6,
"scaleY": 1,
"scaleZ": 0.6

View File

@ -28,6 +28,9 @@ Spawner.spawnCards = function(cardList, pos, rot, sort, callback)
if card.metadata.type == "Investigator" then
table.insert(investigatorCards, card)
elseif card.metadata.type == "Minicard" then
-- set proper scale for minicards
card.data.Transform.scaleX = 0.6
card.data.Transform.scaleZ = 0.6
table.insert(miniCards, card)
else
table.insert(standardCards, card)