summaryrefslogtreecommitdiff
path: root/gamemode/craftablesystem/misc/grindingstone.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-04-16 14:16:26 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-04-16 14:16:26 -0400
commit69b734c634c0838e1eb4d468d5a6db67f8eb7bd0 (patch)
treec8515ddbe104951a65313efe452ea0c83a7a09c8 /gamemode/craftablesystem/misc/grindingstone.lua
parent88c8acfa90a71e50104b9c64b953eae939767f20 (diff)
downloadgmstranded-69b734c634c0838e1eb4d468d5a6db67f8eb7bd0.tar.gz
gmstranded-69b734c634c0838e1eb4d468d5a6db67f8eb7bd0.tar.bz2
gmstranded-69b734c634c0838e1eb4d468d5a6db67f8eb7bd0.zip
Moved all of combinations.lua into their own files under craftablesystem/
Diffstat (limited to 'gamemode/craftablesystem/misc/grindingstone.lua')
-rw-r--r--gamemode/craftablesystem/misc/grindingstone.lua122
1 files changed, 122 insertions, 0 deletions
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" )