From 47d7fc227695b2d83f4f343e4be1b4097af90482 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 25 Feb 2023 21:48:52 -0500 Subject: [PATCH] Fix positioning of all clue spawners --- unpacked/Checker_white Token Spawner 36b4ee.ttslua | 6 +++--- unpacked/Custom_Tile Playermat 1 White 8b081b.ttslua | 6 +++--- unpacked/Custom_Tile Playermat 2 Orange bd0ff4.ttslua | 6 +++--- unpacked/Custom_Tile Playermat 3 Green 383d8b.ttslua | 6 +++--- unpacked/Custom_Tile Playermat 4 Red 0840d5.ttslua | 6 +++--- unpacked/Custom_Token Playarea 721ba2.ttslua | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/unpacked/Checker_white Token Spawner 36b4ee.ttslua b/unpacked/Checker_white Token Spawner 36b4ee.ttslua index 6a271cccc..2e72788c1 100644 --- a/unpacked/Checker_white Token Spawner 36b4ee.ttslua +++ b/unpacked/Checker_white Token Spawner 36b4ee.ttslua @@ -528,9 +528,9 @@ do local pos = card.getPosition() local cluePositions = { } for i = 1, count do - local row = math.floor(1 + (i - 1) / 4) - local column = (i - 1) % 4 - table.insert(cluePositions, Vector(pos.x + 1.5 - 0.55 * row, pos.y + 0.15, pos.z - 0.825 + 0.55 * column)) + local column = math.floor((i - 1) / 4) + local row = (i - 1) % 4 + table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column)) end return cluePositions diff --git a/unpacked/Custom_Tile Playermat 1 White 8b081b.ttslua b/unpacked/Custom_Tile Playermat 1 White 8b081b.ttslua index 9685c5607..a789501f8 100644 --- a/unpacked/Custom_Tile Playermat 1 White 8b081b.ttslua +++ b/unpacked/Custom_Tile Playermat 1 White 8b081b.ttslua @@ -1337,9 +1337,9 @@ do local pos = card.getPosition() local cluePositions = { } for i = 1, count do - local row = math.floor(1 + (i - 1) / 4) - local column = (i - 1) % 4 - table.insert(cluePositions, Vector(pos.x + 1.5 - 0.55 * row, pos.y + 0.15, pos.z - 0.825 + 0.55 * column)) + local column = math.floor((i - 1) / 4) + local row = (i - 1) % 4 + table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column)) end return cluePositions diff --git a/unpacked/Custom_Tile Playermat 2 Orange bd0ff4.ttslua b/unpacked/Custom_Tile Playermat 2 Orange bd0ff4.ttslua index 7107edbdc..129a6610f 100644 --- a/unpacked/Custom_Tile Playermat 2 Orange bd0ff4.ttslua +++ b/unpacked/Custom_Tile Playermat 2 Orange bd0ff4.ttslua @@ -1337,9 +1337,9 @@ do local pos = card.getPosition() local cluePositions = { } for i = 1, count do - local row = math.floor(1 + (i - 1) / 4) - local column = (i - 1) % 4 - table.insert(cluePositions, Vector(pos.x + 1.5 - 0.55 * row, pos.y + 0.15, pos.z - 0.825 + 0.55 * column)) + local column = math.floor((i - 1) / 4) + local row = (i - 1) % 4 + table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column)) end return cluePositions diff --git a/unpacked/Custom_Tile Playermat 3 Green 383d8b.ttslua b/unpacked/Custom_Tile Playermat 3 Green 383d8b.ttslua index 00ed69d88..9d450f951 100644 --- a/unpacked/Custom_Tile Playermat 3 Green 383d8b.ttslua +++ b/unpacked/Custom_Tile Playermat 3 Green 383d8b.ttslua @@ -1337,9 +1337,9 @@ do local pos = card.getPosition() local cluePositions = { } for i = 1, count do - local row = math.floor(1 + (i - 1) / 4) - local column = (i - 1) % 4 - table.insert(cluePositions, Vector(pos.x + 1.5 - 0.55 * row, pos.y + 0.15, pos.z - 0.825 + 0.55 * column)) + local column = math.floor((i - 1) / 4) + local row = (i - 1) % 4 + table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column)) end return cluePositions diff --git a/unpacked/Custom_Tile Playermat 4 Red 0840d5.ttslua b/unpacked/Custom_Tile Playermat 4 Red 0840d5.ttslua index ecf5a185f..bb583fc7c 100644 --- a/unpacked/Custom_Tile Playermat 4 Red 0840d5.ttslua +++ b/unpacked/Custom_Tile Playermat 4 Red 0840d5.ttslua @@ -1337,9 +1337,9 @@ do local pos = card.getPosition() local cluePositions = { } for i = 1, count do - local row = math.floor(1 + (i - 1) / 4) - local column = (i - 1) % 4 - table.insert(cluePositions, Vector(pos.x + 1.5 - 0.55 * row, pos.y + 0.15, pos.z - 0.825 + 0.55 * column)) + local column = math.floor((i - 1) / 4) + local row = (i - 1) % 4 + table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column)) end return cluePositions diff --git a/unpacked/Custom_Token Playarea 721ba2.ttslua b/unpacked/Custom_Token Playarea 721ba2.ttslua index b68389296..08c552c50 100644 --- a/unpacked/Custom_Token Playarea 721ba2.ttslua +++ b/unpacked/Custom_Token Playarea 721ba2.ttslua @@ -1089,9 +1089,9 @@ do local pos = card.getPosition() local cluePositions = { } for i = 1, count do - local row = math.floor(1 + (i - 1) / 4) - local column = (i - 1) % 4 - table.insert(cluePositions, Vector(pos.x + 1.5 - 0.55 * row, pos.y + 0.15, pos.z - 0.825 + 0.55 * column)) + local column = math.floor((i - 1) / 4) + local row = (i - 1) % 4 + table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column)) end return cluePositions