summaryrefslogtreecommitdiff
path: root/gamemode/craftablesystem/loadcraftables.lua
blob: f1b4a703288dec6aefa35c8afde80bffa9176dd6 (plain)
1
2
3
4
5
6
7
//Loads all the craftable things in the game! to make a new craftable, create a new file in any of playermade/ craftingtables/ workbenches/ or misc/, they will get automatically included

GMS.Combinations = {}
function GMS.RegisterCombi( tbl, group )
	if ( !GMS.Combinations[ group ] ) then GMS.Combinations[ group ] = {} end
	GMS.Combinations[ group ][ string.Replace( tbl.Name, " ", "_" ) ] = tbl
end