Skip to content

Instantly share code, notes, and snippets.

@stephanethomas
Last active April 10, 2020 05:52
Show Gist options
  • Save stephanethomas/95b3b77787a6c6ba94803553a82d1147 to your computer and use it in GitHub Desktop.
Save stephanethomas/95b3b77787a6c6ba94803553a82d1147 to your computer and use it in GitHub Desktop.
gameStarted = false
discoveryTilePos = {
{-22.29, 1.6, -5.03},
{-16.96, 1.6, -3.70},
{-11.67, 1.6, -1.51},
{-11.67, 1.6, -6.27},
{-32.65, 1.6, -21.02},
{19.10, 1.6, -21.02},
{32.78, 1.6, 20.53},
{-0.88, 1.6, 20.22},
{-18.97, 1.6, 20.53},
------
{11.51, 1.6, -4.78},
{11.51,1.6, -0.04},
{11.51, 1.6, 3.49},
}
discoveryTileRot = {
{0.00, 180.00, 0.00},
{0.00, 180.00, 0.00},
{0.00, 180.00, 0.00},
{0.00, 180.00, 0.00},
{0.00, 180.00, 0.00},
{0.00, 180.00, 0.00},
{0, 0, 0},
{0.00, 0.00, 0.00},
{0.00, 0.00, 0.00},
------
{0.00, 180.00, 0.00},
{0.00, 180.00, 0.00},
{0.00, 180.00, 0.00},
}
templeTilePos = {
{-22.34, 1.03, 3.15},
{-16.94, 1.03, 3.38},
{-11.66, 1.03, 4.41},
}
techTilePos = {
{28.61, 1.03, -4.03},
{28.61, 1.03, 0.75},
{28.61, 1.03, 5.56},
{33.13, 1.03, -4.00},
{33.13, 1.03, 0.78},
{33.13, 1.03, 5.56}
}
TilePos = {
{0.10, 1.30, -17.34},
{3.61, 1.30, -17.34},
{7.14, 1.30, -17.34}
}
mod5Pos ={
{-54.22, 1.05, -2.87},
{-50.53, 1.11, -2.93},
{-46.97, 1.16, -2.95}
}
DecorPos = {
{-20.65, 1.3, -15.94},
{-20.63, 1.3, -17.63},
{-20.63, 1.3, -19.31},
{-20.63, 1.3, -20.98},
{-41.56, 0.91, 1.63},
{-41.51, 0.91, -0.06},
{-41.55, 0.91, -1.77},
{-41.58, 0.91, -3.46}
}
DecorPosMod4 = {
{-41.56, 0.91, 1.63},
{-41.51, 0.91, -0.06},
{-41.55, 0.91, -1.77},
{-41.58, 0.91, -3.46}
}
OrangePos = {
{42.19, 0.76, -8.92},
{43.19, 0.75, -8.89},
{44.16, 0.73, -8.84},
{45.23, 0.72, -8.88},
{53.28, 0.69, -8.70},
{53.31, 0.69, -9.59},
{53.39, 0.69, -10.43},
{54.61, 0.67, -8.70},
{54.63, 0.67, -9.56},
{54.72, 0.67, -10.43},
{56.15, 0.65, -8.74},
{56.18, 0.65, -9.60},
{56.27, 0.65, -10.47},
{57.65, 0.63, -8.73},
{57.68, 0.63, -9.59},
{57.77, 0.62, -10.46}
}
OrangeTiles = {
{43.48, 0.82, -3.27},
{43.35, 0.82, 4.52},
}
function onLoad(data)
data = JSON.decode(data)
if(data and data.gameStarted)
then
gameStarted = true
return true
end
getObjectFromGUID("3d6273").createButton({
click_function = "StartGame",
function_owner = Global,
label = "Start Game",
position = {0,0.3,-0.1},
scale = {0.05,0.05,0.05},
width = 1800,
height = 500,
font_size = 300,
})
getObjectFromGUID("3d6273").createButton({
click_function = "Player2",
function_owner = Global,
label = "2 Players",
position = {0,0.3,-0.05},
scale = {0.05,0.05,0.05},
width = 1800,
height = 500,
font_size = 300,
})
getObjectFromGUID("3d6273").createButton({
click_function = "Player3",
function_owner = Global,
label = "3 Players",
position = {0,0.3,0},
scale = {0.05,0.05,0.05},
width = 1800,
height = 500,
font_size = 300,
})
getObjectFromGUID("3d6273").createButton({
click_function = "Player4",
function_owner = Global,
label = "4 Players",
position = {0,0.3,0.05},
scale = {0.05,0.05,0.05},
width = 1800,
height = 500,
font_size = 300,
})
getObjectFromGUID("3d6273").createButton({
click_function = "FirstPlay",
function_owner = Global,
label = "First Play",
position = {0,0.3,0.1},
scale = {0.05,0.05,0.05},
width = 1800,
height = 500,
font_size = 300,
})
getObjectFromGUID("3d6273").createButton({
click_function = "Xitle",
function_owner = Global,
label = "Shadow of Xitle",
position = {-0.23, 0.3, -0.1},
scale = {0.05,0.05,0.05},
width = 2400,
height = 500,
font_size = 200,
tooltip = "Shadow of Xitle is for an expert start to the classic Teotihuacan. With a focus on resource optimization and turning additional resources into other resources, or points. This conversion requires a strong understanding of what the game requires as time goes on to be used effectively.",
})
getObjectFromGUID("3d6273").createButton({
click_function = "module1",
function_owner = Global,
label = "Module 1 - Asymmetric Characters",
position = {0.28, 0.3, -0.1},
scale = {0.05,0.05,0.05},
width = 3400,
height = 500,
font_size = 200,
tooltip = "Gives each player the choice of one of two unique characters with powers that greatly guide the path of your game and sometimes negatively in others."
})
getObjectFromGUID("3d6273").createButton({
click_function = "module2",
function_owner = Global,
label = "Module 2 - Orange Track",
position = {0.28, 0.3, -0.05},
scale = {0.05,0.05,0.05},
width = 3400,
height = 500,
font_size = 200,
tooltip = "Adds a 4th track (orange) that empowers your workers in addition to being able to obtain game changing passive effects for the remainder of the game. Also replaces the building board with a new worship zone."
})
getObjectFromGUID("3d6273").createButton({
click_function = "module3",
function_owner = Global,
label = "Module 3 - Seasons",
position = {0.28, 0.3, 0.00},
scale = {0.05,0.05,0.05},
width = 3400,
height = 500,
font_size = 200,
tooltip = "Adds the season board that changes the dynamic of the year with persistent board effects, refreshing each eclipse."
})
getObjectFromGUID("3d6273").createButton({
click_function = "module4",
function_owner = Global,
label = "Module 4 - Advanced Decorations",
position = {0.28, 0.3, 0.05},
scale = {0.05,0.05,0.05},
width = 3400,
height = 500,
font_size = 200,
tooltip = "Upgrades the decoration tile to a more choice worthy option. Moves all decoration tiles to the season board."
})
getObjectFromGUID("3d6273").createButton({
click_function = "module5",
function_owner = Global,
label = "Module 5 - Advanced Pyramid",
position = {0.28, 0.3, 0.1},
scale = {0.05,0.05,0.05},
width = 3400,
height = 500,
font_size = 200,
tooltip = "The development module expands the capability of the Pyrmamid actions, adding more incentive to having higher level workers on the action space."
})
end
function onSave()
local data = {}
data.gameStarted = gameStarted
return JSON.encode(data)
end
-- Variable Setup
preclassic_status = 0
Xitle_picked = 0
FirstPlays = 0
mod1 = 0
mod2 = 0
mod3 = 0
mod4 = 0
mod5 = 0
function FirstPlay()
if FirstPlays == 0 then
getObjectFromGUID("3d6273").editButton({
index = 4,
label = ">First Play<",
})
FirstPlays = 1
else
getObjectFromGUID("3d6273").editButton({
index = 4,
label = "First Play",
})
FirstPlays = 0
end
end
function Player2()
getObjectFromGUID("3d6273").editButton({
index = 1,
label = ">2 Players<",
})
getObjectFromGUID("3d6273").editButton({
index = 2,
label = "3 Players",
})
getObjectFromGUID("3d6273").editButton({
index = 3,
label = "4 Players",
})
Players = 2
end
function Player3()
getObjectFromGUID("3d6273").editButton({
index = 1,
label = "2 Players",
})
getObjectFromGUID("3d6273").editButton({
index = 2,
label = ">3 Players<",
})
getObjectFromGUID("3d6273").editButton({
index = 3,
label = "4 Players",
})
Players = 3
end
function Player4()
getObjectFromGUID("3d6273").editButton({
index = 1,
label = "2 Players",
})
getObjectFromGUID("3d6273").editButton({
index = 2,
label = "3 Players",
})
getObjectFromGUID("3d6273").editButton({
index = 3,
label = ">4 Players<",
})
Players = 4
end
function Preclassic()
if preclassic_status == 0 then
getObjectFromGUID("3d6273").editButton({
index = 5,
label = "[X] Preclassic Era",
})
preclassic_status = 1
else
getObjectFromGUID("3d6273").editButton({
index = 5,
label = "[ ] Preclassic Era",
})
preclassic_status = 0
end
end
function Xitle()
if Xitle_picked == 0 then
getObjectFromGUID("3d6273").editButton({
index = 5,
label = "Shadow of Xitle | √",
})
Xitle_picked = 1
else
getObjectFromGUID("3d6273").editButton({
index = 5,
label = "Shadow of Xitle",
})
Xitle_picked = 0
end
end
function module1()
if mod1 == 0 then
getObjectFromGUID("3d6273").editButton({
index = 6,
label = "Module 1 - Asymmetric Characters | √",
})
mod1 = 1
else
getObjectFromGUID("3d6273").editButton({
index = 6,
label = "Module 1 - Asymmetric Characters",
})
mod1 = 0
end
end
function module2()
if mod2 == 0 then
getObjectFromGUID("3d6273").editButton({
index = 7,
label = "Module 2 - Orange Track | √",
})
mod2 = 1
else
getObjectFromGUID("3d6273").editButton({
index = 7,
label = "Module 2 - Orange Track",
})
mod2 = 0
end
end
function module3()
if mod3 == 0 then
getObjectFromGUID("3d6273").editButton({
index = 8,
label = "Module 3 - Seasons | √",
})
mod3 = 1
else
getObjectFromGUID("3d6273").editButton({
index = 8,
label = "Module 3 - Seasons",
})
mod3 = 0
end
end
function module4()
if mod4 == 0 then
getObjectFromGUID("3d6273").editButton({
index = 9,
label = "Module 4 - Advanced Decorations | √",
})
mod4 = 1
else
getObjectFromGUID("3d6273").editButton({
index = 9,
label = "Module 4 - Advanced Decorations",
})
mod4 = 0
end
end
function module5()
if mod5 == 0 then
getObjectFromGUID("3d6273").editButton({
index = 10,
label = "Module 5 - Advanced Pyramid | √",
})
mod5 = 1
else
getObjectFromGUID("3d6273").editButton({
index = 10,
label = "Module 5 - Advanced Pyramid",
})
mod5 = 0
end
end
startingDeck = '883bc8'
xTiles = 'ef2402'
startingTech = '53d7a7'
xTech = 'eb588c'
finalTiles = '883bc8'
oldTiles = '883bc8'
finalTech = '53d7a7'
oldTech = '53d7a7'
Players = 0
function StartGame()
if Players != 0 then
if FirstPlays == 1 then
DiscStart(Players)
DecorStart()
TilesStart()
getObjectFromGUID("883bc8").shuffle()
getObjectFromGUID("883bc8").deal(4)
getObjectFromGUID("3d6273").removeButton(0)
getObjectFromGUID("3d6273").removeButton(1)
getObjectFromGUID("3d6273").removeButton(2)
getObjectFromGUID("3d6273").removeButton(3)
getObjectFromGUID("3d6273").removeButton(4)
getObjectFromGUID("3d6273").removeButton(5)
getObjectFromGUID("3d6273").removeButton(6)
getObjectFromGUID("3d6273").removeButton(7)
getObjectFromGUID("3d6273").removeButton(8)
getObjectFromGUID("3d6273").removeButton(9)
getObjectFromGUID("3d6273").removeButton(10)
getObjectFromGUID("9a6715").destruct()
getObjectFromGUID("04adbd").destruct()
getObjectFromGUID("24cf3d").destruct()
getObjectFromGUID("4b0ec7").destruct()
getObjectFromGUID("53d7a7").destruct()
if Players == 2 then
getObjectFromGUID("41bff1").setPositionSmooth({20.32, 0.96, -7.32})
getObjectFromGUID("0c9a6a").shuffle()
for s=1 , 14 do
getObjectFromGUID("0c9a6a").takeObject({
position = TilePosTemple2[s],
rotation = {0.00, 270.00, 0.00}
})
end
elseif Players == 3 then
getObjectFromGUID("41bff1").setPositionSmooth({18.17, 0.96, -8.16})
getObjectFromGUID("0c9a6a").shuffle()
for s=1 , 10 do
getObjectFromGUID("0c9a6a").takeObject({
position = TilePosTemple3[s],
rotation = {0.00, 270.00, 0.00}
})
end
elseif Players == 4 then
getObjectFromGUID("0c9a6a").shuffle()
for s=1 , 8 do
getObjectFromGUID("0c9a6a").takeObject({
position = TilePosTemple4[s],
rotation = {0.00, 270.00, 0.00}
})
end
end
else
DiscStart(Players)
TempleStart()
DecorStart()
Wait.Time(TilesStart, 2)
--- shadow of xitle chosen
if Xitle_picked == 1 then
XitTiles()
else
-- turn into object
oldTiles = getObjectFromGUID(oldTiles)
Wait.time(|| shuffler(oldTiles), 1)
end
-- initiate module 1
if mod1 == 1 then
getObjectFromGUID("d5b9cc").takeObject({
position = {68.20, 0.45, 32.13},
})
Wait.time(|| getObjectFromGUID("e2945f").shuffle(), 1)
Wait.time(|| getObjectFromGUID("e2945f").deal(2), 1)
else
end
-- initiate module 2
if mod2 == 1 then
getObjectFromGUID("845057").destruct()
-- move new orange building board from platform to improve deployment reliability
getObjectFromGUID("4b08e0").setPositionSmooth({-30.87, 0.77, -0.27})
getObjectFromGUID("4b08e0").setRotationSmooth({359.92, 269.99, 0.02})
-- move new orange track boards
getObjectFromGUID("b3f221").setPositionSmooth({49.03, 0.56, 0.26})
getObjectFromGUID("b3f221").setRotationSmooth({0.02, 180.00, 0.84})
-- pull new boards out of bag
-- getObjectFromGUID("d6f7d5").takeObject({
-- position = {-30.87, 0.77, -0.27},
-- rotation = {359.92, 269.99, 0.02},
-- })
-- getObjectFromGUID("d6f7d5").takeObject({
-- position = {49.03, 0.56, 0.26},
-- rotation = {0.02, 180.00, 0.84},
-- })
Wait.time(function() getObjectFromGUID("12b7a4").takeObject({position = {-33.66, 0.90, 6.71},rotation = {359.92, 270.00, 180.02}, flip = true,}) end, 1)
Wait.time(dealOrange, 2)
Wait.time(lockBoards, 1)
else
end
-- initiate module 3
if mod3 == 1 then
extractSeason()
getObjectFromGUID("938e59").takeObject({
position = {68.78, 0.46, 27.59},
rotation = {359.98, 0.00, 179.92},
})
Wait.time(|| getObjectFromGUID("dfaf88").shuffle(), 1)
Wait.time(drawSeason, 1)
Wait.time(lockBoards, 1)
Wait.time(function() getObjectFromGUID("12b7a4").takeObject({position = {-33.63, 0.90, 6.64},rotation = {359.92, 269.99, 0.02},}) end, 2)
else
end
-- initiate module 4
if mod4 == 1 then
getObjectFromGUID("efcca1").destruct()
if mod3 == 0 then
extractSeason()
else
end
-- Pull new decoration board from platform to save resources
getObjectFromGUID("a4ae5a").setPositionSmooth({-26.11, 0.76, -18.38})
getObjectFromGUID("a4ae5a").setRotationSmooth({0.02, 179.99, 0.08})
-- Pull decoration board from module 4 bag
-- getObjectFromGUID("329249").takeObject({
-- position = {-26.11, 0.76, -18.38},
-- rotation = {0.02, 179.99, 0.08},
-- })
Wait.time(lockBoards, 1)
else
end
---- initiate module 5
if mod5 == 1 then
-- pull pyramid board from platform
getObjectFromGUID("6e42ec").setPositionSmooth({0.17, 0.72, -18.38})
getObjectFromGUID("6e42ec").setRotationSmooth({0.02, 179.99, 0.08})
-- getObjectFromGUID("9d53a5").takeObject({
-- position = {0.17, 0.72, -18.38},
-- rotation = {0.02, 179.99, 0.08},
-- })
if mod3 == 0 and mod4 == 0 then
extractSeason()
Wait.time(lockBoards, 1)
else
Wait.time(lockBoards, 1)
end
else
end
Wait.time(|| codeDeal(oldTiles, 4), 2)
Wait.time(|| TechStart(), 3)
getObjectFromGUID("9a6715").shuffle()
getObjectFromGUID("04adbd").shuffle()
getObjectFromGUID("24cf3d").shuffle()
getObjectFromGUID("9a6715").interactable = false
getObjectFromGUID("04adbd").interactable = false
getObjectFromGUID("24cf3d").interactable = false
getObjectFromGUID("3d6273").removeButton(0)
getObjectFromGUID("3d6273").removeButton(1)
getObjectFromGUID("3d6273").removeButton(2)
getObjectFromGUID("3d6273").removeButton(3)
getObjectFromGUID("3d6273").removeButton(4)
getObjectFromGUID("3d6273").removeButton(5)
getObjectFromGUID("3d6273").removeButton(6)
getObjectFromGUID("3d6273").removeButton(7)
getObjectFromGUID("3d6273").removeButton(8)
getObjectFromGUID("3d6273").removeButton(9)
getObjectFromGUID("3d6273").removeButton(10)
if Players == 2 then
getObjectFromGUID("41bff1").setPositionSmooth({20.32, 0.96, -7.32})
getObjectFromGUID("0c9a6a").shuffle()
for s=1 , 14 do
getObjectFromGUID("0c9a6a").takeObject({
position = TilePosTemple2[s],
rotation = {0.00, 270.00, 0.00}
})
end
elseif Players == 3 then
getObjectFromGUID("41bff1").setPositionSmooth({18.17, 0.96, -8.16})
getObjectFromGUID("0c9a6a").shuffle()
for s=1 , 10 do
getObjectFromGUID("0c9a6a").takeObject({
position = TilePosTemple3[s],
rotation = {0.00, 270.00, 0.00}
})
end
elseif Players == 4 then
getObjectFromGUID("0c9a6a").shuffle()
for s=1 , 8 do
getObjectFromGUID("0c9a6a").takeObject({
position = TilePosTemple4[s],
rotation = {0.00, 270.00, 0.00}
})
end
end
end
else
broadcastToAll("Choose number of players", {1,0,0})
end
gameStarted = true
end
TilePosTemple2 = {
{-4.79, 1.30, 4.48},
{-1.60, 1.30, 4.48},
{-4.79, 1.30, 1.29},
{-1.60, 1.30, 1.29},
{-4.79, 1.30, -1.90},
{-1.60, 1.30, -1.88},
{1.60, 1.30, 1.29},
{4.78, 1.30, 1.29},
{1.59, 1.30, -1.90},
{4.78, 1.30, -1.90},
{4.78, 1.30, -5.09},
{1.59, 1.30, -5.09},
{-3.15, 2, 2.85},
{3.23, 2, -3.52},
}
TilePosTemple3 = {
{-4.79, 1.30, 1.29},
{-1.60, 1.30, 1.29},
{-1.60, 1.30, -1.88},
{-4.79, 1.30, -1.90},
{1.60, 1.30, 1.29},
{4.78, 1.30, 1.29},
{4.78, 1.30, -1.90},
{1.59, 1.30, -1.90},
{3.22, 1.99, -0.34},
{-3.16, 1.99, -0.34}
}
TilePosTemple4 = {
{-4.79, 1.30, 1.29},
{-4.79, 1.30, -1.90},
{-1.60, 1.30, 4.48},
{1.60, 1.30, 4.49},
{4.78, 1.30, 1.29},
{4.78, 1.30, -1.90},
{1.59, 1.30, -5.09},
{-1.59, 1.30, -5.09}
}
function extractSeason()
getObjectFromGUID("5c5c9f").setPositionSmooth({-47.48, 0.76, -0.87})
getObjectFromGUID("5c5c9f").setRotationSmooth({0.02, 179.99, 359.15})
end
function drawSeason()
getObjectFromGUID("dfaf88").takeObject({
position = {-53.00, 0.80, 1.07},
rotation = {0.02, 180.00, 179.16},
flip = true,
})
end
function lockBoards()
if mod2 == 1 then
getObjectFromGUID("b3f221").interactable = false
getObjectFromGUID("4b08e0").interactable = false
end
if mod3 == 1 then
getObjectFromGUID("5c5c9f").interactable = false
end
if mod4 == 1 then
getObjectFromGUID("a4ae5a").interactable = false
getObjectFromGUID("5c5c9f").interactable = false
end
if mod5 == 1 then
getObjectFromGUID("6e42ec").interactable = false
end
end
function dealOrange()
for o=1, 16 do
getObjectFromGUID("d6f7d5").takeObject({position = OrangePos[o]})
end
for x=1, Players do
getObjectFromGUID("12b7a4").takeObject({position = OrangeTiles[1], rotation = {0.02, 180.00, 0.84}, flip = true,})
end
getObjectFromGUID("4b0ec7").takeObject({position = OrangeTiles[2], rotation = {0.02, 180.00, 0.84}, flip = true,})
end
function XitTiles()
-- add starting tiles
finalTech = xTech
local newTiles = getObjectFromGUID(xTiles)
oldTiles = getObjectFromGUID(startingDeck)
local startingTilePos = oldTiles.getPosition()
newTiles.setPosition(startingTilePos, false, true)
-- add starting technologies
local newTech = getObjectFromGUID(xTech)
oldTech = getObjectFromGUID(startingTech)
local startingTechPos = oldTech.getPosition()
newTech.setPosition(startingTechPos, false, true)
Wait.time(|| shuffler(oldTiles), 1)
end
function shuffler(pile)
pile.shuffle()
end
function codeDeal(deck, amount)
deck.deal(amount)
end
function TempleStart()
getObjectFromGUID("4b0ec7").shuffle()
for o=1 , 3 do
getObjectFromGUID("4b0ec7").takeObject({
position = templeTilePos[o],
flip = true,
})
end
if mod4 == 1 then
-- deal one more to orange
end
end
function DecorStart()
if mod4 == 1 then
Wait.time(function() getObjectFromGUID("de8856").setPositionSmooth({-47.77, 0.89, 1.65}) end, 1)
Wait.time(function() getObjectFromGUID("de8856").shuffle() end, 1)
Wait.time(shiftDecor, 3)
else
getObjectFromGUID("de8856").shuffle()
for s=1 , 4 do
getObjectFromGUID("de8856").takeObject({
position = DecorPos[s],
flip = true,
})
end
end
end
function shiftDecor()
for x=1 , 4 do
getObjectFromGUID("de8856").takeObject({
position = DecorPosMod4[x],
flip = true,
})
end
end
function TilesStart()
getObjectFromGUID("0c9a6a").shuffle()
if mod5 == 1
then
for s=1 , 3 do
getObjectFromGUID("0c9a6a").takeObject({
position = mod5Pos[s],
rotation = {0.00, 270.00, 0.00}
})
end
else
for s=1 , 3 do
getObjectFromGUID("0c9a6a").takeObject({
position = TilePos[s],
rotation = {0.00, 270.00, 0.00}
})
end
end
end
function TechStart()
getObjectFromGUID(finalTech).shuffle()
for s=1 , 6 do
getObjectFromGUID(finalTech).takeObject({
position = techTilePos[s],
flip = true,
})
end
end
function DiscStart()
getObjectFromGUID("12b7a4").shuffle()
for w=1, Players do
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[1],
rotation = discoveryTileRot[1],
flip = true,
})
end
for z=1, Players+1 do
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[2],
rotation = discoveryTileRot[2],
flip = true,
})
end
for s=1, Players-1 do
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[4],
rotation = discoveryTileRot[4],
flip = true,
})
end
for s=1, Players do
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[3],
rotation = discoveryTileRot[3],
flip = true,
})
end
for z= 1, 5 do
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[z+4],
rotation = discoveryTileRot[z+4],
flip = true,
})
end
for p=1 , 3 do
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[10],
rotation = discoveryTileRot[10],
flip = true,
})
end
for p=1 , 2 do
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[11],
rotation = discoveryTileRot[11],
flip = true,
})
end
getObjectFromGUID("12b7a4").takeObject({
position = discoveryTilePos[12],
rotation = discoveryTileRot[12],
flip = true,
})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment