playermat token updates
This commit is contained in:
parent
48c58836b0
commit
297cacf0da
@ -48,7 +48,7 @@
|
||||
"posZ": 29.089,
|
||||
"rotX": 0,
|
||||
"rotY": 10,
|
||||
"rotZ": 1,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -48,7 +48,7 @@
|
||||
"posZ": -29.078,
|
||||
"rotX": 0,
|
||||
"rotY": 190,
|
||||
"rotZ": 0,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -48,7 +48,7 @@
|
||||
"posZ": -22.894,
|
||||
"rotX": 0,
|
||||
"rotY": 280,
|
||||
"rotZ": 0,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -48,7 +48,7 @@
|
||||
"posZ": 9.273,
|
||||
"rotX": 0,
|
||||
"rotY": 280,
|
||||
"rotZ": 0,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -48,7 +48,7 @@
|
||||
"posZ": -24.928,
|
||||
"rotX": 0,
|
||||
"rotY": 280,
|
||||
"rotZ": 0,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -48,7 +48,7 @@
|
||||
"posZ": 7.229,
|
||||
"rotX": 0,
|
||||
"rotY": 280,
|
||||
"rotZ": 0,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -48,7 +48,7 @@
|
||||
"posZ": 29.487,
|
||||
"rotX": 0,
|
||||
"rotY": 10,
|
||||
"rotZ": 1,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -48,7 +48,7 @@
|
||||
"posZ": -29.42,
|
||||
"rotX": 0,
|
||||
"rotY": 190,
|
||||
"rotZ": 0,
|
||||
"rotZ": 180,
|
||||
"scaleX": 0.3,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 0.3
|
||||
|
@ -14,10 +14,14 @@ function onLoad(savedData)
|
||||
local position = { 0, 0.06, 0 }
|
||||
|
||||
-- set position of label depending on object
|
||||
if tokenType == "damage" or tokenType == "resource" or tokenType == "resourceCounter" then
|
||||
position = { 0, 0.06, 0.1 }
|
||||
if tokenType == "damage" then
|
||||
position = { 0.1, -0.07, 0.1 }
|
||||
rotation = { 180, 180, 0}
|
||||
elseif tokenType == "horror" then
|
||||
position = { -0.025, 0.06, -0.025 }
|
||||
position = { -0.025, -0.07, 0.025 }
|
||||
rotation = { 180, 180, 0}
|
||||
elseif tokenType == "resource" or tokenType == "resourceCounter" then
|
||||
position = { 0, 0.06, 0.1 }
|
||||
elseif tokenType == "ElderSignCounter" or tokenType == "AutofailCounter" then
|
||||
position = { 0, 0.1, 0 }
|
||||
end
|
||||
@ -27,6 +31,7 @@ function onLoad(savedData)
|
||||
click_function = "addOrSubtract",
|
||||
function_owner = self,
|
||||
position = position,
|
||||
rotation = rotation or { 0, 0, 0 },
|
||||
height = 600,
|
||||
width = 1000,
|
||||
scale = { 1.5, 1.5, 1.5 },
|
||||
|
Loading…
Reference in New Issue
Block a user