Skip to content

Commit

Permalink
4.0.3 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
iakona committed Sep 12, 2023
1 parent b04aed6 commit c0f74fa
Show file tree
Hide file tree
Showing 70 changed files with 278 additions and 132 deletions.
2 changes: 1 addition & 1 deletion objects/029995/object.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "Custom_Model_Bag",
"Transform": {
"posX": 104.45459747314453,
"posX": 107.54959869384766,
"posY": 0.6000000238418579,
"posZ": 61.03630065917969,
"rotX": -0.0,
Expand Down
26 changes: 20 additions & 6 deletions objects/029995/script.lua
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
empty = false
contents = {
-- Aid Cards
["1e477e"] = {{101.42, 0.82, 32.85},{0.00, 180.00, 0.00}},
["e58dc4"] = {{105.25, 0.82, 32.85},{0.00, 180.00, 180.00}},
["49913c"] = {{109.08, 0.82, 32.85},{0.00, 180.00, 180.00}},
["d1de40"] = {{101.42, 0.82, 27.57},{0.00, 180.00, 180.00}},
["e3a850"] = {{105.25, 0.82, 27.57},{0.00, 180.00, 0.00}},
["b16225"] = {{109.08, 0.82, 27.57},{0.00, 180.00, 0.00}},
["1e477e"] = {{101.42, 0.82, 9.8},{0.00, 180.00, 0.00}},
["e58dc4"] = {{105.25, 0.82, 9.8},{0.00, 180.00, 180.00}},
["49913c"] = {{109.08, 0.82, 9.8},{0.00, 180.00, 180.00}},
["d1de40"] = {{101.42, 0.82, 4.5},{0.00, 180.00, 180.00}},
["e3a850"] = {{105.25, 0.82, 4.5},{0.00, 180.00, 0.00}},
["b16225"] = {{109.08, 0.82, 4.5},{0.00, 180.00, 0.00}},
}
editors = "Editors"
rulebooks = "9f84fc"

function onLoad()
self.interactable = false
Expand Down Expand Up @@ -65,6 +67,7 @@ function toggleObjects()
end
empty = false
else
toggleBags()
for _, bagObject in pairs(self.getObjects()) do
self.takeObject({
guid = bagObject.guid,
Expand All @@ -84,3 +87,14 @@ function toggleObjects()
end
end, 1, -1)
end
function toggleBags()
local editorsBag = getObjectFromGUID(editors)
if editorsBag.getVar("empty") then
editorsBag.call("toggleObjects")
end

--[[local rulebooksBag = getObjectFromGUID(rulebooks)
if rulebooksBag.getVar("empty") then
rulebooksBag.call("toggleObjects")
end]]--
end
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": 5.276747572224849e-08,
"rotX": -6.696131293892904e-08,
"rotY": 180.0,
"rotZ": 180.0,
"scaleX": 1.5299999713897705,
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.33289992809295654,
"g": 0.3328997492790222,
"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.08239995688199997,
"g": 0.05879998207092285,
"r": 0.082399882376194,
"g": 0.05879990756511688,
"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.3960999548435211
"b": 0.3960997760295868
},
"Tags": [
"Seat",
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.12829995155334473,
"g": 0.04659997671842575,
"r": 0.12829986214637756,
"g": 0.04659990966320038,
"b": 0.010700000450015068
},
"Tags": [
Expand Down
4 changes: 2 additions & 2 deletions objects/239d5b/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"z": 0.0
},
"ColorDiffuse": {
"r": 0.08239995688199997,
"g": 0.05879998207092285,
"r": 0.082399882376194,
"g": 0.05879990756511688,
"b": 0.03920000046491623
},
"Tags": [
Expand Down
2 changes: 1 addition & 1 deletion objects/2ca216/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.3960999548435211
"b": 0.3960997760295868
},
"Tags": [
"Uninteractable"
Expand Down
2 changes: 1 addition & 1 deletion objects/308a01/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"posX": -50.099998474121094,
"posY": 0.9299384951591492,
"posZ": 46.220001220703125,
"rotX": 5.3795432108927344e-08,
"rotX": -6.537147356766582e-08,
"rotY": 180.0,
"rotZ": 180.0,
"scaleX": 1.5299999713897705,
Expand Down
2 changes: 1 addition & 1 deletion objects/33c4af/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.3960999548435211
"b": 0.3960997760295868
},
"Tags": [
"Seat",
Expand Down
3 changes: 2 additions & 1 deletion objects/37a592/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ end

function InvaderDeckSetup(params)
if params.level >= 2 then
local invaderCards = Global.getTable("invaderCards")
local stageIICount = 0
for i=1,#params.deck do
if params.deck[i] == 2 then
if params.deck[i] == 2 or (invaderCards[params.deck[i]] and invaderCards[params.deck[i]].stage == 2) then
stageIICount = stageIICount + 1
if stageIICount == 3 then
params.deck[i] = "C"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion objects/3d23e1/contained/index.list
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
08a6d1
c350c4
7d4baa
238f8d
1d6fe3
Expand Down
2 changes: 1 addition & 1 deletion objects/4a1ff8/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ColorDiffuse": {
"r": 0.0,
"g": 0.7215999960899353,
"b": 0.22259989380836487
"b": 0.22259971499443054
},
"Tags": [
"Uninteractable"
Expand Down
2 changes: 1 addition & 1 deletion objects/57d9fe/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"HideWhenFaceDown": false,
"Hands": false,
"Text": {
"Text": "version 4.0.2",
"Text": "version 4.0.3",
"colorstate": {
"r": 0.7333999872207642,
"g": 0.7333999872207642,
Expand Down
2 changes: 1 addition & 1 deletion objects/5c0d50/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"posX": -46.18000030517578,
"posY": 0.9973350167274475,
"posZ": 46.220001220703125,
"rotX": 1.0331380195793827e-09,
"rotX": 7.529125412020221e-08,
"rotY": 180.0,
"rotZ": 180.0,
"scaleX": 1.5299999713897705,
Expand Down
4 changes: 2 additions & 2 deletions objects/6b0f27/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"z": 0.0
},
"ColorDiffuse": {
"r": 0.08239995688199997,
"g": 0.05879998207092285,
"r": 0.082399882376194,
"g": 0.05879990756511688,
"b": 0.03920000046491623
},
"Tags": [
Expand Down
2 changes: 1 addition & 1 deletion objects/7019af/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ColorDiffuse": {
"r": 0.89410001039505,
"g": 0.8510000109672546,
"b": 0.3528999388217926
"b": 0.3528997600078583
},
"LayoutGroupSortIndex": 0,
"Value": 0,
Expand Down
2 changes: 1 addition & 1 deletion objects/76f418/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"ColorDiffuse": {
"r": 1.0,
"g": 0.3754999339580536,
"g": 0.3754997253417969,
"b": 0.0
},
"Tags": [
Expand Down
4 changes: 2 additions & 2 deletions objects/782f57/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"z": 0.0
},
"ColorDiffuse": {
"r": 0.08239995688199997,
"g": 0.05879998207092285,
"r": 0.082399882376194,
"g": 0.05879990756511688,
"b": 0.03920000046491623
},
"Tags": [
Expand Down
2 changes: 1 addition & 1 deletion objects/794c81/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.3960999548435211
"b": 0.3960997760295868
},
"Tags": [
"Seat",
Expand Down
4 changes: 2 additions & 2 deletions objects/82c5e4/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"z": 0.0
},
"ColorDiffuse": {
"r": 0.08239995688199997,
"g": 0.05879998207092285,
"r": 0.082399882376194,
"g": 0.05879990756511688,
"b": 0.03920000046491623
},
"Tags": [
Expand Down
4 changes: 2 additions & 2 deletions objects/837ddf/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"z": 0.0
},
"ColorDiffuse": {
"r": 0.08239995688199997,
"g": 0.05879998207092285,
"r": 0.082399882376194,
"g": 0.05879990756511688,
"b": 0.03920000046491623
},
"Tags": [
Expand Down
2 changes: 1 addition & 1 deletion objects/8aa186/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"posX": -37.66999816894531,
"posY": 0.8896148800849915,
"posZ": 56.29999923706055,
"rotX": 2.0335262362891626e-08,
"rotX": -5.8284321369228564e-08,
"rotY": 180.0,
"rotZ": 180.0,
"scaleX": 1.098099946975708,
Expand Down
2 changes: 1 addition & 1 deletion objects/901e41/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ColorDiffuse": {
"r": 0.8391000032424927,
"g": 0.5720000267028809,
"b": 0.39709994196891785
"b": 0.3970997631549835
},
"Tags": [
"Uninteractable"
Expand Down
4 changes: 2 additions & 2 deletions objects/969897/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"posX": -42.2599983215332,
"posY": 0.8534048795700073,
"posZ": 51.2599983215332,
"rotX": -5.511969547455919e-09,
"rotX": -1.4458814145967835e-09,
"rotY": 180.0,
"rotZ": 3.5940088682906435e-09,
"rotZ": 2.29878094337721e-09,
"scaleX": 1.531999945640564,
"scaleY": 1.0,
"scaleZ": 1.531999945640564
Expand Down
47 changes: 47 additions & 0 deletions objects/9f84fc/contained/2fd45e/object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"Name": "Custom_PDF",
"Transform": {
"posX": -10.340002059936523,
"posY": 0.8500005602836609,
"posZ": 4.780000686645508,
"rotX": 2.795655085208182e-08,
"rotY": 180.0,
"rotZ": -5.3901402452538605e-08,
"scaleX": 2.490000009536743,
"scaleY": 1.0,
"scaleZ": 2.490000009536743
},
"Nickname": "",
"Description": "Feather & Flame Expansion",
"GMNotes": "",
"AltLookAngle": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"ColorDiffuse": {
"r": 1.0,
"g": 1.0,
"b": 1.0
},
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": true,
"Snap": true,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": false,
"Hands": false,
"CustomPDF": {
"PDFUrl": "http://cloud-3.steamusercontent.com/ugc/2042999997394911508/C3A5EFFBD4D12AAF12B702A0764418D021677179/",
"PDFPassword": "",
"PDFPage": 0,
"PDFPageOffset": 0
}
}
47 changes: 47 additions & 0 deletions objects/9f84fc/contained/3bc101/object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"Name": "Custom_PDF",
"Transform": {
"posX": -0.8199997544288635,
"posY": 0.8500005602836609,
"posZ": 5.899999618530273,
"rotX": 1.6617697440324264e-08,
"rotY": 180.0,
"rotZ": -5.547859949217582e-10,
"scaleX": 2.490000009536743,
"scaleY": 1.0,
"scaleZ": 2.490000009536743
},
"Nickname": "",
"Description": "Horizons of Spirit Island",
"GMNotes": "",
"AltLookAngle": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"ColorDiffuse": {
"r": 1.0,
"g": 1.0,
"b": 1.0
},
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": true,
"Snap": true,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": false,
"Hands": false,
"CustomPDF": {
"PDFUrl": "http://cloud-3.steamusercontent.com/ugc/2042999997394912742/4144A8EB542EC495F1043D94C6EB18072C88D0C9/",
"PDFPassword": "",
"PDFPage": 0,
"PDFPageOffset": 0
}
}
Loading

0 comments on commit c0f74fa

Please sign in to comment.