diff options
Diffstat (limited to 'gamemode/combinations.lua')
| -rw-r--r-- | gamemode/combinations.lua | 333 |
1 files changed, 90 insertions, 243 deletions
diff --git a/gamemode/combinations.lua b/gamemode/combinations.lua index 9409f3c..72e4abe 100644 --- a/gamemode/combinations.lua +++ b/gamemode/combinations.lua @@ -7,160 +7,7 @@ function GMS.RegisterCombi( tbl, group ) GMS.Combinations[ group ][ string.Replace( tbl.Name, " ", "_" ) ] = tbl end -/* ------------------------ Combinations ------------------------*/ - -/* Flour */ -local COMBI = {} - -COMBI.Name = "Flour" -COMBI.Description = "Flour can be used for making dough." - -COMBI.Req = {} -COMBI.Req["Stone"] = 1 -COMBI.Req["Grain_Seeds"] = 2 - -COMBI.Results = {} -COMBI.Results["Flour"] = 1 -COMBI.Results["Stone"] = 1 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Spice */ -local COMBI = {} - -COMBI.Name = "Spices" -COMBI.Description = "Spice can be used for various meals." - -COMBI.Req = {} -COMBI.Req["Stone"] = 1 -COMBI.Req["Herbs"] = 2 - -COMBI.Results = {} -COMBI.Results["Spices"] = 1 -COMBI.Results["Stone"] = 1 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Dough */ -local COMBI = {} - -COMBI.Name = "Dough" -COMBI.Description = "Dough is used for baking." - -COMBI.Req = {} -COMBI.Req["Water_Bottles"] = 1 -COMBI.Req["Flour"] = 2 - -COMBI.Results = {} -COMBI.Results["Dough"] = 1 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Dough x10 */ -local COMBI = {} - -COMBI.Name = "Dough 10x" -COMBI.Description = "Dough is used for baking." - -COMBI.Req = {} -COMBI.Req["Water_Bottles"] = 7 -COMBI.Req["Flour"] = 15 - -COMBI.Results = {} -COMBI.Results["Dough"] = 10 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Rope */ -local COMBI = {} - -COMBI.Name = "Rope" -COMBI.Description = "Allows you to use Rope tool ( Using Rope Tool will consume the Rope ) and used in fishing rod crafting." - -COMBI.Req = {} -COMBI.Req["Herbs"] = 5 -COMBI.Req["Wood"] = 2 -COMBI.Req["Water_Bottles"] = 1 - -COMBI.Results = {} -COMBI.Results["Rope"] = 1 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Welder */ -local COMBI = {} - -COMBI.Name = "Welder" -COMBI.Description = "Allows you to use Weld Tool. You still need the Tool Gun though." - -COMBI.Req = {} -COMBI.Req[ "Wood" ] = 10 -COMBI.Req[ "Stone" ] = 10 -COMBI.Req[ "Water_Bottles" ] = 1 - -COMBI.Results = {} -COMBI.Results[ "Welder" ] = 1 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Concrete */ -local COMBI = {} - -COMBI.Name = "Concrete" -COMBI.Description = "Concrete can be used for spawning concrete props." - -COMBI.Req = {} -COMBI.Req["Sand"] = 5 -COMBI.Req["Water_Bottles"] = 2 - -COMBI.Results = {} -COMBI.Results["Concrete"] = 1 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Urine */ -local COMBI = {} - -COMBI.Name = "Urine" -COMBI.Description = "Drink some water and wait, used in gunpowder production." - -COMBI.Req = {} -COMBI.Req["Water_Bottles"] = 2 - -COMBI.Results = {} -COMBI.Results["Urine_Bottles"] = 1 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Urine 10x */ -local COMBI = {} - -COMBI.Name = "Urine 10x" -COMBI.Description = "Drink loads of water and wait, messy, but used in gunpowder production." - -COMBI.Req = {} -COMBI.Req["Water_Bottles"] = 20 - -COMBI.Results = {} -COMBI.Results["Urine_Bottles"] = 10 - -GMS.RegisterCombi( COMBI, "Combinations" ) - -/* Medicine */ -local COMBI = {} - -COMBI.Name = "Medicine" -COMBI.Description = "To restore your health." - -COMBI.Req = {} -COMBI.Req["Herbs"] = 7 -COMBI.Req["Urine_Bottles"] = 2 - -COMBI.Results = {} -COMBI.Results["Medicine"] = 5 - -GMS.RegisterCombi( COMBI, "Combinations" ) - +//Moved to craftablesystem/playermade/ /* ------------------------ Structures ------------------------*/ @@ -1746,38 +1593,38 @@ 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 @@ -1788,7 +1635,7 @@ COMBI.SkillReq = {} COMBI.SkillReq["Cooking"] = 20 COMBI.FoodValue = 1000 - + GMS.RegisterCombi( COMBI, "Cooking" ) /* Shark soup */ @@ -1812,11 +1659,11 @@ 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 @@ -1830,11 +1677,11 @@ 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 @@ -1844,7 +1691,7 @@ COMBI.SkillReq = {} COMBI.SkillReq["Cooking"] = 3 COMBI.FoodValue = 850 - + GMS.RegisterCombi( COMBI, "Cooking" ) /* ------------------------ Stone Workbench ------------------------*/ @@ -2121,49 +1968,49 @@ GMS.RegisterCombi( COMBI, "gms_ironworkbench" ) /*------------------------ 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 - + 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 = {} @@ -2171,28 +2018,28 @@ 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 = {} - +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 @@ -2200,11 +2047,11 @@ 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" @@ -2283,31 +2130,31 @@ 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 */ @@ -2381,31 +2228,31 @@ 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 */ @@ -2479,31 +2326,31 @@ 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 */ @@ -2577,31 +2424,31 @@ 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 */ @@ -2675,31 +2522,31 @@ 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 */ @@ -2773,31 +2620,31 @@ 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 */ @@ -2871,31 +2718,31 @@ 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 */ @@ -3355,4 +3202,4 @@ COMBI.Max = 200 GMS.RegisterCombi( COMBI, "gms_advancedtransmutator" ) -------------------------------------------------------------------------
\ No newline at end of file +------------------------------------------------------------------------ |
