summaryrefslogtreecommitdiff
path: root/gamemode/craftablesystem/misc/transmutator.lua
blob: 97248447632b341c12d472dd5a0ca0928a5f0064 (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
/* 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" )