diff options
30 files changed, 3113 insertions, 3039 deletions
diff --git a/gamemode/combinations.lua b/gamemode/combinations.lua index 72e4abe..e9bce6a 100644 --- a/gamemode/combinations.lua +++ b/gamemode/combinations.lua @@ -11,2916 +11,76 @@ end /* ------------------------ Structures ------------------------*/ -/* 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" ) - ------------------------------------------------------------------------- - -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" ) - -/* 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" ) - -/* Stone Workbench */ -local COMBI = {} - -COMBI.Name = "Stone Workbench" -COMBI.Description = "This stone table has various fine specialized equipment used in crafting basic items." - -COMBI.Req = {} -COMBI.Req["Wood"] = 15 -COMBI.Req["Stone"] = 25 - -COMBI.Results = "gms_stoneworkbench" -COMBI.Texture = "gms_icons/gms_stoneworkbench.png" -COMBI.BuildSiteModel = "models/props/de_piranesi/pi_merlon.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Copper Workbench */ -local COMBI = {} - -COMBI.Name = "Copper Workbench" -COMBI.Description = "This Copper table has various fine specialized equipment used in crafting quality items." - -COMBI.Req = {} -COMBI.Req["Copper"] = 30 -COMBI.Req["Stone"] = 10 -COMBI.Req["Wood"] = 20 - -COMBI.Results = "gms_copperworkbench" -COMBI.Texture = "gms_icons/gms_copperworkbench.png" -COMBI.BuildSiteModel = "models/props_combine/breendesk.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Iron Workbench */ -local COMBI = {} - -COMBI.Name = "Iron Workbench" -COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." - -COMBI.Req = {} -COMBI.Req["Iron"] = 30 -COMBI.Req["Stone"] = 20 -COMBI.Req["Wood"] = 10 - -COMBI.Results = "gms_ironworkbench" -COMBI.Texture = "gms_icons/gms_ironworkbench.png" -COMBI.BuildSiteModel = "models/props_wasteland/controlroom_desk001b.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Tech Workbench */ -local COMBI = {} - -COMBI.Name = "Tech Workbench" -COMBI.Description = "This tech workbench will help you with all your electronic needs." - -COMBI.Req = {} -COMBI.Req["Tech"] = 30 -COMBI.Req["Stone"] = 20 - -COMBI.Results = "gms_techworkbench" -COMBI.Texture = "gms_icons/gms_techworkbench.png" -COMBI.BuildSiteModel = "models/props_lab/reciever_cart.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Silver Workbench */ -local COMBI = {} - -COMBI.Name = "Silver Workbench" -COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." - -COMBI.Req = {} -COMBI.Req["Silver"] = 30 -COMBI.Req["Stone"] = 20 - -COMBI.Results = "gms_silverworkbench" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props/de_inferno/bench_concrete.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Gold Workbench */ -local COMBI = {} - -COMBI.Name = "Gold Workbench" -COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." - -COMBI.Req = {} -COMBI.Req["Gold"] = 30 -COMBI.Req["Stone"] = 20 - -COMBI.Results = "gms_goldworkbench" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props/cs_office/file_cabinet1.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Steel Workbench */ -local COMBI = {} - -COMBI.Name = "Steel Workbench" -COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." - -COMBI.Req = {} -COMBI.Req["Steel"] = 30 -COMBI.Req["Stone"] = 20 - -COMBI.Results = "gms_steelworkbench" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props/de_nuke/equipment1.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Platinum Workbench */ -local COMBI = {} - -COMBI.Name = "Platinum Workbench" -COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." - -COMBI.Req = {} -COMBI.Req["Platinum"] = 30 -COMBI.Req["Stone"] = 20 - -COMBI.Results = "gms_platinumworkbench" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/xqm/boxfull.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* 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" ) - -/* 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" ) - -/* Stone Furnace */ -local COMBI = {} - -COMBI.Name = "Stone Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another, such as Copper Ore into Copper." - -COMBI.Req = {} -COMBI.Req["Stone"] = 35 - -COMBI.Results = "gms_stonefurnace" -COMBI.Texture = "gms_icons/gms_stonefurnace.png" -COMBI.BuildSiteModel = "models/props/de_inferno/ClayOven.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Copper Furnace */ -local COMBI = {} - -COMBI.Name = "Copper Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another, such as Iron Ore into Iron." - -COMBI.Req = {} -COMBI.Req["Copper"] = 35 - -COMBI.Results = "gms_copperfurnace" -COMBI.Texture = "gms_icons/gms_copperfurnace.png" -COMBI.BuildSiteModel = "models/props/cs_militia/furnace01.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Iron Furnace */ -local COMBI = {} - -COMBI.Name = "Iron Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another, such as Sand into Glass." - -COMBI.Req = {} -COMBI.Req["Iron"] = 35 - -COMBI.Results = "gms_ironfurnace" -COMBI.Texture = "gms_icons/gms_ironfurnace.png" -COMBI.BuildSiteModel = "models/props_c17/furniturefireplace001a.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Tech Furnace */ -local COMBI = {} - -COMBI.Name = "Tech Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another, such as Silver Ore into Silver." - -COMBI.Req = {} -COMBI.Req["Tech"] = 35 -COMBI.Req["Cedar"] = 35 - -COMBI.Results = "gms_techfurnace" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props/cs_militia/dryer.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Silver Furnace */ -local COMBI = {} - -COMBI.Name = "Silver Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another, such as Gold Ore into Gold." - -COMBI.Req = {} -COMBI.Req["Silver"] = 35 -COMBI.Req["Maple"] = 35 - -COMBI.Results = "gms_silverfurnace" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props_wasteland/laundry_basket001.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Gold Furnace */ -local COMBI = {} - -COMBI.Name = "Gold Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another, such as Steel Ore into Steel." - -COMBI.Req = {} -COMBI.Req["Gold"] = 35 -COMBI.Req["Teak"] = 35 - -COMBI.Results = "gms_goldfurnace" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props_industrial/oil_storage.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Steel Furnace */ -local COMBI = {} - -COMBI.Name = "Steel Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another, such as Platinum Ore into Platinum." - -COMBI.Req = {} -COMBI.Req["Steel"] = 35 -COMBI.Req["Mahogany"] = 35 - -COMBI.Results = "gms_steelfurnace" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props_industrial/winch_deck.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* Platinum Furnace */ -local COMBI = {} - -COMBI.Name = "Platinum Furnace" -COMBI.Description = "You can use the furnace to smelt resources into another." - -COMBI.Req = {} -COMBI.Req["Platinum"] = 35 -COMBI.Req["Elm"] = 35 - -COMBI.Results = "gms_platinumfurnace" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/xeon133/slider/slider_stand_12x12x24.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* 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" ) - -/* 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" ) - -/* Pistol Gunlab */ -local COMBI = {} - -COMBI.Name = "Pistol Gun Lab" -COMBI.Description = "For making pistols." - -COMBI.Req = {} -COMBI.Req["Tech"] = 150 -COMBI.Req["Cedar"] = 150 - -COMBI.Results = "gms_pistolgunlab" -COMBI.Texture = "gms_icons/gms_gunlab.png" -COMBI.BuildSiteModel = "models/props/cs_militia/gun_cabinet.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* SMG Gun Lab */ -local COMBI = {} - -COMBI.Name = "SMG Gun Lab" -COMBI.Description = "For making Assault weapons." - -COMBI.Req = {} -COMBI.Req["Silver"] = 200 -COMBI.Req["Maple"] = 200 - -COMBI.Results = "gms_smggunlab" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props_wasteland/controlroom_storagecloset001a.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* High-Tech Lab */ -local COMBI = {} - -COMBI.Name = "High Tech Gun Lab" -COMBI.Description = "For making snipers and misc. weapons." - -COMBI.Req = {} -COMBI.Req["Gold"] = 250 -COMBI.Req["Teak"] = 250 -COMBI.Req["Steel"] = 150 - -COMBI.Results = "gms_hightechgunlab" -COMBI.Texture = "gms_icons/gms_none.png" -COMBI.BuildSiteModel = "models/props_wasteland/laundry_washer003.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) - -/* 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" ) - -/* 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" ) - -/* GunChunks */ -local COMBI = {} - -COMBI.Name = "Gun Chunks" -COMBI.Description = "For making the components of guns with relative ease." - -COMBI.Req = {} -COMBI.Req["Iron"] = 50 -COMBI.Req["Copper"] = 25 -COMBI.Req["Wood"] = 25 - -COMBI.Results = "gms_gunchunks" -COMBI.Texture = "gms_icons/gms_gunchunks.png" -COMBI.BuildSiteModel = "models/Gibs/airboat_broken_engine.mdl" - -GMS.RegisterCombi( COMBI, "Structures" ) +//Moved to various places under craftablesystem/ /* ------------------------ Stone Furnace ------------------------*/ -/* Copper Ore to Copper*/ -local COMBI = {} - -COMBI.Name = "Copper" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" - -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Copper"] = 1 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) - -/* Copper Ore to Copper x5 */ -local COMBI = {} - -COMBI.Name = "Copper 5x" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" - -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Copper"] = 5 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) - -/* Copper Ore to Copper x10 */ -local COMBI = {} - -COMBI.Name = "Copper 10x" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" - -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Copper"] = 10 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) - -/* Copper Ore to Copper x25 */ -local COMBI = {} - -COMBI.Name = "Copper 25x" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" - -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 25 - -COMBI.Results = {} -COMBI.Results["Copper"] = 25 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) - -/* Allsmelt Copper */ -local COMBI = {} - -COMBI.Name = "All Copper" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" - -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Copper"] = 1 - -COMBI.AllSmelt = true -COMBI.Max = 35 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) +//Moved to craftablesystem/furnaces/stonefurnace.lua /* ------------------------ Copper Furnace ------------------------*/ -/* Iron Ore to Iron */ -local COMBI = {} - -COMBI.Name = "Iron" -COMBI.Description = "Iron can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_copperfurnace" - -COMBI.Req = {} -COMBI.Req["Iron_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Iron"] = 1 - -GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) - -/* Iron Ore to Iron x5 */ -local COMBI = {} - -COMBI.Name = "Iron 5x" -COMBI.Description = "Iron can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_copperfurnace" - -COMBI.Req = {} -COMBI.Req["Iron_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Iron"] = 5 - -GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) - -/* Iron Ore to Iron x10 */ -local COMBI = {} - -COMBI.Name = "Iron 10x" -COMBI.Description = "Iron can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_copperfurnace" - -COMBI.Req = {} -COMBI.Req["Iron_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Iron"] = 10 - -GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) - -/* Iron Ore to Iron x25 */ -local COMBI = {} - -COMBI.Name = "Iron 25x" -COMBI.Description = "Iron can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_copperfurnace" - -COMBI.Req = {} -COMBI.Req["Iron_Ore"] = 25 - -COMBI.Results = {} -COMBI.Results["Iron"] = 25 - -GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) - -/* Allsmelt Iron */ -local COMBI = {} - -COMBI.Name = "All Iron" -COMBI.Description = "Iron can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_copperfurnace" - -COMBI.Req = {} -COMBI.Req["Iron_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Iron"] = 1 - -COMBI.AllSmelt = true -COMBI.Max = 50 - -GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) - -/* Sulphur */ -local COMBI = {} - -COMBI.Name = "Sulphur 5x" -COMBI.Description = "Used in the production of gunpowder, refine from rocks." -COMBI.Entity = "gms_copperfurnace" - -COMBI.Req = {} -COMBI.Req["Stone"] = 10 - -COMBI.Results = {} -COMBI.Results["Sulphur"] = 5 - -GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) - -/* Sulphur 10 */ -local COMBI = {} - -COMBI.Name = "Sulphur 10x" -COMBI.Description = "Used in the production of gunpowder, refine from rocks." -COMBI.Entity = "gms_copperfurnace" - -COMBI.Req = {} -COMBI.Req["Stone"] = 20 - -COMBI.Results = {} -COMBI.Results["Sulphur"] = 10 - -GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) +//Moved to craftablesystem/furnaces/copperfurnace.lua /* ------------------------ Iron Furnace ------------------------*/ -/* All Tech */ -local COMBI = {} - -COMBI.Name = "All Tech" -COMBI.Description = "Tech can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Tech_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Tech"] = 1 - -COMBI.AllSmelt = true -COMBI.Max = 50 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) - -/* 1 Tech */ -local COMBI = {} - -COMBI.Name = "Tech" -COMBI.Description = "Tech can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Tech_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Tech"] = 1 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) - -/* 5 Tech */ -local COMBI = {} - -COMBI.Name = "Tech 5x" -COMBI.Description = "Tech can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Tech_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Tech"] = 5 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) - -/* 10 Tech */ -local COMBI = {} - -COMBI.Name = "Tech 10x" -COMBI.Description = "Tech can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Tech_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Tech"] = 10 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) - -/* 25 Tech */ -local COMBI = {} - -COMBI.Name = "Tech 25x" -COMBI.Description = "Tech can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Tech_Ore"] = 25 - -COMBI.Results = {} -COMBI.Results["Tech"] = 25 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) - - -/* Glass */ -local COMBI = {} - -COMBI.Name = "Glass" -COMBI.Description = "Glass can be used for making bottles and lighting." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Sand"] = 2 - -COMBI.Results = {} -COMBI.Results["Glass"] = 1 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) - -/* Charcoal */ -local COMBI = {} - -COMBI.Name = "Charcoal" -COMBI.Description = "Used in the production of gunpowder." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Wood"] = 5 - -COMBI.Results = {} -COMBI.Results["Charcoal"] = 1 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) - -/* Charcoal 10x */ -local COMBI = {} - -COMBI.Name = "Charcoal 10x" -COMBI.Description = "Used in the production of gunpowder." -COMBI.Entity = "gms_ironfurnace" - -COMBI.Req = {} -COMBI.Req["Wood"] = 50 - -COMBI.Results = {} -COMBI.Results["Charcoal"] = 10 - -GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) +//Moved to craftablesystem/furnaces/ironfurnace.lua /* ------------------------ Tech Furnace ------------------------*/ -/* All Silver */ -local COMBI = {} - -COMBI.Name = "All Silver" -COMBI.Description = "Silver can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_techfurnace" - -COMBI.Req = {} -COMBI.Req["Silver_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Silver"] = 1 - -COMBI.AllSmelt = true -COMBI.Max = 50 - -GMS.RegisterCombi( COMBI, "gms_techfurnace" ) - -/* 1 Silver */ -local COMBI = {} - -COMBI.Name = "Silver" -COMBI.Description = "Silver can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_techfurnace" - -COMBI.Req = {} -COMBI.Req["Silver_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Silver"] = 1 - -GMS.RegisterCombi( COMBI, "gms_techfurnace" ) - -/* 5 Silver */ -local COMBI = {} - -COMBI.Name = "Silver 5x" -COMBI.Description = "Silver can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_techfurnace" - -COMBI.Req = {} -COMBI.Req["Silver_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Silver"] = 5 - -GMS.RegisterCombi( COMBI, "gms_techfurnace" ) - -/* 10 Silver */ -local COMBI = {} - -COMBI.Name = "Silver 10x" -COMBI.Description = "Silver can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_techfurnace" - -COMBI.Req = {} -COMBI.Req["Silver_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Silver"] = 10 - -GMS.RegisterCombi( COMBI, "gms_techfurnace" ) - -/* 25 Silver */ -local COMBI = {} - -COMBI.Name = "Silver 25x" -COMBI.Description = "Silver can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_techfurnace" - -COMBI.Req = {} -COMBI.Req["Silver_Ore"] = 25 - -COMBI.Results = {} -COMBI.Results["Silver"] = 25 - -GMS.RegisterCombi( COMBI, "gms_techfurnace" ) +//Moved to craftablesystem/furnaces/techfurnace.lua /* ------------------------ Silver Furnace ------------------------*/ -/* 1 Gold */ -local COMBI = {} - -COMBI.Name = "Gold" -COMBI.Description = "Gold can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_silverfurnace" - -COMBI.Req = {} -COMBI.Req["Gold_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Gold"] = 1 - -GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) - -/* 5 Gold */ -local COMBI = {} - -COMBI.Name = "Gold 5x" -COMBI.Description = "Gold can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_silverfurnace" - -COMBI.Req = {} -COMBI.Req["Gold_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Gold"] = 5 - -GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) - -/* 10 Gold */ -local COMBI = {} - -COMBI.Name = "Gold 10x" -COMBI.Description = "Gold can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_silverfurnace" - -COMBI.Req = {} -COMBI.Req["Gold_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Gold"] = 10 - -GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) - -/* 25 Gold */ -local COMBI = {} - -COMBI.Name = "Gold 25x" -COMBI.Description = "Gold can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_silverfurnace" - -COMBI.Req = {} -COMBI.Req["Gold_Ore"] = 25 - -COMBI.Results = {} -COMBI.Results["Gold"] = 25 - -GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) - -/* All Gold */ -local COMBI = {} - -COMBI.Name = "Gold" -COMBI.Description = "Gold can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_silverfurnace" - -COMBI.Req = {} -COMBI.Req["Gold_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Gold"] = 1 - -COMBI.AllSmelt = true -COMBI.Max = 50 - -GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) +//Moved to craftablesystem/furnaces/silverfurnace.lua /* ------------------------ Gold Furnace ------------------------*/ -/* 1 Steel */ -local COMBI = {} - -COMBI.Name = "Steel" -COMBI.Description = "Steel can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_goldfurnace" - -COMBI.Req = {} -COMBI.Req["Steel_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Steel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) - -/* 5 Steel */ -local COMBI = {} - -COMBI.Name = "Steel 5x" -COMBI.Description = "Steel can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_goldfurnace" - -COMBI.Req = {} -COMBI.Req["Steel_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Steel"] = 5 - -GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) - -/* 10 Steel */ -local COMBI = {} - -COMBI.Name = "Steel 10x" -COMBI.Description = "Steel can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_goldfurnace" - -COMBI.Req = {} -COMBI.Req["Steel_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Steel"] = 10 - -GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) - -/* 25 Steel */ -local COMBI = {} - -COMBI.Name = "Steel 25x" -COMBI.Description = "Steel can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_goldfurnace" - -COMBI.Req = {} -COMBI.Req["Steel_Ore"] = 25 - -COMBI.Results = {} -COMBI.Results["Steel"] = 25 - -GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) - -/* All Steel */ -local COMBI = {} - -COMBI.Name = "Steel" -COMBI.Description = "Steel can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_goldfurnace" - -COMBI.Req = {} -COMBI.Req["Steel_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Steel"] = 1 - -COMBI.AllSmelt = true -COMBI.Max = 50 - -GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) +//Moved to craftablesystem/furnaces/goldfurnace.lua /* ------------------------ Steel Furnace ------------------------*/ -/* 1 Platinum */ -local COMBI = {} - -COMBI.Name = "Platinum" -COMBI.Description = "Platinum can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_steelfurnace" - -COMBI.Req = {} -COMBI.Req["Platinum_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Platinum"] = 1 - -GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) - -/* 5 Platinum */ -local COMBI = {} - -COMBI.Name = "Platinum 5x" -COMBI.Description = "Platinum can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_steelfurnace" - -COMBI.Req = {} -COMBI.Req["Platinum_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Platinum"] = 5 - -GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) - -/* 10 Platinum */ -local COMBI = {} - -COMBI.Name = "Platinum 10x" -COMBI.Description = "Platinum can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_steelfurnace" - -COMBI.Req = {} -COMBI.Req["Platinum_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Platinum"] = 10 - -GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) - -/* 25 Platinum */ -local COMBI = {} - -COMBI.Name = "Platinum 25x" -COMBI.Description = "Platinum can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_steelfurnace" - -COMBI.Req = {} -COMBI.Req["Platinum_Ore"] = 25 - -COMBI.Results = {} -COMBI.Results["Platinum"] = 25 - -GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) - -/* All Platinum */ -local COMBI = {} - -COMBI.Name = "Platinum" -COMBI.Description = "Platinum can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_steelfurnace" - -COMBI.Req = {} -COMBI.Req["Platinum_Ore"] = 1 - -COMBI.Results = {} -COMBI.Results["Platinum"] = 1 - -COMBI.AllSmelt = true -COMBI.Max = 50 - -GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) +//Moved to craftablesystem/furnaces/steelfurnace.lua /*------------------------ Factory ------------------------*/ -/* 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" ) +//Moved to craftablesystem/misc/factory.lua /* ------------------------ Grinding Stone ------------------------*/ -/* 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" ) +//Moved to craftablesystem/misc/grindingstone.lua /*------------------------ Cooking ------------------------*/ -/* 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" ) +//Moved to craftablesystem/misc/stove.lua /* ------------------------ Stone Workbench ------------------------*/ -/* Stone Hatchet */ -local COMBI = {} - -COMBI.Name = "Stone Hatchet" -COMBI.Description = "This small stone axe is ideal for chopping down trees." -COMBI.Entity = "gms_stoneworkbench" - -COMBI.Req = {} -COMBI.Req["Stone"] = 10 -COMBI.Req["Wood"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_stonehatchet" - -GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) - -/* Wooden Spoon */ -local COMBI = {} - -COMBI.Name = "Wooden Spoon" -COMBI.Description = "Allows you to salvage more seeds from consumed fruit." -COMBI.Entity = "gms_stoneworkbench" - -COMBI.Req = {} -COMBI.Req["Wood"] = 12 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 3 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_woodenspoon" - -GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) - -/* Stone Pickaxe */ -local COMBI = {} - -COMBI.Name = "Stone Pickaxe" -COMBI.Description = "This stone pickaxe is used for effectively mining stone and copper ore." -COMBI.Entity = "gms_stoneworkbench" - -COMBI.Req = {} -COMBI.Req["Stone"] = 10 -COMBI.Req["Wood"] = 10 -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_stonepickaxe" - -GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) - -/* Fishing rod */ -local COMBI = {} - -COMBI.Name = "Wooden Fishing Rod" -COMBI.Description = "This rod of wood can be used to fish from a lake." -COMBI.Entity = "gms_stoneworkbench" - -COMBI.Req = {} -COMBI.Req["Rope"] = 1 -COMBI.Req["Wood"] = 20 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 4 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_woodenfishingrod" - -GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) +//Moved to craftablesystem/workbenches/stoneworkbench.lua /* ------------------------ Copper Workbench ------------------------*/ -/* Copper Hatchet */ -local COMBI = {} - -COMBI.Name = "Copper Hatchet" -COMBI.Description = "This copper axe is ideal for chopping down trees." -COMBI.Entity = "gms_copperworkbench" - -COMBI.Req = {} -COMBI.Req["Copper"] = 15 -COMBI.Req["Wood"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_copperhatchet" - -GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) - -/* Copper Hammer */ -local COMBI = {} - -COMBI.Name = "Wrench" -COMBI.Description = "This wrench is ideal for crafting weapons." -COMBI.Entity = "gms_copperworkbench" - -COMBI.Req = {} -COMBI.Req["Copper"] = 10 -COMBI.Req["Wood"] = 10 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 5 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_wrench" - -GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) - -/* Copper Pickaxe */ -local COMBI = {} - -COMBI.Name = "Copper Pickaxe" -COMBI.Description = "This copper pickaxe is used for effectively mining stone, copper ore and iron ore." -COMBI.Entity = "gms_copperworkbench" - -COMBI.Req = {} -COMBI.Req["Copper"] = 15 -COMBI.Req["Wood"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_copperpickaxe" - -GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) - -/* Frying pan */ -local COMBI = {} - -COMBI.Name = "Frying Pan" -COMBI.Description = "This kitchen tool is used for more effective cooking." -COMBI.Entity = "gms_copperworkbench" - -COMBI.Req = {} -COMBI.Req["Copper"] = 20 -COMBI.Req["Wood"] = 5 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 5 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_fryingpan" - -GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) - -/* Shovel */ -local COMBI = {} - -COMBI.Name = "Shovel" -COMBI.Description = "This tool can dig up rocks, and decreases forage times." -COMBI.Entity = "gms_copperworkbench" - -COMBI.Req = {} -COMBI.Req["Copper"] = 15 -COMBI.Req["Wood"] = 15 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 8 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_shovel" - -GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) - -/* Crowbar */ -local COMBI = {} - -COMBI.Name = "Crowbar" -COMBI.Description = "This weapon is initially a tool, but pretty useless for it's original purpose on a stranded Island." -COMBI.Entity = "gms_copperworkbench" - -COMBI.Req = {} -COMBI.Req["Copper"] = 20 -COMBI.Req["Iron"] = 20 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 6 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "weapon_crowbar" - -GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) +//Moved to craftablesystem/workbenches/copperworkbench.lua /* ------------------------ Iron Workbench ------------------------*/ -/* Sickle */ -local COMBI = {} - -COMBI.Name = "Sickle" -COMBI.Description = "This tool effectivizes harvesting." -COMBI.Entity = "gms_ironworkbench" - -COMBI.Req = {} -COMBI.Req["Iron"] = 5 -COMBI.Req["Wood"] = 15 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 7 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_sickle" - -GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) - -/* Strainer */ -local COMBI = {} - -COMBI.Name = "Strainer" -COMBI.Description = "This tool can filter the earth for resources." -COMBI.Entity = "gms_ironworkbench" - -COMBI.Req = {} -COMBI.Req["Iron"] = 5 -COMBI.Req["Wood"] = 5 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_strainer" - -GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) - -/* Advanced Fishing rod */ -local COMBI = {} - -COMBI.Name = "Advanced Fishing rod" -COMBI.Description = "With this Fishing rod you can catch rare fish even faster. You might even catch something big." -COMBI.Entity = "gms_ironworkbench" - -COMBI.Req = {} -COMBI.Req["Iron"] = 25 -COMBI.Req["Wood"] = 30 -COMBI.Req["Rope"] = 2 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 15 -COMBI.SkillReq["Fishing"] = 5 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_advancedfishingrod" - -GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) - -/* Iron Pickaxe */ -local COMBI = {} - -COMBI.Name = "Iron Pickaxe" -COMBI.Description = "This iron pickaxe is used for effectively mining stone, copper ore, iron ore, and tech ore." -COMBI.Entity = "gms_ironworkbench" - -COMBI.Req = {} -COMBI.Req["Iron"] = 20 -COMBI.Req["Wood"] = 10 -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_ironpickaxe" - -GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) - -/* Iron Hatchet */ -local COMBI = {} - -COMBI.Name = "Iron Hatchet" -COMBI.Description = "This iron axe is ideal for chopping down trees." -COMBI.Entity = "gms_ironworkbench" - -COMBI.Req = {} -COMBI.Req["Iron"] = 20 -COMBI.Req["Wood"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_ironhatchet" - -GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) +//Moved to craftablesystem/workbenches/ironworkbench.lua /*------------------------ Gun Lab ------------------------*/ -/*HL2 Smg */ -local COMBI = {} - -COMBI.Name = "HL2 Machine Gun" -COMBI.Description = "Just a simple Machine Gun." -COMBI.Entity = "gms_smggunlab" - -COMBI.Req = {} -COMBI.Req["Copper Gunslide"] = 1 -COMBI.Req["Copper Gungrip"] = 1 -COMBI.Req["Copper Gunbarrel"] = 1 -COMBI.Req["Copper Gunmagazine"] = 1 +//Moved to craftablesystem/gunlabs/smggunlab.lua -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 15 -COMBI.SkillReq["Hunting"] = 15 - -COMBI.Texture = "gms_icons/weapon_smg1.png" -COMBI.SwepClass = "weapon_smg1" - -GMS.RegisterCombi( COMBI, "gms_smggunlab" ) - -/* HL2 Pistol */ -local COMBI = {} - -COMBI.Name = "Pistol" -COMBI.Description = "It's not great, but it does the job. Your first ordinary Pistol." -COMBI.Entity = "gms_pistolgunlab" - -COMBI.Req = {} -COMBI.Req["Copper Gunslide"] = 1 -COMBI.Req["Copper Gungrip"] = 1 -COMBI.Req["Copper Gunbarrel"] = 1 -COMBI.Req["Copper Gunmagazine"] = 1 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 10 -COMBI.SkillReq["Hunting"] = 8 - -COMBI.Texture = "gms_icons/weapon_pistol.png" -COMBI.SwepClass = "weapon_pistol" - -GMS.RegisterCombi( COMBI, "gms_pistolgunlab" ) - -local COMBI = {} - -COMBI.Name = "HL2 Shotgun" -COMBI.Description = "Just a simple Shotgun. Left click for single shot, right click for double shots" -COMBI.Entity = "gms_pistolgunlab" - -COMBI.Req = {} -COMBI.Req["Iron Gunslide"] = 1 -COMBI.Req["Iron Gungrip"] = 1 -COMBI.Req["Iron Gunbarrel"] = 1 -COMBI.Req["Iron Gunmagazine"] = 1 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 25 -COMBI.SkillReq["Hunting"] = 20 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "weapon_shotgun" - -GMS.RegisterCombi( COMBI, "gms_pistolgunlab" ) - -local COMBI = {} - -COMBI.Name = "HL2 Crossbow" -COMBI.Description = "A very Medieval weapon, shoots bolts with left click and zooms in with right click" -COMBI.Entity = "gms_pistolgunlab" - -COMBI.Req = {} -COMBI.Req["Tech Gunslide"] = 1 -COMBI.Req["Tech Gungrip"] = 1 -COMBI.Req["Tech Gunbarrel"] = 1 -COMBI.Req["Tech Gunmagazine"] = 1 -COMBI.Req["Tech WeaponScope"] = 1 -COMBI.Req["Rope"] = 2 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 75 -COMBI.SkillReq["Hunting"] = 70 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "weapon_crossbow" - -GMS.RegisterCombi( COMBI, "gms_pistolgunlab" ) +//Moved to craftablesystem/gunlabs/pistolgunlab.lua /*------------------------ Gun Chunks ------------------------*/ -/* Copper Gunslide */ -local COMBI = {} - -COMBI.Name = "Copper Gunslide" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Copper"] = 15 -COMBI.Req["Wood"] = 20 - -COMBI.Results = {} -COMBI.Results["Copper Gunslide"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Copper Gunbarrel */ -local COMBI = {} - -COMBI.Name = "Copper Gunbarrel" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Copper"] = 15 -COMBI.Req["Wood"] = 20 - -COMBI.Results = {} -COMBI.Results["Copper Gunbarrel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Copper Gungrip */ -local COMBI = {} - -COMBI.Name = "Copper Gungrip" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Copper"] = 15 -COMBI.Req["Wood"] = 20 - -COMBI.Results = {} -COMBI.Results["Copper Gungrip"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Copper Gunmagazine */ -local COMBI = {} - -COMBI.Name = "Copper Gunmagazine" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Copper"] = 15 -COMBI.Req["Wood"] = 20 -COMBI.Req["Gunpowder"] = 10 - -COMBI.Results = {} -COMBI.Results["Copper Gunmagazine"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Copper Weapon Scope */ -local COMBI = {} - -COMBI.Name = "Copper Weapon Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Copper"] = 25 - -COMBI.Results = {} -COMBI.Results["Copper Weapon Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - - -/* Copper Reflex Scope */ -local COMBI = {} - -COMBI.Name = "Copper Reflex Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Copper"] = 25 - -COMBI.Results = {} -COMBI.Results["Copper Reflex Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Iron Gunslide */ -local COMBI = {} - -COMBI.Name = "Iron Gunslide" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Iron"] = 20 -COMBI.Req["Oak"] = 20 - -COMBI.Results = {} -COMBI.Results["Iron Gunslide"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Iron Gunbarrel */ -local COMBI = {} - -COMBI.Name = "Iron Gunbarrel" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Iron"] = 20 -COMBI.Req["Oak"] = 20 - -COMBI.Results = {} -COMBI.Results["Iron Gunbarrel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Iron Gungrip */ -local COMBI = {} - -COMBI.Name = "Iron Gungrip" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Iron"] = 20 -COMBI.Req["Oak"] = 20 - -COMBI.Results = {} -COMBI.Results["Iron Gungrip"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Iron Gunmagazine */ -local COMBI = {} - -COMBI.Name = "Iron Gunmagazine" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Iron"] = 20 -COMBI.Req["Oak"] = 20 -COMBI.Req["Gunpowder"] = 15 - -COMBI.Results = {} -COMBI.Results["Iron Gunmagazine"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Iron Weapon Scope */ -local COMBI = {} - -COMBI.Name = "Iron Weapon Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Iron"] = 30 - -COMBI.Results = {} -COMBI.Results["Iron Weapon Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - - -/* Iron Reflex Scope */ -local COMBI = {} - -COMBI.Name = "Iron Reflex Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Iron"] = 30 - -COMBI.Results = {} -COMBI.Results["Iron Reflex Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Tech Gunslide */ -local COMBI = {} - -COMBI.Name = "Tech Gunslide" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Tech"] = 25 -COMBI.Req["Cedar"] = 25 - -COMBI.Results = {} -COMBI.Results["Tech Gunslide"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Tech Gunbarrel */ -local COMBI = {} - -COMBI.Name = "Tech Gunbarrel" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Tech"] = 25 -COMBI.Req["Cedar"] = 25 - -COMBI.Results = {} -COMBI.Results["Tech Gunbarrel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Tech Gungrip */ -local COMBI = {} - -COMBI.Name = "Tech Gungrip" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Tech"] = 25 -COMBI.Req["Cedar"] = 25 - -COMBI.Results = {} -COMBI.Results["Tech Gungrip"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Tech Gunmagazine */ -local COMBI = {} - -COMBI.Name = "Tech Gunmagazine" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Tech"] = 25 -COMBI.Req["Cedar"] = 15 -COMBI.Req["Gunpowder"] = 15 - -COMBI.Results = {} -COMBI.Results["Tech Gunmagazine"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Tech Weapon Scope */ -local COMBI = {} - -COMBI.Name = "Tech Weapon Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Tech"] = 35 - -COMBI.Results = {} -COMBI.Results["Tech Weapon Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - - -/* Tech Reflex Scope */ -local COMBI = {} - -COMBI.Name = "Tech Reflex Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Tech"] = 35 - -COMBI.Results = {} -COMBI.Results["Tech Reflex Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Silver Gunslide */ -local COMBI = {} - -COMBI.Name = "Silver Gunslide" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Silver"] = 30 -COMBI.Req["Maple"] = 20 - -COMBI.Results = {} -COMBI.Results["Silver Gunslide"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Silver Gunbarrel */ -local COMBI = {} - -COMBI.Name = "Silver Gunbarrel" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Silver"] = 30 -COMBI.Req["Maple"] = 20 - -COMBI.Results = {} -COMBI.Results["Silver Gunbarrel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Silver Gungrip */ -local COMBI = {} - -COMBI.Name = "Silver Gungrip" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Silver"] = 30 -COMBI.Req["Maple"] = 20 - -COMBI.Results = {} -COMBI.Results["Silver Gungrip"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Silver Gunmagazine */ -local COMBI = {} - -COMBI.Name = "Silver Gunmagazine" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Silver"] = 30 -COMBI.Req["Maple"] = 20 -COMBI.Req["Gunpowder"] = 20 - -COMBI.Results = {} -COMBI.Results["Silver Gunmagazine"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Silver Weapon Scope */ -local COMBI = {} - -COMBI.Name = "Silver Weapon Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Silver"] = 40 - -COMBI.Results = {} -COMBI.Results["Silver Weapon Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - - -/* Silver Reflex Scope */ -local COMBI = {} - -COMBI.Name = "Silver Reflex Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Silver"] = 40 - -COMBI.Results = {} -COMBI.Results["Silver Reflex Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Gold Gunslide */ -local COMBI = {} - -COMBI.Name = "Gold Gunslide" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Gold"] = 35 -COMBI.Req["Teak"] = 25 - -COMBI.Results = {} -COMBI.Results["Gold Gunslide"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Gold Gunbarrel */ -local COMBI = {} - -COMBI.Name = "Gold Gunbarrel" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Gold"] = 35 -COMBI.Req["Teak"] = 25 - -COMBI.Results = {} -COMBI.Results["Gold Gunbarrel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Gold Gungrip */ -local COMBI = {} - -COMBI.Name = "Gold Gungrip" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Gold"] = 35 -COMBI.Req["Teak"] = 25 - -COMBI.Results = {} -COMBI.Results["Gold Gungrip"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Gold Gunmagazine */ -local COMBI = {} - -COMBI.Name = "Gold Gunmagazine" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Gold"] = 35 -COMBI.Req["Teak"] = 25 -COMBI.Req["Gunpowder"] = 25 - -COMBI.Results = {} -COMBI.Results["Gold Gunmagazine"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Gold Weapon Scope */ -local COMBI = {} - -COMBI.Name = "Gold Weapon Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Gold"] = 45 - -COMBI.Results = {} -COMBI.Results["Gold Weapon Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - - -/* Gold Reflex Scope */ -local COMBI = {} - -COMBI.Name = "Gold Reflex Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Gold"] = 45 - -COMBI.Results = {} -COMBI.Results["Gold Reflex Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Steel Gunslide */ -local COMBI = {} - -COMBI.Name = "Steel Gunslide" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Steel"] = 40 -COMBI.Req["Mahogany"] = 30 - -COMBI.Results = {} -COMBI.Results["Steel Gunslide"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Steel Gunbarrel */ -local COMBI = {} - -COMBI.Name = "Steel Gunbarrel" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Steel"] = 40 -COMBI.Req["Mahogany"] = 30 - -COMBI.Results = {} -COMBI.Results["Steel Gunbarrel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Steel Gungrip */ -local COMBI = {} - -COMBI.Name = "Steel Gungrip" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Steel"] = 40 -COMBI.Req["Mahogany"] = 30 - -COMBI.Results = {} -COMBI.Results["Steel Gungrip"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Steel Gunmagazine */ -local COMBI = {} - -COMBI.Name = "Steel Gunmagazine" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Steel"] = 40 -COMBI.Req["Mahogany"] = 30 -COMBI.Req["Gunpowder"] = 30 - -COMBI.Results = {} -COMBI.Results["Steel Gunmagazine"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Steel Weapon Scope */ -local COMBI = {} - -COMBI.Name = "Steel Weapon Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Steel"] = 50 - -COMBI.Results = {} -COMBI.Results["Steel Weapon Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - - -/* Steel Reflex Scope */ -local COMBI = {} - -COMBI.Name = "Steel Reflex Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Steel"] = 50 - -COMBI.Results = {} -COMBI.Results["Steel Reflex Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Platinum Gunslide */ -local COMBI = {} - -COMBI.Name = "Platinum Gunslide" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Platinum"] = 45 -COMBI.Req["Elm"] = 35 - -COMBI.Results = {} -COMBI.Results["Platinum Gunslide"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Platinum Gunbarrel */ -local COMBI = {} - -COMBI.Name = "Platinum Gunbarrel" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Platinum"] = 45 -COMBI.Req["Elm"] = 35 - -COMBI.Results = {} -COMBI.Results["Platinum Gunbarrel"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Platinum Gungrip */ -local COMBI = {} - -COMBI.Name = "Platinum Gungrip" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Platinum"] = 45 -COMBI.Req["Elm"] = 35 - -COMBI.Results = {} -COMBI.Results["Platinum Gungrip"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Platinum Gunmagazine */ -local COMBI = {} - -COMBI.Name = "Platinum Gunmagazine" -COMBI.Description = "A piece of a gun" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Platinum"] = 45 -COMBI.Req["Elm"] = 35 -COMBI.Req["Gunpowder"] = 35 - -COMBI.Results = {} -COMBI.Results["Platinum Gunmagazine"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Platinum Weapon Scope */ -local COMBI = {} - -COMBI.Name = "Platinum Weapon Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Platinum"] = 55 - -COMBI.Results = {} -COMBI.Results["Platinum Weapon Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - - -/* Platinum Reflex Scope */ -local COMBI = {} - -COMBI.Name = "Platinum Reflex Scope" -COMBI.Description = "A weapon scope" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Glass"] = 20 -COMBI.Req["Platinum"] = 55 - -COMBI.Results = {} -COMBI.Results["Platinum Reflex Scope"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Saltpetre */ -local COMBI = {} - -COMBI.Name = "Saltpetre" -COMBI.Description = "Used in making gunpowder" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Urine_Bottles"] = 1 - -COMBI.Results = {} -COMBI.Results["Saltpetre"] = 1 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Saltpetre x10 */ -local COMBI = {} - -COMBI.Name = "Saltpetre 10x" -COMBI.Description = "Used in making gunpowder" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Urine_Bottles"] = 10 - -COMBI.Results = {} -COMBI.Results["Saltpetre"] = 10 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) - -/* Gunpowder */ -local COMBI = {} - -COMBI.Name = "Gunpowder" -COMBI.Description = "Explosive!" -COMBI.Entity = "gms_gunchunks" - -COMBI.Req = {} -COMBI.Req["Sulphur"] = 5 -COMBI.Req["Charcoal"] = 10 -COMBI.Req["Saltpetre"] = 10 - -COMBI.Results = {} -COMBI.Results["Gunpowder"] = 10 - -GMS.RegisterCombi( COMBI, "gms_gunchunks" ) +//Moved to craftablesystem/gunlabs/gunchunks.lua /* ------------------------------------------------------------------------ Tech workbench ------------------------------------------------------------------------ */ -local COMBI = {} - -COMBI.Name = "Batteries" -COMBI.Description = "These self-rechargeable batteries are used to craft stunstick, toolgun and flashlight.\nAlso the more batteries you have, the longer you can use your flashlight." - -COMBI.Req = {} -COMBI.Req["Copper"] = 3 -COMBI.Req["Iron"] = 3 - -COMBI.Results = {} -COMBI.Results["Batteries"] = 1 - -GMS.RegisterCombi( COMBI, "gms_techworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Toolgun" -COMBI.Description = "Vital to long term survival, it allows you to easily build complex structures." -COMBI.Entity = "gms_techworkbench" - -COMBI.Req = {} -COMBI.Req["Iron"] = 30 -COMBI.Req["Wood"] = 20 -COMBI.Req["Glass"] = 5 -COMBI.Req["Batteries"] = 2 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gmod_tool" - -GMS.RegisterCombi( COMBI, "gms_techworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Flashlight" -COMBI.Description = "Grants ability to use flashlight." - -COMBI.Req = {} -COMBI.Req["Iron"] = 15 -COMBI.Req["Glass"] = 5 -COMBI.Req["Batteries"] = 3 - -COMBI.Results = {} -COMBI.Results["Flashlight"] = 1 - -GMS.RegisterCombi( COMBI, "gms_techworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Stunstick" -COMBI.Description = "This highly advanced, effective melee weapon is useful for hunting down animals and fellow stranded alike." -COMBI.Entity = "gms_techworkbench" - -COMBI.Req = {} -COMBI.Req["Iron"] = 40 -COMBI.Req["Batteries"] = 4 - -COMBI.SkillReq = {} -COMBI.SkillReq["Weapon_Crafting"] = 11 -COMBI.SkillReq["Hunting"] = 5 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "weapon_stunstick" - -GMS.RegisterCombi( COMBI, "gms_techworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Wrist Watch" -COMBI.Description = "See the time whereever you go." -COMBI.Entity = "gms_techworkbench" - -COMBI.Results = {} -COMBI.Results["Wrist_Watch"] = 1 - -COMBI.Req = {} -COMBI.Req["Iron"] = 5 -COMBI.Req["Glass"] = 5 -COMBI.Req["Batteries"] = 2 - -GMS.RegisterCombi( COMBI, "gms_techworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Tech Pickaxe" -COMBI.Description = "This tech pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, and silver ore." -COMBI.Entity = "gms_techworkbench" - -COMBI.Req = {} -COMBI.Req["Tech"] = 25 -COMBI.Req["Cedar"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_techpickaxe" - -GMS.RegisterCombi( COMBI, "gms_techworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Tech Hatchet" -COMBI.Description = "This tech axe is ideal for chopping down trees." -COMBI.Entity = "gms_techworkbench" - -COMBI.Req = {} -COMBI.Req["Tech"] = 25 -COMBI.Req["Cedar"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_techhatchet" - -GMS.RegisterCombi( COMBI, "gms_techworkbench" ) +//Moved to craftablesystem/workbenches/techworkbench.lua ------------------------------------------------------------------------ @@ -2928,37 +88,7 @@ GMS.RegisterCombi( COMBI, "gms_techworkbench" ) Silver workbench ------------------------------------------------------------------------ */ -local COMBI = {} - -COMBI.Name = "Silver Pickaxe" -COMBI.Description = "This silver pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, and gold ore." -COMBI.Entity = "gms_silverworkbench" - -COMBI.Req = {} -COMBI.Req["Silver"] = 30 -COMBI.Req["Maple"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_silverpickaxe" - -GMS.RegisterCombi( COMBI, "gms_silverworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Silver Hatchet" -COMBI.Description = "This silver axe is ideal for chopping down trees." -COMBI.Entity = "gms_silverworkbench" - -COMBI.Req = {} -COMBI.Req["Silver"] = 30 -COMBI.Req["Maple"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_silverhatchet" - -GMS.RegisterCombi( COMBI, "gms_silverworkbench" ) +//Moved to craftablesystem/workbenches/silverworkbench.lua ------------------------------------------------------------------------ @@ -2966,37 +96,7 @@ GMS.RegisterCombi( COMBI, "gms_silverworkbench" ) Gold workbench ------------------------------------------------------------------------ */ -local COMBI = {} - -COMBI.Name = "Gold Pickaxe" -COMBI.Description = "This gold pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, and steel ore." -COMBI.Entity = "gms_goldworkbench" - -COMBI.Req = {} -COMBI.Req["Gold"] = 35 -COMBI.Req["Teak"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_goldpickaxe" - -GMS.RegisterCombi( COMBI, "gms_goldworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Gold Hatchet" -COMBI.Description = "This gold axe is ideal for chopping down trees." -COMBI.Entity = "gms_goldworkbench" - -COMBI.Req = {} -COMBI.Req["Gold"] = 35 -COMBI.Req["Teak"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_goldhatchet" - -GMS.RegisterCombi( COMBI, "gms_goldworkbench" ) +//Moved to craftablesystem/workbenches/goldworkbench.lua ------------------------------------------------------------------------ @@ -3004,37 +104,7 @@ GMS.RegisterCombi( COMBI, "gms_goldworkbench" ) Steel workbench ------------------------------------------------------------------------ */ -local COMBI = {} - -COMBI.Name = "Steel Pickaxe" -COMBI.Description = "This steel pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, steel ore, and platinum ore." -COMBI.Entity = "gms_steelworkbench" - -COMBI.Req = {} -COMBI.Req["Steel"] = 40 -COMBI.Req["Mahogany"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_steelpickaxe" - -GMS.RegisterCombi( COMBI, "gms_steelworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Steel Hatchet" -COMBI.Description = "This Steel axe is ideal for chopping down trees." -COMBI.Entity = "gms_steelworkbench" - -COMBI.Req = {} -COMBI.Req["Steel"] = 40 -COMBI.Req["Mahogany"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_steelhatchet" - -GMS.RegisterCombi( COMBI, "gms_steelworkbench" ) +//Moved to craftablesystem/workbenches/steelworkbench.lua ------------------------------------------------------------------------ @@ -3042,37 +112,7 @@ GMS.RegisterCombi( COMBI, "gms_steelworkbench" ) Platinum workbench ------------------------------------------------------------------------ */ -local COMBI = {} - -COMBI.Name = "Platinum Pickaxe" -COMBI.Description = "This platinum pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, steel ore, and platinum ore." -COMBI.Entity = "gms_platinumworkbench" - -COMBI.Req = {} -COMBI.Req["Platinum"] = 45 -COMBI.Req["Elm"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_platinumpickaxe" - -GMS.RegisterCombi( COMBI, "gms_platinumworkbench" ) - ------------------------------------------------------------------------- - -local COMBI = {} - -COMBI.Name = "Platinum Hatchet" -COMBI.Description = "This Platinum axe is ideal for chopping down trees." -COMBI.Entity = "gms_platinumworkbench" - -COMBI.Req = {} -COMBI.Req["Platinum"] = 45 -COMBI.Req["Elm"] = 10 - -COMBI.Texture = "gms_icons/gms_weapon.png" -COMBI.SwepClass = "gms_platinumhatchet" - -GMS.RegisterCombi( COMBI, "gms_platinumworkbench" ) +//Moved to craftablesystem/workbenches/platinumworkbench.lua ------------------------------------------------------------------------ @@ -3080,63 +120,7 @@ GMS.RegisterCombi( COMBI, "gms_platinumworkbench" ) Basic Transmutator ------------------------------------------------------------------------ */ -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" ) +//Moved to craftablesystem/misc/transmutator.lua ------------------------------------------------------------------------ diff --git a/gamemode/craftablesystem/furnaces/copperfurnace.lua b/gamemode/craftablesystem/furnaces/copperfurnace.lua new file mode 100644 index 0000000..8d58554 --- /dev/null +++ b/gamemode/craftablesystem/furnaces/copperfurnace.lua @@ -0,0 +1,122 @@ +/* Copper Furnace */ +local COMBI = {} + +COMBI.Name = "Copper Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another, such as Iron Ore into Iron." + +COMBI.Req = {} +COMBI.Req["Copper"] = 35 + +COMBI.Results = "gms_copperfurnace" +COMBI.Texture = "gms_icons/gms_copperfurnace.png" +COMBI.BuildSiteModel = "models/props/cs_militia/furnace01.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Iron Ore to Iron */ +local COMBI = {} + +COMBI.Name = "Iron" +COMBI.Description = "Iron can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_copperfurnace" + +COMBI.Req = {} +COMBI.Req["Iron_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Iron"] = 1 + +GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) + +/* Iron Ore to Iron x5 */ +local COMBI = {} + +COMBI.Name = "Iron 5x" +COMBI.Description = "Iron can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_copperfurnace" + +COMBI.Req = {} +COMBI.Req["Iron_Ore"] = 5 + +COMBI.Results = {} +COMBI.Results["Iron"] = 5 + +GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) + +/* Iron Ore to Iron x10 */ +local COMBI = {} + +COMBI.Name = "Iron 10x" +COMBI.Description = "Iron can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_copperfurnace" + +COMBI.Req = {} +COMBI.Req["Iron_Ore"] = 10 + +COMBI.Results = {} +COMBI.Results["Iron"] = 10 + +GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) + +/* Iron Ore to Iron x25 */ +local COMBI = {} + +COMBI.Name = "Iron 25x" +COMBI.Description = "Iron can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_copperfurnace" + +COMBI.Req = {} +COMBI.Req["Iron_Ore"] = 25 + +COMBI.Results = {} +COMBI.Results["Iron"] = 25 + +GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) + +/* Allsmelt Iron */ +local COMBI = {} + +COMBI.Name = "All Iron" +COMBI.Description = "Iron can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_copperfurnace" + +COMBI.Req = {} +COMBI.Req["Iron_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Iron"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 50 + +GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) + +/* Sulphur */ +local COMBI = {} + +COMBI.Name = "Sulphur 5x" +COMBI.Description = "Used in the production of gunpowder, refine from rocks." +COMBI.Entity = "gms_copperfurnace" + +COMBI.Req = {} +COMBI.Req["Stone"] = 10 + +COMBI.Results = {} +COMBI.Results["Sulphur"] = 5 + +GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) + +/* Sulphur 10 */ +local COMBI = {} + +COMBI.Name = "Sulphur 10x" +COMBI.Description = "Used in the production of gunpowder, refine from rocks." +COMBI.Entity = "gms_copperfurnace" + +COMBI.Req = {} +COMBI.Req["Stone"] = 20 + +COMBI.Results = {} +COMBI.Results["Sulphur"] = 10 + +GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) diff --git a/gamemode/craftablesystem/furnaces/goldfurnace.lua b/gamemode/craftablesystem/furnaces/goldfurnace.lua new file mode 100644 index 0000000..fc050ba --- /dev/null +++ b/gamemode/craftablesystem/furnaces/goldfurnace.lua @@ -0,0 +1,93 @@ +/* Gold Furnace */ +local COMBI = {} + +COMBI.Name = "Gold Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another, such as Steel Ore into Steel." + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 35 + +COMBI.Results = "gms_goldfurnace" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_industrial/oil_storage.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* 1 Steel */ +local COMBI = {} + +COMBI.Name = "Steel" +COMBI.Description = "Steel can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_goldfurnace" + +COMBI.Req = {} +COMBI.Req["Steel_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Steel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) + +/* 5 Steel */ +local COMBI = {} + +COMBI.Name = "Steel 5x" +COMBI.Description = "Steel can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_goldfurnace" + +COMBI.Req = {} +COMBI.Req["Steel_Ore"] = 5 + +COMBI.Results = {} +COMBI.Results["Steel"] = 5 + +GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) + +/* 10 Steel */ +local COMBI = {} + +COMBI.Name = "Steel 10x" +COMBI.Description = "Steel can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_goldfurnace" + +COMBI.Req = {} +COMBI.Req["Steel_Ore"] = 10 + +COMBI.Results = {} +COMBI.Results["Steel"] = 10 + +GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) + +/* 25 Steel */ +local COMBI = {} + +COMBI.Name = "Steel 25x" +COMBI.Description = "Steel can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_goldfurnace" + +COMBI.Req = {} +COMBI.Req["Steel_Ore"] = 25 + +COMBI.Results = {} +COMBI.Results["Steel"] = 25 + +GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) + +/* All Steel */ +local COMBI = {} + +COMBI.Name = "Steel" +COMBI.Description = "Steel can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_goldfurnace" + +COMBI.Req = {} +COMBI.Req["Steel_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Steel"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 50 + +GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) diff --git a/gamemode/craftablesystem/furnaces/ironfurnace.lua b/gamemode/craftablesystem/furnaces/ironfurnace.lua new file mode 100644 index 0000000..bea5d0b --- /dev/null +++ b/gamemode/craftablesystem/furnaces/ironfurnace.lua @@ -0,0 +1,138 @@ +/* Iron Furnace */ +local COMBI = {} + +COMBI.Name = "Iron Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another, such as Sand into Glass." + +COMBI.Req = {} +COMBI.Req["Iron"] = 35 + +COMBI.Results = "gms_ironfurnace" +COMBI.Texture = "gms_icons/gms_ironfurnace.png" +COMBI.BuildSiteModel = "models/props_c17/furniturefireplace001a.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* All Tech */ +local COMBI = {} + +COMBI.Name = "All Tech" +COMBI.Description = "Tech can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Tech_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Tech"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 50 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) + +/* 1 Tech */ +local COMBI = {} + +COMBI.Name = "Tech" +COMBI.Description = "Tech can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Tech_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Tech"] = 1 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) + +/* 5 Tech */ +local COMBI = {} + +COMBI.Name = "Tech 5x" +COMBI.Description = "Tech can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Tech_Ore"] = 5 + +COMBI.Results = {} +COMBI.Results["Tech"] = 5 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) + +/* 10 Tech */ +local COMBI = {} + +COMBI.Name = "Tech 10x" +COMBI.Description = "Tech can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Tech_Ore"] = 10 + +COMBI.Results = {} +COMBI.Results["Tech"] = 10 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) + +/* 25 Tech */ +local COMBI = {} + +COMBI.Name = "Tech 25x" +COMBI.Description = "Tech can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Tech_Ore"] = 25 + +COMBI.Results = {} +COMBI.Results["Tech"] = 25 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) + + +/* Glass */ +local COMBI = {} + +COMBI.Name = "Glass" +COMBI.Description = "Glass can be used for making bottles and lighting." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Sand"] = 2 + +COMBI.Results = {} +COMBI.Results["Glass"] = 1 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) + +/* Charcoal */ +local COMBI = {} + +COMBI.Name = "Charcoal" +COMBI.Description = "Used in the production of gunpowder." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Wood"] = 5 + +COMBI.Results = {} +COMBI.Results["Charcoal"] = 1 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) + +/* Charcoal 10x */ +local COMBI = {} + +COMBI.Name = "Charcoal 10x" +COMBI.Description = "Used in the production of gunpowder." +COMBI.Entity = "gms_ironfurnace" + +COMBI.Req = {} +COMBI.Req["Wood"] = 50 + +COMBI.Results = {} +COMBI.Results["Charcoal"] = 10 + +GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) diff --git a/gamemode/craftablesystem/furnaces/platinumfurnace.lua b/gamemode/craftablesystem/furnaces/platinumfurnace.lua new file mode 100644 index 0000000..6f7bbd5 --- /dev/null +++ b/gamemode/craftablesystem/furnaces/platinumfurnace.lua @@ -0,0 +1,15 @@ +/* Platinum Furnace */ +local COMBI = {} + +COMBI.Name = "Platinum Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another." + +COMBI.Req = {} +COMBI.Req["Platinum"] = 35 +COMBI.Req["Elm"] = 35 + +COMBI.Results = "gms_platinumfurnace" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/xeon133/slider/slider_stand_12x12x24.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) diff --git a/gamemode/craftablesystem/furnaces/silverfurnace.lua b/gamemode/craftablesystem/furnaces/silverfurnace.lua new file mode 100644 index 0000000..ce920c9 --- /dev/null +++ b/gamemode/craftablesystem/furnaces/silverfurnace.lua @@ -0,0 +1,93 @@ +/* Silver Furnace */ +local COMBI = {} + +COMBI.Name = "Silver Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another, such as Gold Ore into Gold." + +COMBI.Req = {} +COMBI.Req["Silver"] = 35 +COMBI.Req["Maple"] = 35 + +COMBI.Results = "gms_silverfurnace" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_wasteland/laundry_basket001.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* 1 Gold */ +local COMBI = {} + +COMBI.Name = "Gold" +COMBI.Description = "Gold can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_silverfurnace" + +COMBI.Req = {} +COMBI.Req["Gold_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Gold"] = 1 + +GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) + +/* 5 Gold */ +local COMBI = {} + +COMBI.Name = "Gold 5x" +COMBI.Description = "Gold can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_silverfurnace" + +COMBI.Req = {} +COMBI.Req["Gold_Ore"] = 5 + +COMBI.Results = {} +COMBI.Results["Gold"] = 5 + +GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) + +/* 10 Gold */ +local COMBI = {} + +COMBI.Name = "Gold 10x" +COMBI.Description = "Gold can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_silverfurnace" + +COMBI.Req = {} +COMBI.Req["Gold_Ore"] = 10 + +COMBI.Results = {} +COMBI.Results["Gold"] = 10 + +GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) + +/* 25 Gold */ +local COMBI = {} + +COMBI.Name = "Gold 25x" +COMBI.Description = "Gold can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_silverfurnace" + +COMBI.Req = {} +COMBI.Req["Gold_Ore"] = 25 + +COMBI.Results = {} +COMBI.Results["Gold"] = 25 + +GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) + +/* All Gold */ +local COMBI = {} + +COMBI.Name = "Gold" +COMBI.Description = "Gold can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_silverfurnace" + +COMBI.Req = {} +COMBI.Req["Gold_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Gold"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 50 + +GMS.RegisterCombi( COMBI, "gms_silverfurnace" ) diff --git a/gamemode/craftablesystem/furnaces/steelfurnace.lua b/gamemode/craftablesystem/furnaces/steelfurnace.lua new file mode 100644 index 0000000..2f2bfdd --- /dev/null +++ b/gamemode/craftablesystem/furnaces/steelfurnace.lua @@ -0,0 +1,93 @@ +/* Steel Furnace */ +local COMBI = {} + +COMBI.Name = "Steel Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another, such as Platinum Ore into Platinum." + +COMBI.Req = {} +COMBI.Req["Steel"] = 35 +COMBI.Req["Mahogany"] = 35 + +COMBI.Results = "gms_steelfurnace" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_industrial/winch_deck.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* 1 Platinum */ +local COMBI = {} + +COMBI.Name = "Platinum" +COMBI.Description = "Platinum can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_steelfurnace" + +COMBI.Req = {} +COMBI.Req["Platinum_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Platinum"] = 1 + +GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) + +/* 5 Platinum */ +local COMBI = {} + +COMBI.Name = "Platinum 5x" +COMBI.Description = "Platinum can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_steelfurnace" + +COMBI.Req = {} +COMBI.Req["Platinum_Ore"] = 5 + +COMBI.Results = {} +COMBI.Results["Platinum"] = 5 + +GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) + +/* 10 Platinum */ +local COMBI = {} + +COMBI.Name = "Platinum 10x" +COMBI.Description = "Platinum can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_steelfurnace" + +COMBI.Req = {} +COMBI.Req["Platinum_Ore"] = 10 + +COMBI.Results = {} +COMBI.Results["Platinum"] = 10 + +GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) + +/* 25 Platinum */ +local COMBI = {} + +COMBI.Name = "Platinum 25x" +COMBI.Description = "Platinum can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_steelfurnace" + +COMBI.Req = {} +COMBI.Req["Platinum_Ore"] = 25 + +COMBI.Results = {} +COMBI.Results["Platinum"] = 25 + +GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) + +/* All Platinum */ +local COMBI = {} + +COMBI.Name = "Platinum" +COMBI.Description = "Platinum can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_steelfurnace" + +COMBI.Req = {} +COMBI.Req["Platinum_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Platinum"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 50 + +GMS.RegisterCombi( COMBI, "gms_steelfurnace" ) diff --git a/gamemode/craftablesystem/furnaces/stonefurnace.lua b/gamemode/craftablesystem/furnaces/stonefurnace.lua new file mode 100644 index 0000000..c48a7d0 --- /dev/null +++ b/gamemode/craftablesystem/furnaces/stonefurnace.lua @@ -0,0 +1,92 @@ +/* Stone Furnace */ +local COMBI = {} + +COMBI.Name = "Stone Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another, such as Copper Ore into Copper." + +COMBI.Req = {} +COMBI.Req["Stone"] = 35 + +COMBI.Results = "gms_stonefurnace" +COMBI.Texture = "gms_icons/gms_stonefurnace.png" +COMBI.BuildSiteModel = "models/props/de_inferno/ClayOven.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Copper Ore to Copper*/ +local COMBI = {} + +COMBI.Name = "Copper" +COMBI.Description = "Copper can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_stonefurnace" + +COMBI.Req = {} +COMBI.Req["Copper_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Copper"] = 1 + +GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) + +/* Copper Ore to Copper x5 */ +local COMBI = {} + +COMBI.Name = "Copper 5x" +COMBI.Description = "Copper can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_stonefurnace" + +COMBI.Req = {} +COMBI.Req["Copper_Ore"] = 5 + +COMBI.Results = {} +COMBI.Results["Copper"] = 5 + +GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) + +/* Copper Ore to Copper x10 */ +local COMBI = {} + +COMBI.Name = "Copper 10x" +COMBI.Description = "Copper can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_stonefurnace" + +COMBI.Req = {} +COMBI.Req["Copper_Ore"] = 10 + +COMBI.Results = {} +COMBI.Results["Copper"] = 10 + +GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) + +/* Copper Ore to Copper x25 */ +local COMBI = {} + +COMBI.Name = "Copper 25x" +COMBI.Description = "Copper can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_stonefurnace" + +COMBI.Req = {} +COMBI.Req["Copper_Ore"] = 25 + +COMBI.Results = {} +COMBI.Results["Copper"] = 25 + +GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) + +/* Allsmelt Copper */ +local COMBI = {} + +COMBI.Name = "All Copper" +COMBI.Description = "Copper can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_stonefurnace" + +COMBI.Req = {} +COMBI.Req["Copper_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Copper"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 35 + +GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) diff --git a/gamemode/craftablesystem/furnaces/techfurnace.lua b/gamemode/craftablesystem/furnaces/techfurnace.lua new file mode 100644 index 0000000..274ce57 --- /dev/null +++ b/gamemode/craftablesystem/furnaces/techfurnace.lua @@ -0,0 +1,93 @@ +/* Tech Furnace */ +local COMBI = {} + +COMBI.Name = "Tech Furnace" +COMBI.Description = "You can use the furnace to smelt resources into another, such as Silver Ore into Silver." + +COMBI.Req = {} +COMBI.Req["Tech"] = 35 +COMBI.Req["Cedar"] = 35 + +COMBI.Results = "gms_techfurnace" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props/cs_militia/dryer.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* All Silver */ +local COMBI = {} + +COMBI.Name = "All Silver" +COMBI.Description = "Silver can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_techfurnace" + +COMBI.Req = {} +COMBI.Req["Silver_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Silver"] = 1 + +COMBI.AllSmelt = true +COMBI.Max = 50 + +GMS.RegisterCombi( COMBI, "gms_techfurnace" ) + +/* 1 Silver */ +local COMBI = {} + +COMBI.Name = "Silver" +COMBI.Description = "Silver can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_techfurnace" + +COMBI.Req = {} +COMBI.Req["Silver_Ore"] = 1 + +COMBI.Results = {} +COMBI.Results["Silver"] = 1 + +GMS.RegisterCombi( COMBI, "gms_techfurnace" ) + +/* 5 Silver */ +local COMBI = {} + +COMBI.Name = "Silver 5x" +COMBI.Description = "Silver can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_techfurnace" + +COMBI.Req = {} +COMBI.Req["Silver_Ore"] = 5 + +COMBI.Results = {} +COMBI.Results["Silver"] = 5 + +GMS.RegisterCombi( COMBI, "gms_techfurnace" ) + +/* 10 Silver */ +local COMBI = {} + +COMBI.Name = "Silver 10x" +COMBI.Description = "Silver can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_techfurnace" + +COMBI.Req = {} +COMBI.Req["Silver_Ore"] = 10 + +COMBI.Results = {} +COMBI.Results["Silver"] = 10 + +GMS.RegisterCombi( COMBI, "gms_techfurnace" ) + +/* 25 Silver */ +local COMBI = {} + +COMBI.Name = "Silver 25x" +COMBI.Description = "Silver can be used to create more advanced buildings and tools." +COMBI.Entity = "gms_techfurnace" + +COMBI.Req = {} +COMBI.Req["Silver_Ore"] = 25 + +COMBI.Results = {} +COMBI.Results["Silver"] = 25 + +GMS.RegisterCombi( COMBI, "gms_techfurnace" ) diff --git a/gamemode/craftablesystem/gunlabs/gunchunks.lua b/gamemode/craftablesystem/gunlabs/gunchunks.lua new file mode 100644 index 0000000..5dada80 --- /dev/null +++ b/gamemode/craftablesystem/gunlabs/gunchunks.lua @@ -0,0 +1,749 @@ +/* GunChunks */ +local COMBI = {} + +COMBI.Name = "Gun Chunks" +COMBI.Description = "For making the components of guns with relative ease." + +COMBI.Req = {} +COMBI.Req["Iron"] = 50 +COMBI.Req["Copper"] = 25 +COMBI.Req["Wood"] = 25 + +COMBI.Results = "gms_gunchunks" +COMBI.Texture = "gms_icons/gms_gunchunks.png" +COMBI.BuildSiteModel = "models/Gibs/airboat_broken_engine.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Copper Gunslide */ +local COMBI = {} + +COMBI.Name = "Copper Gunslide" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Copper"] = 15 +COMBI.Req["Wood"] = 20 + +COMBI.Results = {} +COMBI.Results["Copper Gunslide"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Copper Gunbarrel */ +local COMBI = {} + +COMBI.Name = "Copper Gunbarrel" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Copper"] = 15 +COMBI.Req["Wood"] = 20 + +COMBI.Results = {} +COMBI.Results["Copper Gunbarrel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Copper Gungrip */ +local COMBI = {} + +COMBI.Name = "Copper Gungrip" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Copper"] = 15 +COMBI.Req["Wood"] = 20 + +COMBI.Results = {} +COMBI.Results["Copper Gungrip"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Copper Gunmagazine */ +local COMBI = {} + +COMBI.Name = "Copper Gunmagazine" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Copper"] = 15 +COMBI.Req["Wood"] = 20 +COMBI.Req["Gunpowder"] = 10 + +COMBI.Results = {} +COMBI.Results["Copper Gunmagazine"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Copper Weapon Scope */ +local COMBI = {} + +COMBI.Name = "Copper Weapon Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Copper"] = 25 + +COMBI.Results = {} +COMBI.Results["Copper Weapon Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + + +/* Copper Reflex Scope */ +local COMBI = {} + +COMBI.Name = "Copper Reflex Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Copper"] = 25 + +COMBI.Results = {} +COMBI.Results["Copper Reflex Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Iron Gunslide */ +local COMBI = {} + +COMBI.Name = "Iron Gunslide" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Iron"] = 20 +COMBI.Req["Oak"] = 20 + +COMBI.Results = {} +COMBI.Results["Iron Gunslide"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Iron Gunbarrel */ +local COMBI = {} + +COMBI.Name = "Iron Gunbarrel" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Iron"] = 20 +COMBI.Req["Oak"] = 20 + +COMBI.Results = {} +COMBI.Results["Iron Gunbarrel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Iron Gungrip */ +local COMBI = {} + +COMBI.Name = "Iron Gungrip" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Iron"] = 20 +COMBI.Req["Oak"] = 20 + +COMBI.Results = {} +COMBI.Results["Iron Gungrip"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Iron Gunmagazine */ +local COMBI = {} + +COMBI.Name = "Iron Gunmagazine" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Iron"] = 20 +COMBI.Req["Oak"] = 20 +COMBI.Req["Gunpowder"] = 15 + +COMBI.Results = {} +COMBI.Results["Iron Gunmagazine"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Iron Weapon Scope */ +local COMBI = {} + +COMBI.Name = "Iron Weapon Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Iron"] = 30 + +COMBI.Results = {} +COMBI.Results["Iron Weapon Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + + +/* Iron Reflex Scope */ +local COMBI = {} + +COMBI.Name = "Iron Reflex Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Iron"] = 30 + +COMBI.Results = {} +COMBI.Results["Iron Reflex Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Tech Gunslide */ +local COMBI = {} + +COMBI.Name = "Tech Gunslide" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Tech"] = 25 +COMBI.Req["Cedar"] = 25 + +COMBI.Results = {} +COMBI.Results["Tech Gunslide"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Tech Gunbarrel */ +local COMBI = {} + +COMBI.Name = "Tech Gunbarrel" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Tech"] = 25 +COMBI.Req["Cedar"] = 25 + +COMBI.Results = {} +COMBI.Results["Tech Gunbarrel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Tech Gungrip */ +local COMBI = {} + +COMBI.Name = "Tech Gungrip" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Tech"] = 25 +COMBI.Req["Cedar"] = 25 + +COMBI.Results = {} +COMBI.Results["Tech Gungrip"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Tech Gunmagazine */ +local COMBI = {} + +COMBI.Name = "Tech Gunmagazine" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Tech"] = 25 +COMBI.Req["Cedar"] = 15 +COMBI.Req["Gunpowder"] = 15 + +COMBI.Results = {} +COMBI.Results["Tech Gunmagazine"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Tech Weapon Scope */ +local COMBI = {} + +COMBI.Name = "Tech Weapon Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Tech"] = 35 + +COMBI.Results = {} +COMBI.Results["Tech Weapon Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + + +/* Tech Reflex Scope */ +local COMBI = {} + +COMBI.Name = "Tech Reflex Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Tech"] = 35 + +COMBI.Results = {} +COMBI.Results["Tech Reflex Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Silver Gunslide */ +local COMBI = {} + +COMBI.Name = "Silver Gunslide" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Silver"] = 30 +COMBI.Req["Maple"] = 20 + +COMBI.Results = {} +COMBI.Results["Silver Gunslide"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Silver Gunbarrel */ +local COMBI = {} + +COMBI.Name = "Silver Gunbarrel" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Silver"] = 30 +COMBI.Req["Maple"] = 20 + +COMBI.Results = {} +COMBI.Results["Silver Gunbarrel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Silver Gungrip */ +local COMBI = {} + +COMBI.Name = "Silver Gungrip" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Silver"] = 30 +COMBI.Req["Maple"] = 20 + +COMBI.Results = {} +COMBI.Results["Silver Gungrip"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Silver Gunmagazine */ +local COMBI = {} + +COMBI.Name = "Silver Gunmagazine" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Silver"] = 30 +COMBI.Req["Maple"] = 20 +COMBI.Req["Gunpowder"] = 20 + +COMBI.Results = {} +COMBI.Results["Silver Gunmagazine"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Silver Weapon Scope */ +local COMBI = {} + +COMBI.Name = "Silver Weapon Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Silver"] = 40 + +COMBI.Results = {} +COMBI.Results["Silver Weapon Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + + +/* Silver Reflex Scope */ +local COMBI = {} + +COMBI.Name = "Silver Reflex Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Silver"] = 40 + +COMBI.Results = {} +COMBI.Results["Silver Reflex Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Gold Gunslide */ +local COMBI = {} + +COMBI.Name = "Gold Gunslide" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 25 + +COMBI.Results = {} +COMBI.Results["Gold Gunslide"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Gold Gunbarrel */ +local COMBI = {} + +COMBI.Name = "Gold Gunbarrel" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 25 + +COMBI.Results = {} +COMBI.Results["Gold Gunbarrel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Gold Gungrip */ +local COMBI = {} + +COMBI.Name = "Gold Gungrip" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 25 + +COMBI.Results = {} +COMBI.Results["Gold Gungrip"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Gold Gunmagazine */ +local COMBI = {} + +COMBI.Name = "Gold Gunmagazine" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 25 +COMBI.Req["Gunpowder"] = 25 + +COMBI.Results = {} +COMBI.Results["Gold Gunmagazine"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Gold Weapon Scope */ +local COMBI = {} + +COMBI.Name = "Gold Weapon Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Gold"] = 45 + +COMBI.Results = {} +COMBI.Results["Gold Weapon Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + + +/* Gold Reflex Scope */ +local COMBI = {} + +COMBI.Name = "Gold Reflex Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Gold"] = 45 + +COMBI.Results = {} +COMBI.Results["Gold Reflex Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Steel Gunslide */ +local COMBI = {} + +COMBI.Name = "Steel Gunslide" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 30 + +COMBI.Results = {} +COMBI.Results["Steel Gunslide"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Steel Gunbarrel */ +local COMBI = {} + +COMBI.Name = "Steel Gunbarrel" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 30 + +COMBI.Results = {} +COMBI.Results["Steel Gunbarrel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Steel Gungrip */ +local COMBI = {} + +COMBI.Name = "Steel Gungrip" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 30 + +COMBI.Results = {} +COMBI.Results["Steel Gungrip"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Steel Gunmagazine */ +local COMBI = {} + +COMBI.Name = "Steel Gunmagazine" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 30 +COMBI.Req["Gunpowder"] = 30 + +COMBI.Results = {} +COMBI.Results["Steel Gunmagazine"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Steel Weapon Scope */ +local COMBI = {} + +COMBI.Name = "Steel Weapon Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Steel"] = 50 + +COMBI.Results = {} +COMBI.Results["Steel Weapon Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + + +/* Steel Reflex Scope */ +local COMBI = {} + +COMBI.Name = "Steel Reflex Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Steel"] = 50 + +COMBI.Results = {} +COMBI.Results["Steel Reflex Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Platinum Gunslide */ +local COMBI = {} + +COMBI.Name = "Platinum Gunslide" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Platinum"] = 45 +COMBI.Req["Elm"] = 35 + +COMBI.Results = {} +COMBI.Results["Platinum Gunslide"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Platinum Gunbarrel */ +local COMBI = {} + +COMBI.Name = "Platinum Gunbarrel" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Platinum"] = 45 +COMBI.Req["Elm"] = 35 + +COMBI.Results = {} +COMBI.Results["Platinum Gunbarrel"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Platinum Gungrip */ +local COMBI = {} + +COMBI.Name = "Platinum Gungrip" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Platinum"] = 45 +COMBI.Req["Elm"] = 35 + +COMBI.Results = {} +COMBI.Results["Platinum Gungrip"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Platinum Gunmagazine */ +local COMBI = {} + +COMBI.Name = "Platinum Gunmagazine" +COMBI.Description = "A piece of a gun" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Platinum"] = 45 +COMBI.Req["Elm"] = 35 +COMBI.Req["Gunpowder"] = 35 + +COMBI.Results = {} +COMBI.Results["Platinum Gunmagazine"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Platinum Weapon Scope */ +local COMBI = {} + +COMBI.Name = "Platinum Weapon Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Platinum"] = 55 + +COMBI.Results = {} +COMBI.Results["Platinum Weapon Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + + +/* Platinum Reflex Scope */ +local COMBI = {} + +COMBI.Name = "Platinum Reflex Scope" +COMBI.Description = "A weapon scope" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Glass"] = 20 +COMBI.Req["Platinum"] = 55 + +COMBI.Results = {} +COMBI.Results["Platinum Reflex Scope"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Saltpetre */ +local COMBI = {} + +COMBI.Name = "Saltpetre" +COMBI.Description = "Used in making gunpowder" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Urine_Bottles"] = 1 + +COMBI.Results = {} +COMBI.Results["Saltpetre"] = 1 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Saltpetre x10 */ +local COMBI = {} + +COMBI.Name = "Saltpetre 10x" +COMBI.Description = "Used in making gunpowder" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Urine_Bottles"] = 10 + +COMBI.Results = {} +COMBI.Results["Saltpetre"] = 10 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) + +/* Gunpowder */ +local COMBI = {} + +COMBI.Name = "Gunpowder" +COMBI.Description = "Explosive!" +COMBI.Entity = "gms_gunchunks" + +COMBI.Req = {} +COMBI.Req["Sulphur"] = 5 +COMBI.Req["Charcoal"] = 10 +COMBI.Req["Saltpetre"] = 10 + +COMBI.Results = {} +COMBI.Results["Gunpowder"] = 10 + +GMS.RegisterCombi( COMBI, "gms_gunchunks" ) diff --git a/gamemode/craftablesystem/gunlabs/hightechlab.lua b/gamemode/craftablesystem/gunlabs/hightechlab.lua new file mode 100644 index 0000000..3428d82 --- /dev/null +++ b/gamemode/craftablesystem/gunlabs/hightechlab.lua @@ -0,0 +1,16 @@ +/* High-Tech Lab */ +local COMBI = {} + +COMBI.Name = "High Tech Gun Lab" +COMBI.Description = "For making snipers and misc. weapons." + +COMBI.Req = {} +COMBI.Req["Gold"] = 250 +COMBI.Req["Teak"] = 250 +COMBI.Req["Steel"] = 150 + +COMBI.Results = "gms_hightechgunlab" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_wasteland/laundry_washer003.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) diff --git a/gamemode/craftablesystem/gunlabs/pistolgunlab.lua b/gamemode/craftablesystem/gunlabs/pistolgunlab.lua new file mode 100644 index 0000000..107be1b --- /dev/null +++ b/gamemode/craftablesystem/gunlabs/pistolgunlab.lua @@ -0,0 +1,81 @@ +/* Pistol Gunlab */ +local COMBI = {} + +COMBI.Name = "Pistol Gun Lab" +COMBI.Description = "For making pistols." + +COMBI.Req = {} +COMBI.Req["Tech"] = 150 +COMBI.Req["Cedar"] = 150 + +COMBI.Results = "gms_pistolgunlab" +COMBI.Texture = "gms_icons/gms_gunlab.png" +COMBI.BuildSiteModel = "models/props/cs_militia/gun_cabinet.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* HL2 Pistol */ +local COMBI = {} + +COMBI.Name = "Pistol" +COMBI.Description = "It's not great, but it does the job. Your first ordinary Pistol." +COMBI.Entity = "gms_pistolgunlab" + +COMBI.Req = {} +COMBI.Req["Copper Gunslide"] = 1 +COMBI.Req["Copper Gungrip"] = 1 +COMBI.Req["Copper Gunbarrel"] = 1 +COMBI.Req["Copper Gunmagazine"] = 1 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 10 +COMBI.SkillReq["Hunting"] = 8 + +COMBI.Texture = "gms_icons/weapon_pistol.png" +COMBI.SwepClass = "weapon_pistol" + +GMS.RegisterCombi( COMBI, "gms_pistolgunlab" ) + +local COMBI = {} + +COMBI.Name = "HL2 Shotgun" +COMBI.Description = "Just a simple Shotgun. Left click for single shot, right click for double shots" +COMBI.Entity = "gms_pistolgunlab" + +COMBI.Req = {} +COMBI.Req["Iron Gunslide"] = 1 +COMBI.Req["Iron Gungrip"] = 1 +COMBI.Req["Iron Gunbarrel"] = 1 +COMBI.Req["Iron Gunmagazine"] = 1 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 25 +COMBI.SkillReq["Hunting"] = 20 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "weapon_shotgun" + +GMS.RegisterCombi( COMBI, "gms_pistolgunlab" ) + +local COMBI = {} + +COMBI.Name = "HL2 Crossbow" +COMBI.Description = "A very Medieval weapon, shoots bolts with left click and zooms in with right click" +COMBI.Entity = "gms_pistolgunlab" + +COMBI.Req = {} +COMBI.Req["Tech Gunslide"] = 1 +COMBI.Req["Tech Gungrip"] = 1 +COMBI.Req["Tech Gunbarrel"] = 1 +COMBI.Req["Tech Gunmagazine"] = 1 +COMBI.Req["Tech WeaponScope"] = 1 +COMBI.Req["Rope"] = 2 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 75 +COMBI.SkillReq["Hunting"] = 70 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "weapon_crossbow" + +GMS.RegisterCombi( COMBI, "gms_pistolgunlab" ) diff --git a/gamemode/craftablesystem/gunlabs/smggunlab.lua b/gamemode/craftablesystem/gunlabs/smggunlab.lua new file mode 100644 index 0000000..2540b19 --- /dev/null +++ b/gamemode/craftablesystem/gunlabs/smggunlab.lua @@ -0,0 +1,37 @@ +/* SMG Gun Lab */ +local COMBI = {} + +COMBI.Name = "SMG Gun Lab" +COMBI.Description = "For making Assault weapons." + +COMBI.Req = {} +COMBI.Req["Silver"] = 200 +COMBI.Req["Maple"] = 200 + +COMBI.Results = "gms_smggunlab" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_wasteland/controlroom_storagecloset001a.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/*HL2 Smg */ +local COMBI = {} + +COMBI.Name = "HL2 Machine Gun" +COMBI.Description = "Just a simple Machine Gun." +COMBI.Entity = "gms_smggunlab" + +COMBI.Req = {} +COMBI.Req["Copper Gunslide"] = 1 +COMBI.Req["Copper Gungrip"] = 1 +COMBI.Req["Copper Gunbarrel"] = 1 +COMBI.Req["Copper Gunmagazine"] = 1 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 15 +COMBI.SkillReq["Hunting"] = 15 + +COMBI.Texture = "gms_icons/weapon_smg1.png" +COMBI.SwepClass = "weapon_smg1" + +GMS.RegisterCombi( COMBI, "gms_smggunlab" ) 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" ) diff --git a/gamemode/craftablesystem/workbenches/copperworkbench.lua b/gamemode/craftablesystem/workbenches/copperworkbench.lua new file mode 100644 index 0000000..641f70a --- /dev/null +++ b/gamemode/craftablesystem/workbenches/copperworkbench.lua @@ -0,0 +1,124 @@ +/* Copper Workbench */ +local COMBI = {} + +COMBI.Name = "Copper Workbench" +COMBI.Description = "This Copper table has various fine specialized equipment used in crafting quality items." + +COMBI.Req = {} +COMBI.Req["Copper"] = 30 +COMBI.Req["Stone"] = 10 +COMBI.Req["Wood"] = 20 + +COMBI.Results = "gms_copperworkbench" +COMBI.Texture = "gms_icons/gms_copperworkbench.png" +COMBI.BuildSiteModel = "models/props_combine/breendesk.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Copper Hatchet */ +local COMBI = {} + +COMBI.Name = "Copper Hatchet" +COMBI.Description = "This copper axe is ideal for chopping down trees." +COMBI.Entity = "gms_copperworkbench" + +COMBI.Req = {} +COMBI.Req["Copper"] = 15 +COMBI.Req["Wood"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_copperhatchet" + +GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) + +/* Copper Hammer */ +local COMBI = {} + +COMBI.Name = "Wrench" +COMBI.Description = "This wrench is ideal for crafting weapons." +COMBI.Entity = "gms_copperworkbench" + +COMBI.Req = {} +COMBI.Req["Copper"] = 10 +COMBI.Req["Wood"] = 10 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 5 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_wrench" + +GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) + +/* Copper Pickaxe */ +local COMBI = {} + +COMBI.Name = "Copper Pickaxe" +COMBI.Description = "This copper pickaxe is used for effectively mining stone, copper ore and iron ore." +COMBI.Entity = "gms_copperworkbench" + +COMBI.Req = {} +COMBI.Req["Copper"] = 15 +COMBI.Req["Wood"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_copperpickaxe" + +GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) + +/* Frying pan */ +local COMBI = {} + +COMBI.Name = "Frying Pan" +COMBI.Description = "This kitchen tool is used for more effective cooking." +COMBI.Entity = "gms_copperworkbench" + +COMBI.Req = {} +COMBI.Req["Copper"] = 20 +COMBI.Req["Wood"] = 5 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 5 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_fryingpan" + +GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) + +/* Shovel */ +local COMBI = {} + +COMBI.Name = "Shovel" +COMBI.Description = "This tool can dig up rocks, and decreases forage times." +COMBI.Entity = "gms_copperworkbench" + +COMBI.Req = {} +COMBI.Req["Copper"] = 15 +COMBI.Req["Wood"] = 15 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 8 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_shovel" + +GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) + +/* Crowbar */ +local COMBI = {} + +COMBI.Name = "Crowbar" +COMBI.Description = "This weapon is initially a tool, but pretty useless for it's original purpose on a stranded Island." +COMBI.Entity = "gms_copperworkbench" + +COMBI.Req = {} +COMBI.Req["Copper"] = 20 +COMBI.Req["Iron"] = 20 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 6 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "weapon_crowbar" + +GMS.RegisterCombi( COMBI, "gms_copperworkbench" ) diff --git a/gamemode/craftablesystem/workbenches/goldworkbench.lua b/gamemode/craftablesystem/workbenches/goldworkbench.lua new file mode 100644 index 0000000..a3d8590 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/goldworkbench.lua @@ -0,0 +1,47 @@ +/* Gold Workbench */ +local COMBI = {} + +COMBI.Name = "Gold Workbench" +COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." + +COMBI.Req = {} +COMBI.Req["Gold"] = 30 +COMBI.Req["Stone"] = 20 + +COMBI.Results = "gms_goldworkbench" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props/cs_office/file_cabinet1.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "Gold Pickaxe" +COMBI.Description = "This gold pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, and steel ore." +COMBI.Entity = "gms_goldworkbench" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_goldpickaxe" + +GMS.RegisterCombi( COMBI, "gms_goldworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Gold Hatchet" +COMBI.Description = "This gold axe is ideal for chopping down trees." +COMBI.Entity = "gms_goldworkbench" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_goldhatchet" + +GMS.RegisterCombi( COMBI, "gms_goldworkbench" ) diff --git a/gamemode/craftablesystem/workbenches/ironworkbench.lua b/gamemode/craftablesystem/workbenches/ironworkbench.lua new file mode 100644 index 0000000..512e252 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/ironworkbench.lua @@ -0,0 +1,106 @@ +/* Iron Workbench */ +local COMBI = {} + +COMBI.Name = "Iron Workbench" +COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." + +COMBI.Req = {} +COMBI.Req["Iron"] = 30 +COMBI.Req["Stone"] = 20 +COMBI.Req["Wood"] = 10 + +COMBI.Results = "gms_ironworkbench" +COMBI.Texture = "gms_icons/gms_ironworkbench.png" +COMBI.BuildSiteModel = "models/props_wasteland/controlroom_desk001b.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Sickle */ +local COMBI = {} + +COMBI.Name = "Sickle" +COMBI.Description = "This tool effectivizes harvesting." +COMBI.Entity = "gms_ironworkbench" + +COMBI.Req = {} +COMBI.Req["Iron"] = 5 +COMBI.Req["Wood"] = 15 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 7 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_sickle" + +GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) + +/* Strainer */ +local COMBI = {} + +COMBI.Name = "Strainer" +COMBI.Description = "This tool can filter the earth for resources." +COMBI.Entity = "gms_ironworkbench" + +COMBI.Req = {} +COMBI.Req["Iron"] = 5 +COMBI.Req["Wood"] = 5 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_strainer" + +GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) + +/* Advanced Fishing rod */ +local COMBI = {} + +COMBI.Name = "Advanced Fishing rod" +COMBI.Description = "With this Fishing rod you can catch rare fish even faster. You might even catch something big." +COMBI.Entity = "gms_ironworkbench" + +COMBI.Req = {} +COMBI.Req["Iron"] = 25 +COMBI.Req["Wood"] = 30 +COMBI.Req["Rope"] = 2 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 15 +COMBI.SkillReq["Fishing"] = 5 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_advancedfishingrod" + +GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) + +/* Iron Pickaxe */ +local COMBI = {} + +COMBI.Name = "Iron Pickaxe" +COMBI.Description = "This iron pickaxe is used for effectively mining stone, copper ore, iron ore, and tech ore." +COMBI.Entity = "gms_ironworkbench" + +COMBI.Req = {} +COMBI.Req["Iron"] = 20 +COMBI.Req["Wood"] = 10 +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_ironpickaxe" + +GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) + +/* Iron Hatchet */ +local COMBI = {} + +COMBI.Name = "Iron Hatchet" +COMBI.Description = "This iron axe is ideal for chopping down trees." +COMBI.Entity = "gms_ironworkbench" + +COMBI.Req = {} +COMBI.Req["Iron"] = 20 +COMBI.Req["Wood"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_ironhatchet" + +GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) diff --git a/gamemode/craftablesystem/workbenches/platinumworkbench.lua b/gamemode/craftablesystem/workbenches/platinumworkbench.lua new file mode 100644 index 0000000..fac5606 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/platinumworkbench.lua @@ -0,0 +1,47 @@ +/* Platinum Workbench */ +local COMBI = {} + +COMBI.Name = "Platinum Workbench" +COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." + +COMBI.Req = {} +COMBI.Req["Platinum"] = 30 +COMBI.Req["Stone"] = 20 + +COMBI.Results = "gms_platinumworkbench" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/xqm/boxfull.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "Platinum Pickaxe" +COMBI.Description = "This platinum pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, steel ore, and platinum ore." +COMBI.Entity = "gms_platinumworkbench" + +COMBI.Req = {} +COMBI.Req["Platinum"] = 45 +COMBI.Req["Elm"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_platinumpickaxe" + +GMS.RegisterCombi( COMBI, "gms_platinumworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Platinum Hatchet" +COMBI.Description = "This Platinum axe is ideal for chopping down trees." +COMBI.Entity = "gms_platinumworkbench" + +COMBI.Req = {} +COMBI.Req["Platinum"] = 45 +COMBI.Req["Elm"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_platinumhatchet" + +GMS.RegisterCombi( COMBI, "gms_platinumworkbench" ) diff --git a/gamemode/craftablesystem/workbenches/silverworkbench.lua b/gamemode/craftablesystem/workbenches/silverworkbench.lua new file mode 100644 index 0000000..c4ca937 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/silverworkbench.lua @@ -0,0 +1,47 @@ +/* Silver Workbench */ +local COMBI = {} + +COMBI.Name = "Silver Workbench" +COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." + +COMBI.Req = {} +COMBI.Req["Silver"] = 30 +COMBI.Req["Stone"] = 20 + +COMBI.Results = "gms_silverworkbench" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props/de_inferno/bench_concrete.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "Silver Pickaxe" +COMBI.Description = "This silver pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, and gold ore." +COMBI.Entity = "gms_silverworkbench" + +COMBI.Req = {} +COMBI.Req["Silver"] = 30 +COMBI.Req["Maple"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_silverpickaxe" + +GMS.RegisterCombi( COMBI, "gms_silverworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Silver Hatchet" +COMBI.Description = "This silver axe is ideal for chopping down trees." +COMBI.Entity = "gms_silverworkbench" + +COMBI.Req = {} +COMBI.Req["Silver"] = 30 +COMBI.Req["Maple"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_silverhatchet" + +GMS.RegisterCombi( COMBI, "gms_silverworkbench" ) diff --git a/gamemode/craftablesystem/workbenches/steelworkbench.lua b/gamemode/craftablesystem/workbenches/steelworkbench.lua new file mode 100644 index 0000000..b8f5117 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/steelworkbench.lua @@ -0,0 +1,47 @@ +/* Steel Workbench */ +local COMBI = {} + +COMBI.Name = "Steel Workbench" +COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." + +COMBI.Req = {} +COMBI.Req["Steel"] = 30 +COMBI.Req["Stone"] = 20 + +COMBI.Results = "gms_steelworkbench" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props/de_nuke/equipment1.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "Steel Pickaxe" +COMBI.Description = "This steel pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, steel ore, and platinum ore." +COMBI.Entity = "gms_steelworkbench" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_steelpickaxe" + +GMS.RegisterCombi( COMBI, "gms_steelworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Steel Hatchet" +COMBI.Description = "This Steel axe is ideal for chopping down trees." +COMBI.Entity = "gms_steelworkbench" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_steelhatchet" + +GMS.RegisterCombi( COMBI, "gms_steelworkbench" ) diff --git a/gamemode/craftablesystem/workbenches/stoneworkbench.lua b/gamemode/craftablesystem/workbenches/stoneworkbench.lua new file mode 100644 index 0000000..cd9ba20 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/stoneworkbench.lua @@ -0,0 +1,83 @@ +/* Stone Workbench */ +local COMBI = {} + +COMBI.Name = "Stone Workbench" +COMBI.Description = "This stone table has various fine specialized equipment used in crafting basic items." + +COMBI.Req = {} +COMBI.Req["Wood"] = 15 +COMBI.Req["Stone"] = 25 + +COMBI.Results = "gms_stoneworkbench" +COMBI.Texture = "gms_icons/gms_stoneworkbench.png" +COMBI.BuildSiteModel = "models/props/de_piranesi/pi_merlon.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Stone Hatchet */ +local COMBI = {} + +COMBI.Name = "Stone Hatchet" +COMBI.Description = "This small stone axe is ideal for chopping down trees." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Stone"] = 10 +COMBI.Req["Wood"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_stonehatchet" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) + +/* Wooden Spoon */ +local COMBI = {} + +COMBI.Name = "Wooden Spoon" +COMBI.Description = "Allows you to salvage more seeds from consumed fruit." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Wood"] = 12 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 3 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_woodenspoon" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) + +/* Stone Pickaxe */ +local COMBI = {} + +COMBI.Name = "Stone Pickaxe" +COMBI.Description = "This stone pickaxe is used for effectively mining stone and copper ore." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Stone"] = 10 +COMBI.Req["Wood"] = 10 +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_stonepickaxe" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) + +/* Fishing rod */ +local COMBI = {} + +COMBI.Name = "Wooden Fishing Rod" +COMBI.Description = "This rod of wood can be used to fish from a lake." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Rope"] = 1 +COMBI.Req["Wood"] = 20 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 4 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_woodenfishingrod" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) diff --git a/gamemode/craftablesystem/workbenches/techworkbench.lua b/gamemode/craftablesystem/workbenches/techworkbench.lua new file mode 100644 index 0000000..96b07cb --- /dev/null +++ b/gamemode/craftablesystem/workbenches/techworkbench.lua @@ -0,0 +1,141 @@ +/* Tech Workbench */ +local COMBI = {} + +COMBI.Name = "Tech Workbench" +COMBI.Description = "This tech workbench will help you with all your electronic needs." + +COMBI.Req = {} +COMBI.Req["Tech"] = 30 +COMBI.Req["Stone"] = 20 + +COMBI.Results = "gms_techworkbench" +COMBI.Texture = "gms_icons/gms_techworkbench.png" +COMBI.BuildSiteModel = "models/props_lab/reciever_cart.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "Batteries" +COMBI.Description = "These self-rechargeable batteries are used to craft stunstick, toolgun and flashlight.\nAlso the more batteries you have, the longer you can use your flashlight." + +COMBI.Req = {} +COMBI.Req["Copper"] = 3 +COMBI.Req["Iron"] = 3 + +COMBI.Results = {} +COMBI.Results["Batteries"] = 1 + +GMS.RegisterCombi( COMBI, "gms_techworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Toolgun" +COMBI.Description = "Vital to long term survival, it allows you to easily build complex structures." +COMBI.Entity = "gms_techworkbench" + +COMBI.Req = {} +COMBI.Req["Iron"] = 30 +COMBI.Req["Wood"] = 20 +COMBI.Req["Glass"] = 5 +COMBI.Req["Batteries"] = 2 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gmod_tool" + +GMS.RegisterCombi( COMBI, "gms_techworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Flashlight" +COMBI.Description = "Grants ability to use flashlight." + +COMBI.Req = {} +COMBI.Req["Iron"] = 15 +COMBI.Req["Glass"] = 5 +COMBI.Req["Batteries"] = 3 + +COMBI.Results = {} +COMBI.Results["Flashlight"] = 1 + +GMS.RegisterCombi( COMBI, "gms_techworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Stunstick" +COMBI.Description = "This highly advanced, effective melee weapon is useful for hunting down animals and fellow stranded alike." +COMBI.Entity = "gms_techworkbench" + +COMBI.Req = {} +COMBI.Req["Iron"] = 40 +COMBI.Req["Batteries"] = 4 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 11 +COMBI.SkillReq["Hunting"] = 5 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "weapon_stunstick" + +GMS.RegisterCombi( COMBI, "gms_techworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Wrist Watch" +COMBI.Description = "See the time whereever you go." +COMBI.Entity = "gms_techworkbench" + +COMBI.Results = {} +COMBI.Results["Wrist_Watch"] = 1 + +COMBI.Req = {} +COMBI.Req["Iron"] = 5 +COMBI.Req["Glass"] = 5 +COMBI.Req["Batteries"] = 2 + +GMS.RegisterCombi( COMBI, "gms_techworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Tech Pickaxe" +COMBI.Description = "This tech pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, and silver ore." +COMBI.Entity = "gms_techworkbench" + +COMBI.Req = {} +COMBI.Req["Tech"] = 25 +COMBI.Req["Cedar"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_techpickaxe" + +GMS.RegisterCombi( COMBI, "gms_techworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Tech Hatchet" +COMBI.Description = "This tech axe is ideal for chopping down trees." +COMBI.Entity = "gms_techworkbench" + +COMBI.Req = {} +COMBI.Req["Tech"] = 25 +COMBI.Req["Cedar"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_techhatchet" + +GMS.RegisterCombi( COMBI, "gms_techworkbench" ) |
