Skip to content

Commit

Permalink
4.1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
iakona committed Dec 12, 2023
1 parent de4d84f commit ad081fa
Show file tree
Hide file tree
Showing 159 changed files with 1,713 additions and 952 deletions.
2 changes: 1 addition & 1 deletion objects/0cad5e/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"posX": -50.099998474121094,
"posY": 0.9329411387443542,
"posZ": 56.29999923706055,
"rotX": -6.414558839651363e-08,
"rotX": -8.708996546147318e-08,
"rotY": 180.0,
"rotZ": 180.0,
"scaleX": 1.5299999713897705,
Expand Down
7 changes: 7 additions & 0 deletions objects/0dadff/contained/00aa5c/script-state.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"reminder": {
"field": "ImageSecondaryURL",
"height": 1.2995,
"width": 1.9503,
"x": 0.519,
"y": -0.0864
},
"thresholds": [
{
"elements": "00000200",
Expand Down
14 changes: 7 additions & 7 deletions objects/0dbf0f/object.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"Name": "Custom_Token",
"Transform": {
"posX": -52.92850112915039,
"posY": -0.10000000149011612,
"posZ": 60.48210144042969,
"posX": -50.694698333740234,
"posY": -0.7549999952316284,
"posZ": 69.59420013427734,
"rotX": -0.0,
"rotY": 180.0,
"rotZ": 0.0,
"scaleX": 0.8119999766349792,
"scaleX": 0.6000000238418579,
"scaleY": 1.0,
"scaleZ": 0.8119999766349792
"scaleZ": 0.6000000238418579
},
"Nickname": "NORMAL A",
"Nickname": "NORMAL B",
"Description": "",
"GMNotes": "",
"AltLookAngle": {
Expand Down Expand Up @@ -42,7 +42,7 @@
"HideWhenFaceDown": false,
"Hands": false,
"CustomImage": {
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1895469513173049727/ED8C799A5F30403BE8B266276A0D22C2871AA2C1/",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2308721072245059248/465BF72B0A091AFFD64731757DBB55430D574CA0/",
"ImageSecondaryURL": "",
"ImageScalar": 1.0,
"WidthScale": 0.0,
Expand Down
7 changes: 7 additions & 0 deletions objects/0e627b/contained/013dfc/script-state.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"broadcast": "When Gaining a Power Card, to keep an extra Power Card for your Days That Never Were, right click the \"Pick Power\" button.",
"reminder": {
"field": "ImageSecondaryURL",
"height": 1.6714,
"width": 2.5084,
"x": 0.5867,
"y": -0.2521
},
"thresholds": [
{
"elements": "03010000",
Expand Down
10 changes: 2 additions & 8 deletions objects/0e627b/contained/fddf31/script.lua
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
spiritName = "Fractured Days Split the Sky"

function doSetup(params)
local color = params.color
if not Global.getVar("gameStarted") then
Player[color].broadcast("Please wait for the game to start before pressing this button!", Color.Red)
return false
elseif color ~= Global.call("getSpiritColor", {name = "Fractured Days Split the Sky"}) then
Player[color].broadcast("You have not picked Fractured Days Split the Sky!", Color.Red)
return false
end

local position = Player[color].getHandTransform(2).position
position.z = position.z - 5.5
Global.call("SpawnHand", {color = color, position = position})
Expand Down
2 changes: 1 addition & 1 deletion objects/107788/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"ColorDiffuse": {
"r": 0.6534000039100647,
"g": 0.33289986848831177,
"g": 0.332899808883667,
"b": 0.9320999979972839
},
"Tags": [
Expand Down
4 changes: 2 additions & 2 deletions objects/114ff8/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"z": 0.0
},
"ColorDiffuse": {
"r": 0.08239992707967758,
"g": 0.05879995971918106,
"r": 0.0823998972773552,
"g": 0.05879993736743927,
"b": 0.03920000046491623
},
"Tags": [
Expand Down
2 changes: 1 addition & 1 deletion objects/125e82/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ColorDiffuse": {
"r": 0.8392000198364258,
"g": 0.5724999904632568,
"b": 0.39609989523887634
"b": 0.39609983563423157
},
"Tags": [
"Seat",
Expand Down
2 changes: 1 addition & 1 deletion objects/15990d/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Transform": {
"posX": -38.300010681152344,
"posY": 1.0,
"posZ": 48.510013580322266,
"posZ": 48.5100212097168,
"rotX": 90.0,
"rotY": 0.0,
"rotZ": 0.0,
Expand Down
1 change: 0 additions & 1 deletion objects/165f82/contained/a576cc/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
},
"Tags": [
"JE",
"Lower Spirit Image",
"Moderate",
"Spirit"
],
Expand Down
7 changes: 7 additions & 0 deletions objects/165f82/contained/a576cc/script-state.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"reminder": {
"field": "ImageURL",
"height": 1.6702,
"width": 2.5067,
"x": 0.7631,
"y": -0.3075
},
"thresholds": [
{
"elements": "00020001",
Expand Down
2 changes: 1 addition & 1 deletion objects/196f99/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Transform": {
"posX": 105.00003051757812,
"posY": 0.9599999785423279,
"posZ": -2.1700010299682617,
"posZ": -2.17000150680542,
"rotX": 90.0,
"rotY": 0.0,
"rotZ": 0.0,
Expand Down
4 changes: 2 additions & 2 deletions objects/19d429/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"z": 0.0
},
"ColorDiffuse": {
"r": 0.12829992175102234,
"g": 0.04659996181726456,
"r": 0.12829989194869995,
"g": 0.046599939465522766,
"b": 0.010700000450015068
},
"Tags": [
Expand Down
15 changes: 4 additions & 11 deletions objects/1a3d98/contained/241617/script.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
function doSetup(params)
local color = params.color
if not Global.getVar("gameStarted") then
Player[color].broadcast("Please wait for the game to start before pressing this button!", Color.Red)
return false
elseif color ~= Global.call("getSpiritColor", {name = "Lightning's Swift Strike"}) then
Player[color].broadcast("You have not picked Lightning's Swift Strike!", Color.Red)
return false
end
spiritName = "Lightning's Swift Strike"

local lightning = Global.call("getSpirit", {name = "Lightning's Swift Strike"})
function doSetup(params)
local lightning = Global.call("getSpirit", {name = spiritName})
local json = JSON.decode(lightning.script_state)
if not json.immense then
for _,data in pairs(json.trackEnergy) do
Expand All @@ -22,7 +15,7 @@ function doSetup(params)
end

function onDestroy()
local lightning = Global.call("getSpirit", {name = "Lightning's Swift Strike"})
local lightning = Global.call("getSpirit", {name = spiritName})
local json = JSON.decode(lightning.script_state)
if json.immense then
for _,data in pairs(json.trackEnergy) do
Expand Down
1 change: 0 additions & 1 deletion objects/1a3d98/contained/4a0884/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"Tags": [
"Base",
"Low",
"Lower Spirit Image",
"Spirit"
],
"LayoutGroupSortIndex": 0,
Expand Down
7 changes: 7 additions & 0 deletions objects/1a3d98/contained/4a0884/script-state.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"reminder": {
"field": "ImageSecondaryURL",
"height": 1.2698,
"width": 1.9057,
"x": 0.4996,
"y": -0.0638
},
"thresholds": [
{
"elements": "00320000",
Expand Down
12 changes: 6 additions & 6 deletions objects/1da681/object.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"Name": "Custom_Token",
"Transform": {
"posX": -50.7599983215332,
"posY": -0.10000000149011612,
"posZ": 54.810001373291016,
"posX": -45.12120056152344,
"posY": -0.7549999952316284,
"posZ": 71.43910217285156,
"rotX": -0.0,
"rotY": 180.0,
"rotZ": 0.0,
"scaleX": 0.8100000023841858,
"scaleX": 0.6000000238418579,
"scaleY": 1.0,
"scaleZ": 0.8100000023841858
"scaleZ": 0.6000000238418579
},
"Nickname": "NORMAL G",
"Description": "",
Expand Down Expand Up @@ -42,7 +42,7 @@
"HideWhenFaceDown": false,
"Hands": false,
"CustomImage": {
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2050879843778159452/609814EA84810D27B67E97C91E441F3D4301C4B9/",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2308721072245064321/45B703C37F42B0A3F9BFE48985F463335A2F97A2/",
"ImageSecondaryURL": "",
"ImageScalar": 1.0,
"WidthScale": 0.0,
Expand Down
2 changes: 1 addition & 1 deletion objects/1ea4cf/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function checkLoss()
local beasts = getObjectsWithTag("Beasts")
for _,obj in pairs(beasts) do
-- Count the beast if it's not in a player area, or if it is in a player area but over the island (e.g. the Endless Dark)
local isOnIsland = (#obj.getZones() == 0)
local isOnIsland = (#obj.getZones() == 0 and not obj.hasTag("Presence"))
if not isOnIsland then
local hits = Physics.cast({
origin = obj.getBounds().center,
Expand Down
34 changes: 27 additions & 7 deletions objects/1f095d/contained/0e8787/object.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"Name": "Custom_Token",
"Transform": {
"posX": 102.73770141601562,
"posY": 2.1689999103546143,
"posZ": 38.12300109863281,
"posX": -106.01570129394531,
"posY": 1.2877999544143677,
"posZ": 133.6020965576172,
"rotX": 0.0,
"rotY": 180.0,
"rotZ": 0.0,
"scaleX": 7.150000095367432,
"scaleX": 6.650000095367432,
"scaleY": 1.0,
"scaleZ": 7.150000095367432
"scaleZ": 6.650000095367432
},
"Nickname": "C",
"Description": "",
Expand Down Expand Up @@ -42,7 +42,7 @@
"HideWhenFaceDown": false,
"Hands": false,
"CustomImage": {
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1895469513173050050/0F371D1DF35AA44E0EBA967519E8778A21BD0711/",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2308721072245060182/C5A69D9CCC2E748DD080FA36226E67F3DBCADC0A/",
"ImageSecondaryURL": "",
"ImageScalar": 1.0,
"WidthScale": 0.0,
Expand All @@ -52,5 +52,25 @@
"StandUp": false,
"Stackable": false
}
}
},
"AttachedDecals": [
{
"Transform": {
"posX": 1.7307000160217285,
"posY": 0.20749999582767487,
"posZ": 0.08089999854564667,
"rotX": 90.0,
"rotY": 179.4980926513672,
"rotZ": 0.0,
"scaleX": 0.2696000039577484,
"scaleY": 0.266400009393692,
"scaleZ": 1.7716000080108643
},
"CustomDecal": {
"Name": "Dirty 2 Boat",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2308721072245362039/488B18C9D38481BDE5A13B0001D297437884D699/",
"Size": 1.0
}
}
]
}
42 changes: 21 additions & 21 deletions objects/1f095d/contained/0e8787/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@ posMap = {
} },
-- Land 2
{ {
x=0.778461538461538, y=0.7, z=0.213846153846154
x=0.778462469577789, y=0.7, z=0.213842749595642
}, {
x=1.16923076923077, y=0.7, z=0.216923076923077
x=1.16923379898071, y=0.7, z=0.21691569685936
}, {
x=1.13076923076923, y=0.7, z=-0.129230769230769
x=1.00514197349548, y=0.7, z=-0.109882481396198
}, {
x=0.786153846153846, y=0.7, z=-0.113846153846154
x=1.28506374359131, y=0.7, z=0.489777773618698
}, {
x=0.826153846153846, y=0.7, z=0.521538461538462
x=0.865199983119965, y=0.7, z=0.523668825626373
} },
-- Land 3
{ {
x=1.48923076923077, y=0.7, z=0.901538461538462
x=1.19798541069031, y=0.7, z=0.949151217937469
}, {
x=1.22923076923077, y=0.7, z=0.898461538461538
x=1.55753540992737, y=0.7, z=0.923320412635803
}, {
x=0.94, y=0.7, z=0.915384615384616
x=1.36988091468811, y=0.7, z=1.18786549568176
}, {
x=1.74769230769231, y=0.7, z=0.923076923076923
x=1.84446823596954, y=0.7, z=1.00353193283081
} },
-- Land 4
{ {
x=0.36, y=0.7, z=0.787692307692308
x=0.360675811767578, y=0.7, z=0.800610542297363
}, {
x=-0.0953846153846155, y=0.7, z=0.796923076923077
x=-0.374241799116135, y=0.7, z=0.954020380973816
}, {
x=-0.561538461538462, y=0.7, z=0.810769230769231
x=0.0107099795714021, y=0.7, z=0.898428499698639
} },
-- Land 5
{ {
Expand All @@ -61,25 +61,25 @@ posMap = {
} },
-- Land 7
{ {
x=-0.787692307692308, y=0.7, z=-0.14
x=-0.791155099868774, y=0.7, z=-0.1283058822155
}, {
x=-0.943076923076924, y=0.7, z=0.056923076923077
x=-1.17007374763489, y=0.7, z=-0.14752721786499
}, {
x=-0.787692307692308, y=0.7, z=0.156923076923077
x=-0.966049253940582, y=0.7, z=0.226053789258003
}, {
x=-1.04561519622803, y=0.7, z=0.367100417613983
x=-1.20735359191895, y=0.7, z=0.444981813430786
} },
-- Land 8
{ {
x=-1.50615384615385, y=0.7, z=-0.933846153846153
x=-1.47859072685242, y=0.7, z=-0.914169609546661
}, {
x=-1.28, y=0.7, z=-0.661538461538461
x=-1.78907954692841, y=0.7, z=-1.04244077205658
}, {
x=-1.21230769230769, y=0.7, z=-0.93076923076923
x=-1.26716983318329, y=0.7, z=-1.19797778129578
}, {
x=-1.27230769230769, y=0.7, z=-1.19538461538462
x=-1.55832231044769, y=0.7, z=-1.2252504825592
}, {
x=-1.79538461538462, y=0.7, z=-0.970769230769231
x=-1.42264628410339, y=0.7, z=-0.615060031414032
} } }

pieceMap = { { "Dahan" }, { "City" }, { "Dahan" , "Dahan" }, {}, { "Dahan" , "Dahan" , "Box Blight" }, { "Dahan" }, { "Town" }, {} }
Loading

0 comments on commit ad081fa

Please sign in to comment.