Update positions of action tokens

This commit is contained in:
Adam Goldsmith 2024-07-28 00:24:31 -04:00
parent 4935f66cec
commit aa1dab98f1
13 changed files with 46 additions and 46 deletions

View File

@ -53,9 +53,9 @@
],
"Tooltip": true,
"Transform": {
"posX": -53.2,
"posY": 1.55,
"posZ": -24.909,
"posX": -47.73,
"posY": 1.48,
"posZ": -24.94,
"rotX": 0,
"rotY": 270,
"rotZ": 0,

View File

@ -53,11 +53,11 @@
],
"Tooltip": true,
"Transform": {
"posX": -21.541,
"posY": 1.55,
"posZ": -24.8,
"posX": -19.06,
"posY": 1.48,
"posZ": -41.34,
"rotX": 0,
"rotY": 180,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.45,
"scaleY": 1,

View File

@ -53,11 +53,11 @@
],
"Tooltip": true,
"Transform": {
"posX": -36.973,
"posY": 1.55,
"posZ": 24.8,
"posX": -19.36,
"posY": 1.48,
"posZ": 25.85,
"rotX": 0,
"rotY": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.45,
"scaleY": 1,

View File

@ -53,11 +53,11 @@
],
"Tooltip": true,
"Transform": {
"posX": -38.066,
"posY": 1.55,
"posZ": 24.8,
"posX": -19.36,
"posY": 1.48,
"posZ": 24.75,
"rotX": 0,
"rotY": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.45,
"scaleY": 1,

View File

@ -53,11 +53,11 @@
],
"Tooltip": true,
"Transform": {
"posX": -39.159,
"posY": 1.55,
"posZ": 24.8,
"posX": -19.36,
"posY": 1.48,
"posZ": 23.66,
"rotX": 0,
"rotY": 0,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.45,
"scaleY": 1,

View File

@ -53,9 +53,9 @@
],
"Tooltip": true,
"Transform": {
"posX": -53.2,
"posY": 1.55,
"posZ": 7.291,
"posX": -47.73,
"posY": 1.48,
"posZ": 7.26,
"rotX": 0,
"rotY": 270,
"rotZ": 0,

View File

@ -53,9 +53,9 @@
],
"Tooltip": true,
"Transform": {
"posX": -53.2,
"posY": 1.55,
"posZ": 9.477,
"posX": -47.73,
"posY": 1.48,
"posZ": 9.45,
"rotX": 0,
"rotY": 270,
"rotZ": 0,

View File

@ -53,11 +53,11 @@
],
"Tooltip": true,
"Transform": {
"posX": -23.727,
"posY": 1.55,
"posZ": -24.8,
"posX": -19.06,
"posY": 1.48,
"posZ": -39.15,
"rotX": 0,
"rotY": 180,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.45,
"scaleY": 1,

View File

@ -53,9 +53,9 @@
],
"Tooltip": true,
"Transform": {
"posX": -53.2,
"posY": 1.55,
"posZ": -23.816,
"posX": -47.73,
"posY": 1.48,
"posZ": -23.85,
"rotX": 0,
"rotY": 270,
"rotZ": 0,

View File

@ -53,9 +53,9 @@
],
"Tooltip": true,
"Transform": {
"posX": -53.2,
"posY": 1.55,
"posZ": 8.384,
"posX": -47.73,
"posY": 1.48,
"posZ": 8.35,
"rotX": 0,
"rotY": 270,
"rotZ": 0,

View File

@ -53,9 +53,9 @@
],
"Tooltip": true,
"Transform": {
"posX": -53.2,
"posY": 1.55,
"posZ": -22.723,
"posX": -47.73,
"posY": 1.48,
"posZ": -22.75,
"rotX": 0,
"rotY": 270,
"rotZ": 0,

View File

@ -53,11 +53,11 @@
],
"Tooltip": true,
"Transform": {
"posX": -22.634,
"posY": 1.55,
"posZ": -24.8,
"posX": -19.06,
"posY": 1.48,
"posZ": -40.25,
"rotX": 0,
"rotY": 180,
"rotY": 270,
"rotZ": 0,
"scaleX": 0.45,
"scaleY": 1,

View File

@ -78,8 +78,8 @@ local DISCARD_PILE_POSITION = { x = -1.82, y = 0.1, z = 0.61 }
local DRAWN_ENCOUNTER_POSITION = { x = 1.365, y = 0.5, z = -0.625 }
local tokenSpawnPos = {
action = {
Vector(-0.86, 0, -0.28), -- left of the regular three actions
Vector(-1.54, 0, -0.28), -- right of the regular three actions
Vector(-0.86, 0, -0.13), -- left of the regular three actions
Vector(-1.54, 0, -0.13), -- right of the regular three actions
},
ability = {
Vector(-1, 0, 0.118), -- bottom left corner of the investigator card
@ -1387,8 +1387,8 @@ function spawnActionTokens()
local callbackParams = { class = activeInvestigatorData.class, symbol = activeInvestigatorData.class }
for i = 1, 3 do
local position = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -0.28)):add(Vector(0, 0.2, 0))
tokenManagerApi.spawnToken(position, tokenType, rotation, callbackName, callbackParams)
local pos = self.positionToWorld(Vector(-1.54 + i * 0.17, 0, -1.13)):add(Vector(0, 0.2, 0))
tokenManagerApi.spawnToken(pos, "universalActionAbility", rotation, callbackName, callbackParams)
end
end