summaryrefslogtreecommitdiff
path: root/gamemode/craftablesystem/gunlabs/pistolgunlab.lua
blob: 107be1b36958dc7d5d0524be867b1a1d72c0e825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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" )