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
82
83
84
85
86
87
88
89
90
91
92
93
94
|
/* 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" )
local SmeltMultiples = {5,10,25}
for v,k in pairs(SmeltMultiples) do
local COMBI = {}
COMBI.Name = "Iron " .. k .. "x"
COMBI.Description = "Iron can be used to create more advanced buildings and tools."
COMBI.Entity = "gms_copperfurnace"
COMBI.Req = {}
COMBI.Req["Iron_Ore"] = k
COMBI.Results = {}
COMBI.Results["Iron"] = k
GMS.RegisterCombi( COMBI, "gms_copperfurnace" )
end
/* 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" )
|