summaryrefslogtreecommitdiff
path: root/gamemode/craftablesystem/misc/grindingstone.lua
blob: 1463d4845e6591896d243bd5c574592a57756838 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* 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" )

local COMBI = {}

COMBI.Name = "Dust x5"
COMBI.Description = "A fine powder that floats through the wind"
COMBI.Entity = "gms_grindingstone"

COMBI.Req = {}
COMBI.Req["Sand"] = 1

COMBI.Results = {}
COMBI.Results["Dust"] = 5

GMS.RegisterCombi( COMBI, "gms_grindingstone" )