diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-16 14:16:26 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-16 14:16:26 -0400 |
| commit | 69b734c634c0838e1eb4d468d5a6db67f8eb7bd0 (patch) | |
| tree | c8515ddbe104951a65313efe452ea0c83a7a09c8 /gamemode/craftablesystem/misc | |
| parent | 88c8acfa90a71e50104b9c64b953eae939767f20 (diff) | |
| download | gmstranded-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')
| -rw-r--r-- | gamemode/craftablesystem/misc/advtransmutator.lua | 74 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/clock.lua | 14 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/drinkingfountain.lua | 16 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/factory.lua | 265 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/fridge.lua | 14 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/grindingstone.lua | 122 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/resourcepack.lua | 15 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/stove.lua | 232 | ||||
| -rw-r--r-- | gamemode/craftablesystem/misc/transmutator.lua | 74 |
9 files changed, 826 insertions, 0 deletions
diff --git a/gamemode/craftablesystem/misc/advtransmutator.lua b/gamemode/craftablesystem/misc/advtransmutator.lua new file mode 100644 index 0000000..fea9e1e --- /dev/null +++ b/gamemode/craftablesystem/misc/advtransmutator.lua @@ -0,0 +1,74 @@ +/* Advanced Transmutator */ +local COMBI = {} + +COMBI.Name = "Advanced Transmutator" +COMBI.Description = "For transmutating wood." + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Maple"] = 30 + +COMBI.Results = "gms_advancedtransmutator" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_wasteland/kitchen_fridge001a.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/*Teak*/ +local COMBI = {} + +COMBI.Name = "All Teak" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_advancedtransmutator" + +COMBI.Req = {} +COMBI.Req["Maple"] = 1 +COMBI.Req["Gold"] = 1 + +COMBI.Results = {} +COMBI.Results["Teak"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_advancedtransmutator" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "All Mahogany" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_advancedtransmutator" + +COMBI.Req = {} +COMBI.Req["Teak"] = 1 +COMBI.Req["Steel"] = 1 + +COMBI.Results = {} +COMBI.Results["Mahogany"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_advancedtransmutator" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "All Elm" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_advancedtransmutator" + +COMBI.Req = {} +COMBI.Req["Mahogany"] = 1 +COMBI.Req["Platinum"] = 1 + +COMBI.Results = {} +COMBI.Results["Elm"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_advancedtransmutator" ) diff --git a/gamemode/craftablesystem/misc/clock.lua b/gamemode/craftablesystem/misc/clock.lua new file mode 100644 index 0000000..af986ea --- /dev/null +++ b/gamemode/craftablesystem/misc/clock.lua @@ -0,0 +1,14 @@ +local COMBI = {} + +COMBI.Name = "Clock" +COMBI.Description = "Shows you world time." + +COMBI.Req = {} +COMBI.Req["Iron"] = 10 +COMBI.Req["Glass"] = 10 + +COMBI.Results = "gms_clock_big" +COMBI.Texture = "gms_icons/gms_clock_big.png" +COMBI.BuildSiteModel = "models/props_trainstation/trainstation_clock001.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) diff --git a/gamemode/craftablesystem/misc/drinkingfountain.lua b/gamemode/craftablesystem/misc/drinkingfountain.lua new file mode 100644 index 0000000..261099c --- /dev/null +++ b/gamemode/craftablesystem/misc/drinkingfountain.lua @@ -0,0 +1,16 @@ +/* Drinking Fountain */ +local COMBI = {} + +COMBI.Name = "Drinking Fountain" +COMBI.Description = "PORTABLE WATER?!" + +COMBI.Req = {} +COMBI.Req["Copper"] = 50 +COMBI.Req["Iron"] = 50 +COMBI.Req["Water_Bottles"] = 50 + +COMBI.Results = "gms_waterfountain" +COMBI.Texture = "gms_icons/gms_waterfountain.png" +COMBI.BuildSiteModel = "models/props/de_inferno/fountain.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) diff --git a/gamemode/craftablesystem/misc/factory.lua b/gamemode/craftablesystem/misc/factory.lua new file mode 100644 index 0000000..31f8034 --- /dev/null +++ b/gamemode/craftablesystem/misc/factory.lua @@ -0,0 +1,265 @@ +/* Factory */ +local COMBI = {} + +COMBI.Name = "Factory" +COMBI.Description = "You can use the factory to smelt resources into another and extract resources out of other resources." + +COMBI.Req = {} +COMBI.Req["Iron"] = 200 +COMBI.Req["Copper"] = 100 +COMBI.Req["Stone"] = 50 + +COMBI.Results = "gms_factory" +COMBI.Texture = "gms_icons/gms_factory.png" +COMBI.BuildSiteModel = "models/props_c17/factorymachine01.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Glass ( 10 ) */ +local COMBI = {} + +COMBI.Name = "Glass 10x" +COMBI.Description = "Heats 25 sand together to form 10 glass." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Sand"] = 25 + +COMBI.Results = {} +COMBI.Results["Glass"] = 10 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Glass ( 25 ) */ +local COMBI = {} + +COMBI.Name = "Glass 25x" +COMBI.Description = "Heats 50 sand together to form 25 glass." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Sand"] = 50 + +COMBI.Results = {} +COMBI.Results["Glass"] = 25 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Glass ( 50 ) */ +local COMBI = {} + +COMBI.Name = "Glass 50x" +COMBI.Description = "Heats 75 sand together to form 50 glass." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Sand"] = 75 + +COMBI.Results = {} +COMBI.Results["Glass"] = 50 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Iron from Stone ( 10 ) */ +local COMBI = {} + +COMBI.Name = "Iron 10x" +COMBI.Description = "Smelting together 25 stone forms 10 iron." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Stone"] = 25 + +COMBI.Results = {} +COMBI.Results["Iron"] = 10 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Iron from Stone ( 25 ) */ +local COMBI = {} + +COMBI.Name = "Iron 25x" +COMBI.Description = "Smelting together 50 stone forms 25 iron." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Stone"] = 50 + +COMBI.Results = {} +COMBI.Results["Iron"] = 25 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Iron from Stone ( 50 ) */ +local COMBI = {} + +COMBI.Name = "Iron 50x" +COMBI.Description = "Smelting together 75 stone forms 50 iron." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Stone"] = 75 + +COMBI.Results = {} +COMBI.Results["Iron"] = 50 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Allsmelt Iron */ +local COMBI = {} + +COMBI.Name = "All Iron" +COMBI.Description = "Iron can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Iron_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Iron"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Allsmelt Copper */ +local COMBI = {} + +COMBI.Name = "All Copper" +COMBI.Description = "Copper can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Copper_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Copper"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Stone to Sand ( 10 ) */ +local COMBI = {} + +COMBI.Name = "Sand 10x" +COMBI.Description = "Crushes 10 stone to 10 sand." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Stone"] = 10 + +COMBI.Results = {} +COMBI.Results["Sand"] = 10 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Stone to Sand ( 25 ) */ +local COMBI = {} + +COMBI.Name = "Sand 25x" +COMBI.Description = "Crushes 20 stone to 25 sand." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Stone"] = 20 + +COMBI.Results = {} +COMBI.Results["Sand"] = 25 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Stone to Sand ( 50 ) */ +local COMBI = {} + +COMBI.Name = "Sand 50x" +COMBI.Description = "Crushes 30 stone to 50 sand." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Stone"] = 30 + +COMBI.Results = {} +COMBI.Results["Sand"] = 50 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Resin ( 5 ) */ +local COMBI = {} + +COMBI.Name = "Resin 5x" +COMBI.Description = "Extracts the resin from the wood." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Wood"] = 15 +COMBI.Req["Water_Bottles"] = 1 + +COMBI.Results = {} +COMBI.Results["Resin"] = 5 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Resin ( 10 ) */ +local COMBI = {} + +COMBI.Name = "Resin 10x" +COMBI.Description = "Extracts the resin from the wood." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Wood"] = 25 +COMBI.Req["Water_Bottles"] = 2 + +COMBI.Results = {} +COMBI.Results["Resin"] = 10 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Resin ( 25 ) */ +local COMBI = {} + +COMBI.Name = "Resin 25x" +COMBI.Description = "Extracts the resin from the wood." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Wood"] = 50 +COMBI.Req["Water_Bottles"] = 4 + +COMBI.Results = {} +COMBI.Results["Resin"] = 25 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Plastic ( 10 ) */ +local COMBI = {} + +COMBI.Name = "Plastic 10x" +COMBI.Description = "Solidifies the Resin, creating a natural plastic." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Resin"] = 10 + +COMBI.Results = {} +COMBI.Results["Plastic"] = 10 + +GMS.RegisterCombi( COMBI, "gms_factory" ) + +/* Plastic ( 25 ) */ +local COMBI = {} + +COMBI.Name = "Plastic 25x" +COMBI.Description = "Solidifies the Resin, creating a natural plastic." +COMBI.Entity = "gms_factory" + +COMBI.Req = {} +COMBI.Req["Resin"] = 20 + +COMBI.Results = {} +COMBI.Results["Plastic"] = 25 + +GMS.RegisterCombi( COMBI, "gms_factory" ) diff --git a/gamemode/craftablesystem/misc/fridge.lua b/gamemode/craftablesystem/misc/fridge.lua new file mode 100644 index 0000000..a67bb2a --- /dev/null +++ b/gamemode/craftablesystem/misc/fridge.lua @@ -0,0 +1,14 @@ +/* Fridge */ +local COMBI = {} + +COMBI.Name = "Fridge" +COMBI.Description = "You can use the fridge to store food in it. It will not spoil inside. Highly recommended." + +COMBI.Req = {} +COMBI.Req["Iron"] = 20 + +COMBI.Results = "gms_fridge" +COMBI.Texture = "gms_icons/gms_fridge.png" +COMBI.BuildSiteModel = "models/props_c17/FurnitureFridge001a.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) 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" ) diff --git a/gamemode/craftablesystem/misc/resourcepack.lua b/gamemode/craftablesystem/misc/resourcepack.lua new file mode 100644 index 0000000..172bef2 --- /dev/null +++ b/gamemode/craftablesystem/misc/resourcepack.lua @@ -0,0 +1,15 @@ +/* Resource Pack */ +local COMBI = {} + +COMBI.Name = "Resource Pack" +COMBI.Description = "You can use the resource pack to store multiple resources in it. Highly recommended." + +COMBI.Req = {} +COMBI.Req["Wood"] = 20 +COMBI.Req["Stone"] = 10 + +COMBI.Results = "gms_resourcepack" +COMBI.Texture = "gms_icons/gms_resourcepack.png" +COMBI.BuildSiteModel = "models/items/item_item_crate.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) diff --git a/gamemode/craftablesystem/misc/stove.lua b/gamemode/craftablesystem/misc/stove.lua new file mode 100644 index 0000000..4a8291c --- /dev/null +++ b/gamemode/craftablesystem/misc/stove.lua @@ -0,0 +1,232 @@ +/* Stove */ +local COMBI = {} + +COMBI.Name = "Stove" +COMBI.Description = "Using a stove, you can cook without having to light a fire." + +COMBI.Req = {} +COMBI.Req["Copper"] = 35 +COMBI.Req["Iron"] = 35 +COMBI.Req["Wood"] = 35 + +COMBI.Results = "gms_stove" +COMBI.Texture = "gms_icons/gms_stove.png" +COMBI.BuildSiteModel = "models/props_c17/furniturestove001a.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Casserole */ +local COMBI = {} + +COMBI.Name = "Casserole" +COMBI.Description = "Put a little spiced trout over the fire to make this delicious casserole." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Trout"] = 1 +COMBI.Req["Herbs"] = 3 +COMBI.FoodValue = 400 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Fried meat */ +local COMBI = {} + +COMBI.Name = "Fried Meat" +COMBI.Description = "Simple fried meat." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Meat"] = 1 + +COMBI.FoodValue = 250 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Sushi */ +local COMBI = {} + +COMBI.Name = "Sushi" +COMBI.Description = "For when you like your fish raw." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Bass"] = 2 + +COMBI.FoodValue = 300 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Fish soup */ +local COMBI = {} + +COMBI.Name = "Fish Soup" +COMBI.Description = "Fish soup, pretty good!" +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Bass"] = 1 +COMBI.Req["Trout"] = 1 +COMBI.Req["Spices"] = 2 +COMBI.Req["Water_Bottles"] = 2 + +COMBI.SkillReq = {} +COMBI.SkillReq["Cooking"] = 2 + +COMBI.FoodValue = 400 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Meatballs */ +local COMBI = {} + +COMBI.Name = "Meatballs" +COMBI.Description = "Processed meat." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Meat"] = 1 +COMBI.Req["Spices"] = 1 +COMBI.Req["Water_Bottles"] = 1 + +COMBI.SkillReq = {} +COMBI.SkillReq["Cooking"] = 2 + +COMBI.FoodValue = 400 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Fried fish */ +local COMBI = {} + +COMBI.Name = "Fried Fish" +COMBI.Description = "Simple fried fish." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Bass"] = 1 +COMBI.FoodValue = 200 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Berry Pie */ +local COMBI = {} + +COMBI.Name = "Berry Pie" +COMBI.Description = "Yummy, berry pie reminds me of home!" +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Dough"] = 2 +COMBI.Req["Water_Bottles"] = 2 +COMBI.Req["Berries"] = 5 + +COMBI.SkillReq = {} +COMBI.SkillReq["Cooking"] = 5 + +COMBI.FoodValue = 700 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Rock cake */ +local COMBI = {} + +COMBI.Name = "Rock Cake" +COMBI.Description = "Crunchy!" +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Iron"] = 2 +COMBI.Req["Herbs"] = 1 +COMBI.FoodValue = 50 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Salad */ +local COMBI = {} + +COMBI.Name = "Salad" +COMBI.Description = "Everything for survival, I guess." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Herbs"] = 2 +COMBI.FoodValue = 100 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Meal */ +local COMBI = {} + +COMBI.Name = "Meal" +COMBI.Description = "The ultimate meal. Delicious!" +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Herbs"] = 5 +COMBI.Req["Salmon"] = 1 +COMBI.Req["Meat"] = 2 +COMBI.Req["Spices"] = 3 + +COMBI.SkillReq = {} +COMBI.SkillReq["Cooking"] = 20 + +COMBI.FoodValue = 1000 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Shark soup */ +local COMBI = {} + +COMBI.Name = "Shark Soup" +COMBI.Description = "Man this is good." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Shark"] = 2 +COMBI.Req["Herbs"] = 3 +COMBI.Req["Spices"] = 2 + +COMBI.SkillReq = {} +COMBI.SkillReq["Cooking"] = 15 + +COMBI.FoodValue = 850 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Bread */ +local COMBI = {} + +COMBI.Name = "Bread" +COMBI.Description = "Good old bread." +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Dough"] = 2 +COMBI.Req["Water_Bottles"] = 1 + +COMBI.SkillReq = {} +COMBI.SkillReq["Cooking"] = 5 + +COMBI.FoodValue = 800 + +GMS.RegisterCombi( COMBI, "Cooking" ) + +/* Hamburger */ +local COMBI = {} + +COMBI.Name = "Hamburger" +COMBI.Description = "A hamburger! Yummy!" +COMBI.Entity = "gms_stove" + +COMBI.Req = {} +COMBI.Req["Dough"] = 2 +COMBI.Req["Water_Bottles"] = 1 +COMBI.Req["Meat"] = 2 + +COMBI.SkillReq = {} +COMBI.SkillReq["Cooking"] = 3 + +COMBI.FoodValue = 850 + +GMS.RegisterCombi( COMBI, "Cooking" ) diff --git a/gamemode/craftablesystem/misc/transmutator.lua b/gamemode/craftablesystem/misc/transmutator.lua new file mode 100644 index 0000000..9724844 --- /dev/null +++ b/gamemode/craftablesystem/misc/transmutator.lua @@ -0,0 +1,74 @@ +/* Transmutator */ +local COMBI = {} + +COMBI.Name = "Transmutator" +COMBI.Description = "For transmutating wood." + +COMBI.Req = {} +COMBI.Req["Tech"] = 35 +COMBI.Req["Wood"] = 30 +COMBI.Req["Iron"] = 10 + +COMBI.Results = "gms_transmutator" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_wasteland/kitchen_stove002a.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "All Oak" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_transmutator" + +COMBI.Req = {} +COMBI.Req["Wood"] = 1 +COMBI.Req["Iron"] = 1 + +COMBI.Results = {} +COMBI.Results["Oak"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_transmutator" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "All Cedar" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_transmutator" + +COMBI.Req = {} +COMBI.Req["Oak"] = 1 +COMBI.Req["Tech"] = 1 + +COMBI.Results = {} +COMBI.Results["Cedar"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_transmutator" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "All Maple" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_transmutator" + +COMBI.Req = {} +COMBI.Req["Cedar"] = 1 +COMBI.Req["Silver"] = 1 + +COMBI.Results = {} +COMBI.Results["Maple"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_transmutator" ) |
