Updated ES / AF counters

This commit is contained in:
Chr1Z93 2024-10-06 13:09:04 +02:00
parent 3bbece0d06
commit 8735c1aa91
3 changed files with 12 additions and 12 deletions

View File

@ -6,9 +6,9 @@
}, },
"Autoraise": true, "Autoraise": true,
"ColorDiffuse": { "ColorDiffuse": {
"b": 1, "b": 0,
"g": 1, "g": 0,
"r": 1 "r": 0
}, },
"CustomImage": { "CustomImage": {
"CustomTile": { "CustomTile": {
@ -49,9 +49,9 @@
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.81, "scaleX": 1.5,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.81 "scaleZ": 1.5
}, },
"Value": 0, "Value": 0,
"XmlUI": "" "XmlUI": ""

View File

@ -6,9 +6,9 @@
}, },
"Autoraise": true, "Autoraise": true,
"ColorDiffuse": { "ColorDiffuse": {
"b": 1, "b": 0,
"g": 1, "g": 0,
"r": 1 "r": 0
}, },
"CustomImage": { "CustomImage": {
"CustomTile": { "CustomTile": {
@ -49,9 +49,9 @@
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 0.81, "scaleX": 1.5,
"scaleY": 1, "scaleY": 1,
"scaleZ": 0.81 "scaleZ": 1.5
}, },
"Value": 0, "Value": 0,
"XmlUI": "" "XmlUI": ""

View File

@ -16,10 +16,10 @@ function onLoad(savedData)
-- set position of label depending on object -- set position of label depending on object
if tokenType == "damage" then if tokenType == "damage" then
position = { 0.1, -0.07, 0.1 } position = { 0.1, -0.07, 0.1 }
rotation = { 180, 180, 0} rotation = { 180, 180, 0 }
elseif tokenType == "horror" then elseif tokenType == "horror" then
position = { -0.025, -0.07, 0.025 } position = { -0.025, -0.07, 0.025 }
rotation = { 180, 180, 0} rotation = { 180, 180, 0 }
elseif tokenType == "resource" or tokenType == "resourceCounter" then elseif tokenType == "resource" or tokenType == "resourceCounter" then
position = { 0, 0.06, 0.1 } position = { 0, 0.06, 0.1 }
elseif tokenType == "ElderSignCounter" or tokenType == "AutofailCounter" then elseif tokenType == "ElderSignCounter" or tokenType == "AutofailCounter" then