Add new scripts and machinery to make working on plugin easier

This commit is contained in:
Lucien Greathouse
2019-10-01 17:13:28 -07:00
parent 0dbbf44ab2
commit 15e848d4bf
7 changed files with 46 additions and 6 deletions

View File

@@ -6,6 +6,8 @@ local Environment = {
Test = "Test",
}
local DEFAULT_ENVIRONMENT = Config.isDevBuild and Environment.Dev or Environment.User
local VALUES = {
LogLevel = {
type = "IntValue",
@@ -84,7 +86,7 @@ local function getValue(name)
return stored
end
return VALUES[name].values[Environment.User]
return VALUES[name].values[DEFAULT_ENVIRONMENT]
end
local DevSettings = {}