Moved all files to root.

This commit is contained in:
Pickle
2022-12-02 23:29:01 -05:00
committed by GitHub
parent ef83fba743
commit f70c477c8d
14 changed files with 1054 additions and 0 deletions

40
config.lua Normal file
View File

@@ -0,0 +1,40 @@
Config = {}
Config.Models = { -- Any TV Models used on the map or in locations must be defined here.
[`prop_tv_flat_01`] = {
DefaultVolume = 0.5,
Range = 20.0,
Target = "tvscreen", -- Only use if prop has render-target name.
Scale = 0.085,
Offset = vector3(-1.02, -0.055, 1.04)
}
}
Config.Locations = { -- REMOVE ALL IF NOT USING ONESYNC, OR IT SHALL BREAK.
{
Model = `prop_tv_flat_01`,
Position = vector4(144.3038, -1037.4647, 29.4173, 70.81),
},
}
Config.Channels = { -- These channels are default channels and cannot be overriden.
{name = "Pickle Mods", url = "twitch.tv/picklemods"},
}
Config.BannedWords = {
"google",
}
Config.Events = { -- Events for approving broadcasts / interactions (due to popular demand).
ScreenInteract = function(source, data, key, value, cb) -- cb() to approve.
for i=1, #Config.BannedWords do
if string.find(value.url, Config.BannedWords) then
return
end
end
cb()
end,
Broadcast = function(source, data, cb) -- cb() to approve.
cb()
end,
}