force correct scale for minicards
This commit is contained in:
parent
d3ff9b61f2
commit
fe5996d9a5
@ -89,12 +89,12 @@
|
|||||||
],
|
],
|
||||||
"Tooltip": true,
|
"Tooltip": true,
|
||||||
"Transform": {
|
"Transform": {
|
||||||
"posX": 40.7253036,
|
"posX": 40,
|
||||||
"posY": 1.29860592,
|
"posY": 1.3,
|
||||||
"posZ": 66.7765656,
|
"posZ": 66,
|
||||||
"rotX": 1.697304e-7,
|
"rotX": 0,
|
||||||
"rotY": 270.0102,
|
"rotY": 270,
|
||||||
"rotZ": 2.00479718e-7,
|
"rotZ": 0,
|
||||||
"scaleX": 0.6,
|
"scaleX": 0.6,
|
||||||
"scaleY": 1,
|
"scaleY": 1,
|
||||||
"scaleZ": 0.6
|
"scaleZ": 0.6
|
||||||
|
@ -28,6 +28,9 @@ Spawner.spawnCards = function(cardList, pos, rot, sort, callback)
|
|||||||
if card.metadata.type == "Investigator" then
|
if card.metadata.type == "Investigator" then
|
||||||
table.insert(investigatorCards, card)
|
table.insert(investigatorCards, card)
|
||||||
elseif card.metadata.type == "Minicard" then
|
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)
|
table.insert(miniCards, card)
|
||||||
else
|
else
|
||||||
table.insert(standardCards, card)
|
table.insert(standardCards, card)
|
||||||
|
Loading…
Reference in New Issue
Block a user