0.466.1.418149

This commit is contained in:
Max
2021-02-22 11:41:55 -06:00
parent 131b1dabf0
commit b0f532f31a
11 changed files with 5818 additions and 5551 deletions

View File

@ -203,12 +203,12 @@ return
{
Add =
{
formFactorRaw = "Enum:FormFactor";
formFactorRaw = TryDefineEnum("FormFactor");
};
Defaults =
{
formFactorRaw = Enum.FormFactor.Brick;
formFactorRaw = TryGetEnumItem("FormFactor", "Brick");
};
Redirect =
@ -400,7 +400,7 @@ return
Part =
{
Add = { shape = "Enum:PartType" };
Add = { shape = TryDefineEnum("PartType") };
Redirect = { Shape = "shape" };
};
@ -421,9 +421,14 @@ return
Add =
{
AssetId = "Content";
ChildData = "BinaryString";
ChildData2 = "SharedString";
MeshData = "BinaryString";
FormFactor = "Enum:FormFactor";
MeshData2 = "SharedString";
FormFactor = TryDefineEnum("FormFactor");
};
Defaults = { FormFactor = Enum.FormFactor.Custom };
@ -560,6 +565,7 @@ return
{
Add =
{
AcquisitionMethod = TryDefineEnum("TerrainAcquisitionMethod");
ClusterGridV3 = "BinaryString";
PhysicsGrid = "BinaryString";
SmoothGrid = "BinaryString";
@ -570,6 +576,7 @@ return
Decoration = false;
SmoothGrid = "AQU=";
PhysicsGrid = "AgMAAAAAAAAAAAAAAAA=";
AcquisitionMethod = TryGetEnumItem("TerrainAcquisitionMethod", "None");
MaterialColors = "AAAAAAAAan8/P39rf2Y/ilY+j35fi21PZmxvZbDqw8faiVpHOi4kHh4lZlw76JxKc3trhHtagcLgc4RKxr21zq2UlJSM";
};
};
@ -614,9 +621,14 @@ return
TrussPart =
{
Add = { style = "Enum:Style" };
Add = { style = TryDefineEnum("Style") };
Redirect = { Style = "style" };
};
UnvalidatedAssetService =
{
Add = { CachedData = "string" };
};
ViewportFrame =
{

View File

@ -1,5 +1,5 @@
local Selection = game:GetService("Selection")
local HttpService = game:GetService("HttpService")
local ServerStorage = game:GetService("ServerStorage")
local StarterPlayer = game:GetService("StarterPlayer")
local StudioService = game:GetService("StudioService")
@ -77,6 +77,8 @@ local function exportStream(label)
export.Source = results
export.Name = label
export.Parent = workspace
Selection:Add{export}
end
if isCoreScript then
@ -312,11 +314,18 @@ local function generateClasses()
end)
elseif not classTags.NotCreatable then
pcall(function ()
local dumpFolder = game:FindFirstChild("DumpFolder")
class.Object = Instance.new(className)
if game:FindFirstChild("DumpFolder") then
if dumpFolder then
local old = dumpFolder:FindFirstChildOfClass(className)
if old then
old:Destroy()
end
class.Object.Name = className
class.Object.Parent = game.DumpFolder
class.Object.Parent = dumpFolder
end
end)
end
@ -549,6 +558,9 @@ local function generateClasses()
elseif stringTypes[typeName] then
value = ""
gotValue = true
elseif typeName == "SharedString" then
value = "yuZpQdnvvUBOTYh1jqZ2cA=="
gotValue = true
elseif category == "DataType" then
local DataType = env[typeName]