Improve documentation for corescripts and add filename comments
This commit is contained in:
parent
29f87521ab
commit
215aea24ee
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/PurchasePromptScript
|
||||
print "[Mercury]: Loaded corescript 107893730"
|
||||
|
||||
-- this script creates the gui and sends the web requests for in game purchase prompts
|
||||
|
||||
local MarketplaceService = game:GetService "MarketplaceService"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/ContextActionTouch
|
||||
-- Unused by Mercury
|
||||
print "[Mercury]: Loaded corescript 152908679"
|
||||
for _ = 1, 4 do
|
||||
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
end
|
||||
|
||||
-- ContextActionTouch.lua
|
||||
-- this script controls ui and firing of lua functions that are bound in ContextActionService for touch inputs
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/TouchControls
|
||||
-- Unused by Mercury
|
||||
print "[Mercury]: Loaded corescript 153556783"
|
||||
for _ = 1, 4 do
|
||||
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
end
|
||||
|
||||
-- This is responsible for all touch controls we show (as of this writing, only on iOS)
|
||||
-- this includes character move thumbsticks, and buttons for jump, use of items, camera, etc.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
-- Unused by Mercury
|
||||
print "[Mercury]: Loaded corescript 157877000"
|
||||
for _ = 1, 4 do
|
||||
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
end
|
||||
|
||||
--Include
|
||||
local Create: (instance: string) -> ({ [string]: any }) -> Instance =
|
||||
assert(LoadLibrary "RbxUtility").Create
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/ToolTip
|
||||
print "[Mercury]: Loaded corescript 36868950"
|
||||
|
||||
local controlFrame = script.Parent:FindFirstChild "ControlFrame"
|
||||
|
||||
if not controlFrame then
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- Script Context.StarterScript
|
||||
print "[Mercury]: Loaded corescript 37801172"
|
||||
|
||||
local scriptContext = game:GetService "ScriptContext"
|
||||
|
||||
-- Creates all neccessary scripts for the gui on initial load, everything except build tools
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
-- Unused by Mercury
|
||||
print "[Mercury]: Loaded corescript 38037565"
|
||||
for _ = 1, 4 do
|
||||
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
|
||||
end
|
||||
|
||||
local damageGuiWidth = 5.0
|
||||
local damageGuiHeight = 5.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/MainBotChatScript
|
||||
print "[Mercury]: Loaded corescript 39250920"
|
||||
|
||||
function waitForProperty(instance, name)
|
||||
while not instance[name] do
|
||||
instance.Changed:wait()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- RbxGui
|
||||
print "[Mercury]: Loaded corescript 45284430"
|
||||
|
||||
local t = {}
|
||||
|
||||
local function ScopedConnect(
|
||||
|
|
@ -4017,7 +4019,11 @@ t.CreateLoadingFrame = function(name, size, position)
|
|||
cancelButtonClicked:Fire()
|
||||
end)
|
||||
|
||||
local updateLoadingGuiPercent = function(percent: number, tweenAction, tweenLength)
|
||||
local updateLoadingGuiPercent = function(
|
||||
percent: number,
|
||||
tweenAction,
|
||||
tweenLength
|
||||
)
|
||||
if percent and type(percent) ~= "number" then
|
||||
error(
|
||||
"updateLoadingGuiPercent expects number as argument, got "
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- RbxGear (unused)
|
||||
print "[Mercury]: Loaded corescript 45374389"
|
||||
|
||||
local t = {}
|
||||
|
||||
t.Foo = function()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/Settings
|
||||
print "[Mercury]: Loaded corescript 46295863"
|
||||
|
||||
local function waitForChild(instance, name)
|
||||
while not instance:FindFirstChild(name) do
|
||||
instance.ChildAdded:wait()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/PlayerListScript
|
||||
print "[Mercury]: Loaded corescript 48488235"
|
||||
|
||||
--new playerlist by Zach Lindblad (fusroblox)
|
||||
--contact him for any revisions/issues
|
||||
--------------------
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/NotificationScript
|
||||
print "[Mercury]: Loaded corescript 48488398"
|
||||
|
||||
local TeleportService = TeleportService
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/PopupScript
|
||||
print "[Mercury]: Loaded corescript 48488451"
|
||||
|
||||
--build our gui
|
||||
|
||||
local popupFrame = Instance.new "Frame"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/BackpackScripts/BackpackBuild
|
||||
print "[Mercury]: Loaded corescript 53878047"
|
||||
|
||||
-- This script creates almost all gui elements found in the backpack (warning: there are a lot!)
|
||||
-- TODO: automate this process
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CurrentLoadout.CoreScripts/BackpackScript
|
||||
print "[Mercury]: Loaded corescript 53878057"
|
||||
|
||||
if game.CoreGui.Version < 3 then
|
||||
return
|
||||
end -- peace out if we aren't using the right client
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
-- Script Context.CoreScripts/Sections
|
||||
print "[Mercury]: Loaded corescript 59002209"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- RbxUtility
|
||||
print "[Mercury]: Loaded corescript 60595411"
|
||||
|
||||
local t = {}
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
|
|
@ -1037,6 +1039,26 @@ end
|
|||
|
||||
-------------------------------------------------Create function End----------------------------------------------------
|
||||
|
||||
-- Lmao time - Heliodex
|
||||
|
||||
function t.HttpGet(url: string)
|
||||
return game:HttpGet(url)
|
||||
end
|
||||
|
||||
function t.HttpGetAsync(url: string)
|
||||
return game:HttpGetAsync(url)
|
||||
end
|
||||
|
||||
function t.HttpPost(url: string)
|
||||
return game:HttpPost(url)
|
||||
end
|
||||
|
||||
function t.HttpPostAsync(url: string)
|
||||
return game:HttpPostAsync(url)
|
||||
end
|
||||
|
||||
-- Lmao time end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
-- Script Context./Libraries/LibraryRegistration/LibraryRegist
|
||||
print "[Mercury]: Loaded corescript 60595695"
|
||||
|
||||
-- Library Registration Script
|
||||
-- This script is used to register RbxLua libraries on game servers, so game scripts have
|
||||
-- access to all of the libraries (otherwise only local scripts do)
|
||||
|
||||
local deepakTestingPlace = 3569749
|
||||
-- local deepakTestingPlace = 3569749
|
||||
local sc = game:GetService "ScriptContext"
|
||||
local tries = 0
|
||||
|
||||
|
|
@ -16,9 +18,9 @@ end
|
|||
if sc then
|
||||
sc:RegisterLibrary("Libraries/RbxGui", "45284430")
|
||||
sc:RegisterLibrary("Libraries/RbxGear", "45374389")
|
||||
if game.PlaceId == deepakTestingPlace then
|
||||
sc:RegisterLibrary("Libraries/RbxStatus", "52177566")
|
||||
end
|
||||
-- if game.PlaceId == deepakTestingPlace then
|
||||
-- sc:RegisterLibrary("Libraries/RbxStatus", "52177566")
|
||||
-- end
|
||||
sc:RegisterLibrary("Libraries/RbxUtility", "60595411")
|
||||
sc:RegisterLibrary("Libraries/RbxStamper", "73157242")
|
||||
sc:LibraryRegistrationComplete()
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
-- RbxStamper
|
||||
print "[Mercury]: Loaded corescript 73157242"
|
||||
|
||||
local ChangeHistoryService = game:GetService "ChangeHistoryService"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.Backpack.CoreScripts/BackpackScripts/Back (1?)
|
||||
print "[Mercury]: Loaded corescript 89449008"
|
||||
|
||||
-- A couple of necessary functions
|
||||
local function waitForChild(instance, name)
|
||||
assert(instance)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.Backpack.CoreScripts/BackpackScripts/Back (2?)
|
||||
print "[Mercury]: Loaded corescript 89449093"
|
||||
|
||||
-- This script manages context switches in the backpack (Gear to Wardrobe, etc.) and player state changes. Also manages global functions across different tabs (currently only search)
|
||||
if game.CoreGui.Version < 7 then
|
||||
return
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
-- CoreGui.RobloxGui.CoreScripts/ChatScript
|
||||
print "[Mercury]: Loaded corescript 97188756"
|
||||
|
||||
--[[
|
||||
//FileName: ChatScript.LUA
|
||||
//Written by: Sorcus
|
||||
|
|
|
|||
|
|
@ -25,6 +25,11 @@ globals:
|
|||
_CHAR_APPEARANCE:
|
||||
args: []
|
||||
|
||||
assert:
|
||||
args:
|
||||
- type: any
|
||||
- required: false
|
||||
type: string
|
||||
ypcall:
|
||||
args:
|
||||
- type: function
|
||||
|
|
|
|||
Loading…
Reference in New Issue