SCED/content/curated/en/investigators_maximillion_pegasus.json

608 lines
35 KiB
JSON
Raw Normal View History

2023-06-26 04:13:37 -04:00
{
"GUID": "3ae6e1",
"Name": "Custom_Model_Bag",
"Transform": {
"posX": 0.269882232,
"posY": 1.48960686,
"posZ": 28.776968,
"rotX": 359.920135,
"rotY": 270.000031,
"rotZ": 0.01687535,
"scaleX": 1.3633405,
"scaleY": 0.2837723,
"scaleZ": 1.49288893
},
"Nickname": "Maximillion Pegasus Custom Investigator",
"Description": "By Game#0398",
"GMNotes": "",
"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,
"MaterialIndex": -1,
"MeshIndex": -1,
"CustomMesh": {
"MeshURL": "https://raw.githubusercontent.com/RobMayer/TTSLibrary/master/advboxes/tuckbox_h_MSH.obj",
"DiffuseURL": "http://cloud-3.steamusercontent.com/ugc/1684870715280907223/1E9DE758F089D7F880ADC8CA594F9AA938743F8B/",
"NormalURL": "",
"ColliderURL": "",
"Convex": true,
"MaterialIndex": 3,
"TypeIndex": 6,
"CustomShader": {
"SpecularColor": {
"r": 1.0,
"g": 1.0,
"b": 1.0
},
"SpecularIntensity": 0.0,
"SpecularSharpness": 2.0,
"FresnelStrength": 0.0
},
"CastShadows": true
},
"Bag": {
"Order": 0
},
"LuaScript": "-- Utility memory bag by Directsun\r\n-- Version 2.5.2\r\n-- Fork of Memory Bag 2.0 by MrStump\r\n\r\nfunction updateSave()\r\n local data_to_save = {[\"ml\"]=memoryList}\r\n saved_data = JSON.encode(data_to_save)\r\n self.script_state = saved_data\r\nend\r\n\r\nfunction combineMemoryFromBagsWithin()\r\n local bagObjList = self.getObjects()\r\n for _, bagObj in ipairs(bagObjList) do\r\n local data = bagObj.lua_script_state\r\n if data ~= nil then\r\n local j = JSON.decode(data)\r\n if j ~= nil and j.ml ~= nil then\r\n for guid, entry in pairs(j.ml) do\r\n memoryList[guid] = entry\r\n end\r\n end\r\n end\r\n end\r\nend\r\n\r\nfunction updateMemoryWithMoves()\r\n memoryList = memoryListBackup\r\n --get the first transposed object's coordinates\r\n local obj = getObjectFromGUID(moveGuid)\r\n\r\n -- p1 is where needs to go, p2 is where it was\r\n local refObjPos = memoryList[moveGuid].pos\r\n local deltaPos = findOffsetDistance(obj.getPosition(), refObjPos, nil)\r\n local movedRotation = obj.getRotation()\r\n for guid, entry in pairs(memoryList) do\r\n memoryList[guid].pos.x = entry.pos.x - deltaPos.x\r\n memoryList[guid].pos.y = entry.pos.y - deltaPos.y\r\n memoryList[guid].pos.z = entry.pos.z - deltaPos.z\r\n -- memoryList[guid].rot.x = movedRotation.x\r\n -- memoryList[guid].rot.y = movedRotation.y\r\n -- memoryList[guid].rot.z = movedRotation.z\r\n end\r\n\r\n --theList[obj.getGUID()] = {\r\n -- pos={x=round(pos.x,4), y=round(pos.y,4), z=round(pos.z,4)},\r\n -- rot={x=round(rot.x,4), y=round(rot.y,4), z=round(rot.z,4)},\r\n -- lock=obj.getLock()\r\n --}\r\n moveList = {}\r\nend\r\n\r\nfunction onload(saved_data)\r\n fresh = true\r\n if saved_data ~= \"\" then\r\n local loaded_data = JSON.decode(saved_data)\r\n --Set up information off of loaded_data\r\n memoryList = loaded_data.ml\r\n else\r\n --Set up information for if there is no saved saved data\r\n memoryList = {}\r\n end\r\n\r\n moveList = {}\r\n moveGuid = nil\r\n\r\n if next(memoryList) == nil then\r\n createSetupButton()\r\n else\r\n fresh = false\r\n createMemoryActionButtons()\r\n end\r\nend\r\n\r\n\r\n--Beginning Setup\r\n\r\n\r\n--Make setup button\r\nfunction createSetupButton()\r\n self.createButton({\r\n label=\"Setup\", click_function=\"buttonClick_setup\", function_owner=self,\r\n position={0,0.1,-2.1}, rotation={0,0,0}, height=220, width=500,\r\n font_size=130, color={0,0,0}, font_color={1,1,1}\r\n })\r\nend\r\n\r\n--Triggered by Transpose button\r\nfunction buttonClick_transpose()\r\n moveGuid = nil\r\n broadcastToAll(\"Select one object and move it- all objects will move relative to the new location\", {0.75, 0.75, 1})\r\n memoryListBackup = duplicateTable(memoryList)\r\n memoryList = {}\r\n moveList = {}\r\n self.clearButtons()\r\n createButtonsOnAllObjects(true)\r\n createSetupActionButtons(true)\r\nend\r\n\r\n--Triggered by setup button,\r\nfunction buttonClick_setup()\r\n memoryListBackup = duplicateTable(memoryList)\r\n memoryList = {}\r\n self.clearButtons()\r\n createButtonsOnAllObjects(false)\r\n createSetupActionButtons(false)\r\nend\r\n\r\nfunction getAllObjectsInMemory()\r\n local objTable = {}\r\n local curObj = {}\r\n\r\n for guid in pairs(memoryListBackup) do\r\n curObj = getObjectFromGUID(guid)\r\n table.insert(objTable, curObj)\r\n end\r\n\r\n return objTable\r\n -- return getAllObjects()\r\nend\r\n\r\n--Creates selection buttons on objects\r\nfunction createButtonsOnAllObjects(move)\r\n local howManyButtons = 0\r\n\r\n local objsToHaveButtons = {}\r\n if move == true then\r\n objsToHaveButtons = getAllObjectsInMemory()\r\n else\r\n objsToHaveButtons = getAllObjects()\r\n end\r\n\r\n for _, obj in ipairs(objsToHaveButtons) do\r\n if obj ~= self then\r\n
"LuaScriptState": "{\"ml\":{\"043636\":{\"lock\":false,\"pos\":{\"x\":-19.2958831787109,\"y\":1.31220149993896,\"z\":-69.0607070922852},\"rot\":{\"x\":0.0208086650818586,\"y\":270,\"z\":0.0167712047696114}},\"38e58a\":{\"lock\":false,\"pos\":{\"x\":-22.6156921386719,\"y\":1.31099140644073,\"z\":-69.0756149291992},\"rot\":{\"x\":0.0208094250410795,\"y\":269.999908447266,\"z\":0.0167717207223177}},\"728c1e\":{\"lock\":false,\"pos\":{\"x\":-26.3002033233643,\"y\":1.34105360507965,\"z\":-69.0606002807617},\"rot\":{\"x\":0.0208094790577888,\"y\":270.003631591797,\"z\":0.016773009672761}},\"e1aefa\":{\"lock\":false,\"pos\":{\"x\":-16.6402912139893,\"y\":1.31316602230072,\"z\":-69.0602951049805},\"rot\":{\"x\":0.0208082552999258,\"y\":270.000030517578,\"z\":0.0167675074189901}}}}",
"XmlUI": "",
"ContainedObjects": [
{
"GUID": "e1aefa",
"Name": "CardCustom",
"Transform": {
"posX": -16.6402912,
"posY": 1.313166,
"posZ": -69.0602951,
"rotX": 0.0208082553,
"rotY": 270.000031,
"rotZ": 0.0167675074,
"scaleX": 0.6,
"scaleY": 1.0,
"scaleZ": 0.6
},
"Nickname": "Maximillion Pegasus",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"LayoutGroupSortIndex": 0,
"Value": 0,
"Locked": false,
"Grid": false,
"Snap": false,
"IgnoreFoW": false,
"MeasureMovement": false,
"DragSelectable": true,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"HideWhenFaceDown": false,
"Hands": true,
"CardID": 449700,
"SidewaysCard": false,
"CustomDeck": {
"4497": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252068502/92BF63967B972576C8E21BC1FE1369E498464B50/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252069122/3F3B498F86C6EF207BC57E0AD9E3C43EB7DF21D6/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},
{
"GUID": "043636",
"Name": "CardCustom",
"Transform": {
"posX": -19.2958832,
"posY": 1.3122015,
"posZ": -69.06071,
"rotX": 0.0208086651,
"rotY": 270.0,
"rotZ": 0.0167712048,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "Maximillion Pegasus",
"Description": "The President",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": true,
"CardID": 449900,
"SidewaysCard": false,
"CustomDeck": {
"4499": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1654475400986171911/E037EEF31267670DE4BC2C25FC8E2F2D2D1CD6A8/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1654475400986172232/83A4AF0E8BC2643FAB3F9FAD1353B506184B81EC/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},
{
"GUID": "38e58a",
"Name": "CardCustom",
"Transform": {
"posX": -22.6156921,
"posY": 1.31099141,
"posZ": -69.0756149,
"rotX": 0.020809425,
"rotY": 269.9999,
"rotZ": 0.01677172,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "Millennium Eye",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": true,
"CardID": 449800,
"SidewaysCard": false,
"CustomDeck": {
"4498": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1654475400986112256/431EDF2AAFEAF763C72A34662933177D0A3FA94F/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},
{
"GUID": "728c1e",
"Name": "Deck",
"Transform": {
"posX": -26.3002033,
"posY": 1.34105361,
"posZ": -69.0606,
"rotX": 0.0208094791,
"rotY": 270.003632,
"rotZ": 0.01677301,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": false,
"SidewaysCard": false,
"DeckIDs": [
449500,
266200,
449200,
449300,
449600
],
"CustomDeck": {
"4495": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252063059/69B5F2FAA828441094DA4DE8F426B4F45AC17B7A/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
},
"2662": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252206440/995858C7E13C73B0B1086787545BCB5762485328/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
},
"4492": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060096/BA684DE42B16B7E87E340A66897A9B83F63487DE/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
},
"4493": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252061132/AC54B36A247B76AAF6D985AA6E8A618E5114DE68/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
},
"4496": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252064060/465A6F8629964DC2D6CCF899E82C0CBE21039A81/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": "",
"ContainedObjects": [
{
"GUID": "ede645",
"Name": "CardCustom",
"Transform": {
"posX": 2.72325325,
"posY": 1.26792717,
"posZ": -7.14389372,
"rotX": -0.000615941652,
"rotY": 269.9785,
"rotZ": -0.000314327364,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": true,
"CardID": 449500,
"SidewaysCard": false,
"CustomDeck": {
"4495": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252063059/69B5F2FAA828441094DA4DE8F426B4F45AC17B7A/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},
{
"GUID": "2b213a",
"Name": "CardCustom",
"Transform": {
"posX": 2.289918,
"posY": 1.30661857,
"posZ": -7.06455,
"rotX": 0.00286251516,
"rotY": 269.999573,
"rotZ": -0.00293424679,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": true,
"CardID": 266200,
"SidewaysCard": false,
"CustomDeck": {
"2662": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252206440/995858C7E13C73B0B1086787545BCB5762485328/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},
{
"GUID": "9347f0",
"Name": "CardCustom",
"Transform": {
"posX": 2.68533039,
"posY": 1.343085,
"posZ": -7.31761456,
"rotX": 359.975677,
"rotY": 269.9796,
"rotZ": 0.06802794,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": true,
"CardID": 449200,
"SidewaysCard": false,
"CustomDeck": {
"4492": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060096/BA684DE42B16B7E87E340A66897A9B83F63487DE/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},
{
"GUID": "2ea333",
"Name": "CardCustom",
"Transform": {
"posX": 2.34053469,
"posY": 1.3615061,
"posZ": -7.67604637,
"rotX": 359.9,
"rotY": 269.999573,
"rotZ": 0.190538883,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": true,
"CardID": 449300,
"SidewaysCard": false,
"CustomDeck": {
"4493": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252061132/AC54B36A247B76AAF6D985AA6E8A618E5114DE68/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
},
{
"GUID": "bda18f",
"Name": "CardCustom",
"Transform": {
"posX": -26.5874023,
"posY": 1.40300155,
"posZ": -66.2226944,
"rotX": 0.0184624419,
"rotY": 270.0035,
"rotZ": 359.5657,
"scaleX": 1.0,
"scaleY": 1.0,
"scaleZ": 1.0
},
"Nickname": "",
"Description": "",
"GMNotes": "",
"ColorDiffuse": {
"r": 0.713235259,
"g": 0.713235259,
"b": 0.713235259
},
"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": true,
"Hands": true,
"CardID": 449600,
"SidewaysCard": false,
"CustomDeck": {
"4496": {
"FaceURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252064060/465A6F8629964DC2D6CCF899E82C0CBE21039A81/",
"BackURL": "http://cloud-3.steamusercontent.com/ugc/1016069769252060389/A2C325CF1EE748C46F0C4D8C57EB842E838B2659/",
"NumWidth": 1,
"NumHeight": 1,
"BackIsHidden": true,
"UniqueBack": false,
"Type": 0
}
},
"LuaScript": "",
"LuaScriptState": "",
"XmlUI": ""
}
]
}
],
"AttachedDecals": [
{
"Transform": {
"posX": -0.0021877822,
"posY": -0.08963572,
"posZ": -0.00288731651,
"rotX": 270.0,
"rotY": 359.869568,
"rotZ": 0.0,
"scaleX": 2.00000215,
"scaleY": 2.00000238,
"scaleZ": 2.00000262
},
"CustomDecal": {
"Name": "dunwich_back",
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/959719855119695911/931B9829687A20F4DEADB36DA57B7E6D76792231/",
"Size": 7.4
}
}
]
}