diff --git a/parts.json b/parts.json index 56559ed..55b45df 100644 --- a/parts.json +++ b/parts.json @@ -12,7 +12,7 @@ "Configure": {"--comment": "Autofilled by definitions generator"} }, "events": { - "Triggered": [], + "Triggered": [{"userID": "number"}], "Configured": [] } }, @@ -68,7 +68,7 @@ "methods": { "GetReading": { "arguments": [{"typeId": "number"}], - "returns": "number | Vector3" + "returns": "any" } } }, @@ -90,20 +90,15 @@ "methods": { "ClearDisk": {}, "Write": { - "arguments": [{"key": "string"}, {"data": "string"}] + "arguments": [{"key": "string"}, {"data": "any"}] }, "Read": { "arguments": [{"key": "string"}], - "returns": "string" + "returns": "any" }, "ReadEntireDisk": { - "returns": "{[string]: string}" + "returns": "{[string]: any}" } - }, - "properties": { - "ShieldStrength": "number", - "RegenerationSpeed": "number", - "ShieldRadius": "number" } }, "Bin": { @@ -137,7 +132,7 @@ "arguments": [{"data": "string"}, {"id": "number"}] }, "RealPostRequest": { - "arguments": [{"domain": "string"}, {"data": "string"}, {"asyncBool": "boolean"}, {"transformFunction": "(...any) -> ()"}, {"optionalHeaders": "{[string]: any}?"}], + "arguments": [{"domain": "string"}, {"data": "string"}, {"asyncBool": "boolean?"}, {"transformFunction": "(...any) -> ()?"}, {"optionalHeaders": "{[string]: any}?"}], "returns": "{response: string, success: boolean}" } }, @@ -158,8 +153,8 @@ "arguments": [{"className": "string?"}, {"properties": "{[string]: any}?"}] }, "CreateElement": { - "arguments": [{"className": "string"}, {"properties": "{[string]: any}"}], - "returns": "ScreenObject" + "arguments": [{"className": "ScreenObjectList | string"}, {"properties": "{[string]: any}"}], + "returns": "PilotLuaScreenObject" } } }, @@ -219,10 +214,10 @@ "extends": "Part", "methods": { "GetBodies": { - "returns": "Iterator" + "returns": "Iterator" }, "GetSystems": { - "returns": "Iterator" + "returns": "CoordinateIterator" } } }, @@ -233,17 +228,45 @@ }, "methods": { "GetCoordinate": { - "returns": "RegionInfo" + "returns": "PilotLuaRegionInfo" }, "WhenRegionLoads": { - "arguments": [{"callback": "(regionData: RegionInfo) -> ()"}] + "arguments": [{"callback": "(regionData: WhenRegionLoadsData) -> ()"}] + } + } + }, + "Teleporter": { + "extends": "Part", + "properties": { + "Coordinates": "string", + "TeleporterID": "number", + "ForceLocalTeleport": "boolean" + } + }, + "Seat": { + "extends": "Part", + "properties": {} + }, + "VehicleSeat": { + "extends": "Seat", + "properties": { + "Enabled": "boolean", + "Speed": "number", + "Mode": "number" + } + }, + "PowerCell": { + "extends": "Part", + "methods": { + "GetAmount": { + "returns": "number" } } }, "Speaker": { "extends": "Part", "properties": { - "Audio": "number", + "Audio": "string | number", "Pitch": "number" }, "methods": { @@ -401,7 +424,7 @@ "Antenna": { "extends": "Part", "properties": { - "AntennaID": "string" + "AntennaID": "string | number" } }, "Polysilicon": { @@ -477,5 +500,236 @@ "TriggerMode": "number", "ToolName": "string" } + }, + "DriveBox": { + "extends": "Part", + "properties": { + "Reversal": "boolean", + "Ratio": "number" + } + }, + "Hull": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Coupler": { + "extends": "Part", + "properties": { + "CouplerID": "number" + } + }, + "RoundWedge": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Apparel": { + "extends": "Part", + "properties": { + "Limb": "string", + "Transparency": "number" + } + }, + "Blade": { + "extends": "Part", + "properties": { + "Shape": "number", + "TempType": "string" + } + }, + "CornerRoundWedge": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Balloon": { + "extends": "Part", + "properties": { + "Buoyancy": "number" + } + }, + "Filter": { + "extends": "Part", + "properties": { + "Filter": "string" + } + }, + "Truss": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Prosthetic": { + "extends": "Part", + "properties": { + "Limb": "string" + } + }, + "RoundWedge2": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Engine": { + "extends": "Part", + "properties": { + "EngineSpeed": "number" + } + }, + "BallastTank": { + "extends": "Part", + "properties": { + "Buoyancy": "number" + } + }, + "CornerTetra": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Anchor": { + "extends": "Part", + "properties": { + "Anchored": "boolean" + } + }, + "SteamEngine": { + "extends": "Part", + "properties": { + "EngineSpeed": "number" + } + }, + "Sign": { + "extends": "Part", + "properties": { + "TextFont": "Enum.Font", + "TextColor": "Color3", + "SignText": "string" + } + }, + "Door": { + "extends": "Part", + "properties": { + "TempType": "string", + "DoorSwitch": "boolean" + } + }, + "Relay": { + "extends": "Part", + "properties": { + "LinkerID": "number", + "Mode": "number" + } + }, + "CornerWedge": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Wedge": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Turbofan": { + "extends": "Part", + "properties": { + "TurboFanSpeed": "number" + } + }, + "Cone": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Constructor": { + "extends": "Part", + "properties": { + "ModelCode": "string", + "Autolock": "boolean", + "RelativeToConstructor": "boolean" + } + }, + "Piston": { + "extends": "Part", + "properties": { + "Position1": "number", + "Speed": "number", + "Position2": "number" + } + }, + "CornerRoundWedge2": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Tetrahedron": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Ball": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Beacon": { + "extends": "Part", + "properties": { + "ShowOnMap": "boolean", + "BeaconName": "string" + } + }, + "Winch": { + "extends": "Part", + "properties": { + "DeltaLength": "number", + "MaxLength": "number", + "MinLength": "number" + } + }, + "HalfSphere": { + "extends": "Part", + "properties": { + "TempType": "string" + } + }, + "Transporter": { + "extends": "Part", + "properties": { + "TransporterID": "number" + } + }, + "ObjectDetector": { + "extends": "Part", + "properties": { + "DisplayDistance": "boolean", + "MaxDistance": "number", + "DisplayPosition": "boolean", + "DisplayLockedBy": "boolean", + "TriggerAtDistance": "string", + "DisplayDurability": "boolean", + "DisplayColor": "boolean", + "DisplayName": "boolean" + } + }, + "Cylinder": { + "extends": "Part", + "properties": { + "TempType": "string" + } } } \ No newline at end of file