This commit is contained in:
lifestorm
2024-08-04 23:12:27 +03:00
parent 0e770b2b49
commit ba1fc01b16
7084 changed files with 2173495 additions and 14 deletions

View File

@@ -0,0 +1,37 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
-- Adds SF content
if not StormFox2.WorkShopVersion then
local i = 0
local function AddDir(dir,dirlen)
if not dirlen then dirlen = dir:len() end
local files, folders = file.Find(dir .. "/*", "GAME")
for _, fdir in ipairs(folders) do
if fdir ~= ".svn" then
AddDir(dir .. "/" .. fdir)
end
end
for k, v in ipairs(files) do
local fil = dir .. "/" .. v
resource.AddFile(fil)
i = i + 1
end
end
AddDir("materials/stormfox2")
AddDir("sound/stormfox2")
AddDir("models/stormfox2")
StormFox2.Msg("Added " .. i .. " content files.")
-- Add the workshop
else
resource.AddWorkshop(string.match(StormFox2.WorkShopURL, "%d+$"))
StormFox2.Msg("Added content files from workshop.")
end