Fix positioning of all clue spawners
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
parent
8874a1410e
commit
47d7fc2276
@ -528,9 +528,9 @@ do
|
|||||||
local pos = card.getPosition()
|
local pos = card.getPosition()
|
||||||
local cluePositions = { }
|
local cluePositions = { }
|
||||||
for i = 1, count do
|
for i = 1, count do
|
||||||
local row = math.floor(1 + (i - 1) / 4)
|
local column = math.floor((i - 1) / 4)
|
||||||
local column = (i - 1) % 4
|
local row = (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))
|
table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column))
|
||||||
end
|
end
|
||||||
|
|
||||||
return cluePositions
|
return cluePositions
|
||||||
|
@ -1337,9 +1337,9 @@ do
|
|||||||
local pos = card.getPosition()
|
local pos = card.getPosition()
|
||||||
local cluePositions = { }
|
local cluePositions = { }
|
||||||
for i = 1, count do
|
for i = 1, count do
|
||||||
local row = math.floor(1 + (i - 1) / 4)
|
local column = math.floor((i - 1) / 4)
|
||||||
local column = (i - 1) % 4
|
local row = (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))
|
table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column))
|
||||||
end
|
end
|
||||||
|
|
||||||
return cluePositions
|
return cluePositions
|
||||||
|
@ -1337,9 +1337,9 @@ do
|
|||||||
local pos = card.getPosition()
|
local pos = card.getPosition()
|
||||||
local cluePositions = { }
|
local cluePositions = { }
|
||||||
for i = 1, count do
|
for i = 1, count do
|
||||||
local row = math.floor(1 + (i - 1) / 4)
|
local column = math.floor((i - 1) / 4)
|
||||||
local column = (i - 1) % 4
|
local row = (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))
|
table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column))
|
||||||
end
|
end
|
||||||
|
|
||||||
return cluePositions
|
return cluePositions
|
||||||
|
@ -1337,9 +1337,9 @@ do
|
|||||||
local pos = card.getPosition()
|
local pos = card.getPosition()
|
||||||
local cluePositions = { }
|
local cluePositions = { }
|
||||||
for i = 1, count do
|
for i = 1, count do
|
||||||
local row = math.floor(1 + (i - 1) / 4)
|
local column = math.floor((i - 1) / 4)
|
||||||
local column = (i - 1) % 4
|
local row = (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))
|
table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column))
|
||||||
end
|
end
|
||||||
|
|
||||||
return cluePositions
|
return cluePositions
|
||||||
|
@ -1337,9 +1337,9 @@ do
|
|||||||
local pos = card.getPosition()
|
local pos = card.getPosition()
|
||||||
local cluePositions = { }
|
local cluePositions = { }
|
||||||
for i = 1, count do
|
for i = 1, count do
|
||||||
local row = math.floor(1 + (i - 1) / 4)
|
local column = math.floor((i - 1) / 4)
|
||||||
local column = (i - 1) % 4
|
local row = (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))
|
table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column))
|
||||||
end
|
end
|
||||||
|
|
||||||
return cluePositions
|
return cluePositions
|
||||||
|
@ -1089,9 +1089,9 @@ do
|
|||||||
local pos = card.getPosition()
|
local pos = card.getPosition()
|
||||||
local cluePositions = { }
|
local cluePositions = { }
|
||||||
for i = 1, count do
|
for i = 1, count do
|
||||||
local row = math.floor(1 + (i - 1) / 4)
|
local column = math.floor((i - 1) / 4)
|
||||||
local column = (i - 1) % 4
|
local row = (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))
|
table.insert(cluePositions, Vector(pos.x - 1 + 0.55 * row, pos.y, pos.z - 1.4 - 0.55 * column))
|
||||||
end
|
end
|
||||||
|
|
||||||
return cluePositions
|
return cluePositions
|
||||||
|
Loading…
Reference in New Issue
Block a user