updated featured content (and made small fix to placeholder spawning)

This commit is contained in:
Chr1Z93 2024-02-16 17:07:35 +01:00
parent f72546ad1c
commit d983f9bf35
4 changed files with 25 additions and 10 deletions

View File

@ -203,7 +203,7 @@
"TokenArranger.022907", "TokenArranger.022907",
"ChaosBagManager.023240", "ChaosBagManager.023240",
"PlaceholderBoxDummy.a93466", "PlaceholderBoxDummy.a93466",
"BaldursGateIII.695abd", "TheMatterofBritain.194cc5",
"Tokencache_1.a15273", "Tokencache_1.a15273",
"Tokencache_0.0a8592", "Tokencache_0.0a8592",
"Tokencache_-1.b644d2", "Tokencache_-1.b644d2",

View File

@ -417,5 +417,12 @@
"y": 1.481, "y": 1.481,
"z": -91 "z": -91
} }
},
{
"Position": {
"x": -26,
"y": 1.481,
"z": -87
}
} }
] ]

View File

@ -15,16 +15,16 @@
"CastShadows": true, "CastShadows": true,
"ColliderURL": "", "ColliderURL": "",
"Convex": true, "Convex": true,
"DiffuseURL": "http://cloud-3.steamusercontent.com/ugc/2117314083163063648/B404BC484394C1B241A97479C3A1FDC8D33ADE2F/", "DiffuseURL": "https://i.ibb.co/1GLSncs/title.jpg",
"MaterialIndex": 3, "MaterialIndex": 3,
"MeshURL": "https://raw.githubusercontent.com/RobMayer/TTSLibrary/master/advboxes/tuckbox_h_MSH.obj", "MeshURL": "https://raw.githubusercontent.com/RobMayer/TTSLibrary/master/advboxes/core_h_MSH.obj",
"NormalURL": "", "NormalURL": "",
"TypeIndex": 0 "TypeIndex": 0
}, },
"Description": "by Mint Tea Fan", "Description": "by Frying Tonight",
"DragSelectable": true, "DragSelectable": true,
"GMNotes": "fancreations/investigators_baldurs_gate_3.json", "GMNotes": "fancreations/campaign_the_matter_of_britain.json",
"GUID": "695abd", "GUID": "194cc5",
"Grid": true, "Grid": true,
"GridProjection": false, "GridProjection": false,
"Hands": false, "Hands": false,
@ -36,9 +36,13 @@
"LuaScriptState": "", "LuaScriptState": "",
"MeasureMovement": false, "MeasureMovement": false,
"Name": "Custom_Model", "Name": "Custom_Model",
"Nickname": " Baldur's Gate III", "Nickname": " The Matter of Britain",
"Snap": true, "Snap": true,
"Sticky": true, "Sticky": true,
"Tags": [
"CampaignBox",
"LargeBox"
],
"Tooltip": true, "Tooltip": true,
"Transform": { "Transform": {
"posX": -26, "posX": -26,
@ -47,9 +51,9 @@
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 2.21, "scaleX": 1,
"scaleY": 0.46, "scaleY": 0.14,
"scaleZ": 2.42 "scaleZ": 1
}, },
"Value": 0, "Value": 0,
"XmlUI": "" "XmlUI": ""

View File

@ -914,6 +914,10 @@ function onClick_spawnPlaceholder()
material = 3 material = 3
}) })
if item.boxsize == "big" then
placeholder.addTag("LargeBox")
end
placeholder.setColorTint({1, 1, 1, 71/255}) placeholder.setColorTint({1, 1, 1, 71/255})
placeholder.setName(item.name) placeholder.setName(item.name)
placeholder.setDescription("by " .. (item.author or "Unknown")) placeholder.setDescription("by " .. (item.author or "Unknown"))