From 69b734c634c0838e1eb4d468d5a6db67f8eb7bd0 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 16 Apr 2016 14:16:26 -0400 Subject: Moved all of combinations.lua into their own files under craftablesystem/ --- gamemode/craftablesystem/misc/grindingstone.lua | 122 ++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 gamemode/craftablesystem/misc/grindingstone.lua (limited to 'gamemode/craftablesystem/misc/grindingstone.lua') diff --git a/gamemode/craftablesystem/misc/grindingstone.lua b/gamemode/craftablesystem/misc/grindingstone.lua new file mode 100644 index 0000000..d7da59e --- /dev/null +++ b/gamemode/craftablesystem/misc/grindingstone.lua @@ -0,0 +1,122 @@ +/* Grinding Stone */ +local COMBI = {} + +COMBI.Name = "Grinding Stone" +COMBI.Description = "You can use the grinding stone to smash resources into smaller things, such as stone into sand." + +COMBI.Req = {} +COMBI.Req["Stone"] = 40 + +COMBI.Results = "gms_grindingstone" +COMBI.Texture = "gms_icons/gms_grindingstone.png" +COMBI.BuildSiteModel = "models/props_combine/combine_mine01.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Stone to Sand x1 */ +local COMBI = {} + +COMBI.Name = "Sand" +COMBI.Description = "Converts 1 stone to 1 sand." +COMBI.Entity = "gms_grindingstone" + +COMBI.Req = {} +COMBI.Req["Stone"] = 1 + +COMBI.Results = {} +COMBI.Results["Sand"] = 1 + +GMS.RegisterCombi( COMBI, "gms_grindingstone" ) + +/* Stone to Sand x5 */ +local COMBI = {} + +COMBI.Name = "Sand 5x" +COMBI.Description = "Converts 5 stone to 5 sand." +COMBI.Entity = "gms_grindingstone" + +COMBI.Req = {} +COMBI.Req["Stone"] = 5 + +COMBI.Results = {} +COMBI.Results["Sand"] = 5 + +GMS.RegisterCombi( COMBI, "gms_grindingstone" ) + +/* Stone to Sand x10 */ +local COMBI = {} + +COMBI.Name = "Sand10" +COMBI.Description = "Converts 10 stone to 10 sand." +COMBI.Entity = "gms_grindingstone" + +COMBI.Req = {} +COMBI.Req["Stone"] = 10 + +COMBI.Results = {} +COMBI.Results["Sand"] = 10 + +GMS.RegisterCombi( COMBI, "gms_grindingstone" ) + +/* Grain to Flour x1 */ +local COMBI = {} + +COMBI.Name = "Flour" +COMBI.Description = "Converts 2 Grain Seeds to 1 Flour." +COMBI.Entity = "gms_grindingstone" + +COMBI.Req = {} +COMBI.Req["Grain_Seeds"] = 2 + +COMBI.Results = {} +COMBI.Results["Flour"] = 1 + +GMS.RegisterCombi( COMBI, "gms_grindingstone" ) + +/* Grain to Flour x5 */ +local COMBI = {} + +COMBI.Name = "Flour 5x" +COMBI.Description = "Converts 5 Grain Seeds to 3 Flour." +COMBI.Entity = "gms_grindingstone" + +COMBI.Req = {} +COMBI.Req["Grain_Seeds"] = 5 + +COMBI.Results = {} +COMBI.Results["Flour"] = 3 + +GMS.RegisterCombi( COMBI, "gms_grindingstone" ) + +/* Grain to Flour x10 */ +local COMBI = {} + +COMBI.Name = "Flour 10x" +COMBI.Description = "Converts 10 Grain Seeds to 7 Flour." +COMBI.Entity = "gms_grindingstone" + +COMBI.Req = {} +COMBI.Req["Grain_Seeds"] = 10 + +COMBI.Results = {} +COMBI.Results["Flour"] = 7 + +GMS.RegisterCombi( COMBI, "gms_grindingstone" ) + +/* All Grain to Flour*/ +local COMBI = {} + +COMBI.Name = "All Flour" +COMBI.Description = "Converts Grain Seeds to Flour ( 10:6 )." +COMBI.Entity = "gms_grindingstone" + +COMBI.Req = {} +COMBI.Req["Grain_Seeds"] = 1 + +COMBI.Results = {} +COMBI.Results["Flour"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 25 + +GMS.RegisterCombi( COMBI, "gms_grindingstone" ) -- cgit v1.2.3-70-g09d2