diff options
Diffstat (limited to 'gamemode/craftablesystem')
| -rw-r--r-- | gamemode/craftablesystem/loadcraftables.lua | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gamemode/craftablesystem/loadcraftables.lua b/gamemode/craftablesystem/loadcraftables.lua index 51b2e3e..f1b4a70 100644 --- a/gamemode/craftablesystem/loadcraftables.lua +++ b/gamemode/craftablesystem/loadcraftables.lua @@ -3,32 +3,5 @@ GMS.Combinations = {} function GMS.RegisterCombi( tbl, group ) if ( !GMS.Combinations[ group ] ) then GMS.Combinations[ group ] = {} end - - if(group == "Structures") then - print("Found a structure:") - print(tbl.Name) - end - GMS.Combinations[ group ][ string.Replace( tbl.Name, " ", "_" ) ] = tbl end - -/* -local folderpath = "gamemodes/" .. GM.GAMEMODE_FOLDER_NAME .. "/gamemode/craftablesystem/playermade/" -print("Attempting to load folderpath " .. folderpath) -local files, directories = file.Find(folderpath .. "*", "MOD") -print("Files:") -PrintTable(files) -print("Directories:") -PrintTable(directories) -if(recursive) then - for k,v in pairs(directories) do - addResourceFolder(folderstring..v,recursive) - end -end -for k,v in pairs(files) do - include(folderstring .. "/".. v) -end -*/ ---include("craftablesystem/playermade/concrete.lua") ---include("playermade/concrete.lua") ---includeFolder("craftablesystem/playermade",false) |
