diff options
Diffstat (limited to 'gamemode/craftablesystem')
| -rw-r--r-- | gamemode/craftablesystem/loadcraftables.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gamemode/craftablesystem/loadcraftables.lua b/gamemode/craftablesystem/loadcraftables.lua index 724401f..51b2e3e 100644 --- a/gamemode/craftablesystem/loadcraftables.lua +++ b/gamemode/craftablesystem/loadcraftables.lua @@ -3,6 +3,12 @@ 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 |
