Add plugin feature 'UnstableOpenScriptsExternally'

This commit is contained in:
Lucien Greathouse
2020-03-17 18:13:52 -07:00
parent 102c77b23e
commit 91d45afd0f
3 changed files with 79 additions and 0 deletions

View File

@@ -33,6 +33,14 @@ local VALUES = {
[Environment.Test] = false,
},
},
UnstableOpenScriptsExternally = {
type = "BoolValue",
values = {
[Environment.User] = false,
[Environment.Dev] = false,
[Environment.Test] = false,
},
},
}
local CONTAINER_NAME = "RojoDevSettings" .. Config.codename
@@ -144,6 +152,10 @@ function DevSettings:twoWaySyncEnabled()
return getValue("UnstableTwoWaySync")
end
function DevSettings:alwaysOpenScriptsExternally()
return getValue("UnstableOpenScriptsExternally")
end
function _G.ROJO_DEV_CREATE()
DevSettings:createDevSettings()
end