Merge pull request #597 from argonui/featured-content

Updated featured content (and made small fix to placeholder spawning)
This commit is contained in:
Entrox-Licher 2024-02-16 12:06:57 -05:00 committed by GitHub
commit cb0318ef48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 25 additions and 10 deletions

View File

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

View File

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

View File

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

View File

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