kpoppel
2013-05-08 5940f5bda421add111a881b4df82b793121738a9
commit | author | age
6463b7 1 -- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS:
K 2 -----------------------------------------------------------
3
4 -- WOOD
5 -------
6 technic_cnc_api.register_slope_edge_etc("default:wood",
7                 {snappy=2,choppy=2,oddly_breakable_by_hand=2,not_in_creative_inventory=1},
8                 {"default_wood.png"},
9                 "Wooden Slope",
10                 "Wooden Slope Lying",
11                 "Wooden Slope Upside Down",
12                 "Wooden Slope Edge",
13                 "Wooden Slope Inner Edge",
14                 "Wooden Slope Upside Down Edge",
15                 "Wooden Slope Upside Down Inner Edge",
16                 "Wooden Pyramid",
17                 "Wooden Spike",
18                 "Wooden One Curved Edge Block",
19                 "Wooden Two Curved Edge Block",
20                 "Wooden Cylinder",
21                 "Wooden Cylinder Horizontal",
22                 "Wooden Sphere",
23                 "Wooden Element Straight",
24                 "Wooden Element Edge",
25                 "Wooden Element T",
26                 "Wooden Element Cross",
27                 "Wooden Element End")
28 -- STONE
29 --------
30 technic_cnc_api.register_slope_edge_etc("default:stone",
31                 {cracky=3,not_in_creative_inventory=1},
32                 {"default_stone.png"},
33                 "Stone Slope",
34                 "Stone Slope Lying",
35                 "Stone Slope Upside Down",
36                 "Stone Slope Edge",
37                 "Stone Slope Inner Edge",
38                 "Stone Slope Upside Down Edge",
39                 "Stone Slope Upside Down Inner Edge",
40                 "Stone Pyramid",
41                 "Stone Spike",
42                 "Stone One Curved Edge Block",
43                 "Stone Two Curved Edge Block",
44                 "Stone Cylinder",
45                 "Stote Cylinder Horizontal",
46                 "Stone Sphere",
47                 "Stone Element Straight",
48                 "Stone Element Edge",
49                 "Stone Element T",
50                 "Stone Element Cross",
51                 "Stone Element End")
52 -- COBBLE
53 ---------
54 technic_cnc_api.register_slope_edge_etc("default:cobble",
55                 {cracky=3,not_in_creative_inventory=1},
56                 {"default_cobble.png"},
57                 "Cobble Slope",
58                 "Cobble Slope Lying",
59                 "Cobble Slope Upside Down",
60                 "Cobble Slope Edge",
61                 "Cobble Slope Inner Edge",
62                 "Cobble Slope Upside Down Edge",
63                 "Cobble Slope Upside Down Inner Edge",
64                 "Cobble Pyramid",
65                 "Cobble Spike",
66                 "Cobble One Curved Edge Block",
67                 "Cobble Two Curved Edge Block",
68                 "Cobble Cylinder",
69                 "Cobble Cylinder Horizontal",
70                 "Cobble Sphere",
71                 "Cobble Element Straight",
72                 "Cobble Element Edge",
73                 "Cobble Element T",
74                 "Cobble Element Cross",
75                 "Cobble Element End")
76 -- BRICK
77 --------
78 technic_cnc_api.register_slope_edge_etc("default:brick",
79                 {cracky=3,not_in_creative_inventory=1},
80                 {"default_brick.png"},
81                 "Brick Slope",
82                 "Brick Slope Upside Down",
83                 "Brick Slope Edge",
84                 "Brick Slope Inner Edge",
85                 "Brick Slope Upside Down Edge",
86                 "Brick Slope Upside Down Inner Edge",
87                 "Brick Pyramid",
88                 "Brick Spike",
89                 "Brick One Curved Edge Block",
90                 "Brick Two Curved Edge Block",
91                 "Brick Cylinder",
92                 "Brick Cylinder Horizontal",
93                 "Brick Sphere",
94                 "Brick Element Straight",
95                 "Brick Element Edge",
96                 "Brick Element T",
97                 "Brick Element Cross",
98                 "Brick Element End")
99 -- SANDSTONE
100 ------------
101 technic_cnc_api.register_slope_edge_etc("default:sandstone",
102                 {crumbly=2,cracky=2,not_in_creative_inventory=1},
103                 {"default_sandstone.png"},
104                 "Sandstone Slope",
105                 "Sandstone Slope Lying",
106                 "Sandstone Slope Upside Down",
107                 "Sandstone Slope Edge",
108                 "Sandstone Slope Inner Edge",
109                 "Sandstone Slope Upside Down Edge",
110                 "Sandstone Slope Upside Down Inner Edge",
111                 "Sandstone Pyramid",
112                 "Sandstone Spike",
113                 "Sandstone One Curved Edge Block",
114                 "Sandstone Two Curved Edge Block",
115                 "Sandstone Cylinder",
116                 "Sandstone Cylinder Horizontal",
117                 "Sandstone Sphere",
118                 "Sandstone Element Straight",
119                 "Sandstone Element Edge",
120                 "Sandstone Element T",
121                 "Sandstone Element Cross",
122                 "Sandstone Element End")
123 -- LEAVES
124 ---------
125 technic_cnc_api.register_slope_edge_etc("default:leaves",
126                 {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
127                 {"bucharest_tree.png"},
128                 "Leaves Slope",
129                 "Leaves Slope Lying",
130                 "Leaves Slope Upside Down",
131                 "Leaves Slope Edge",
132                 "Leaves Slope Inner Edge",
133                 "Leaves Slope Upside Down Edge",
134                 "Leaves Slope Upside Down Inner Edge",
135                 "Leaves Pyramid",
136                 "Leaves Spike",
137                 "Leaves One Curved Edge Block",
138                 "Leaves Two Curved Edge Block",
139                 "Leaves Cylinder",
140                 "Leaves Cylinder Horizontal",
141                 "Leaves Sphere",
142                 "Leaves Element Straight",
143                 "Leaves Element Edge",
144                 "Leaves Element T",
145                 "Leaves Element Cross",
146                 "Leaves Element End")
147 -- DIRT
148 -------
149 technic_cnc_api.register_slope_edge_etc("default:dirt",
150                 {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
151                 {"default_grass.png", "default_dirt.png", "default_grass.png"},
152                 "Dirt Slope",
153                 "Dirt Slope Lying",
154                 "Dirt Slope Upside Down",
155                 "Dirt Slope Edge",
156                 "Dirt Slope Inner Edge",
157                 "Dirt Slope Upside Down Edge",
158                 "Dirt Slope Upside Down Inner Edge",
159                 "Dirt Pyramid",
160                 "Dirt Spike",
161                 "Dirt One Curved Edge Block",
162                 "Dirt Two Curved Edge Block",
163                 "Dirt Cylinder",
164                 "Dirt Cylinder Horizontal",
165                 "Dirt Sphere",
166                 "Dirt Element Straight",
167                 "Dirt Element Edge",
168                 "Dirt Element T",
169                 "Dirt Element Cross",
170                 "Dirt Element End")
171 -- TREE
172 -------
173 technic_cnc_api.register_slope_edge_etc("default:tree",
174                 {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,not_in_creative_inventory=1},
175                 {"default_tree.png"},
176                 "Tree Slope",
177                 "Tree Slope Lying",
178                 "Tree Slope Upside Down",
179                 "Tree Slope Edge",
180                 "Tree Slope Inner Edge",
181                 "Tree Slope Upside Down Edge",
182                 "Tree Slope Upside Down Inner Edge",
183                 "Tree Pyramid",
184                 "Tree Spike",
185                 "Tree One Curved Edge Block",
186                 "Tree Two Curved Edge Block",
187                 "Tree Cylinder",
188                 "Tree Cylinder Horizontal",
189                 "Tree Sphere",
190                 "Tree Element Straight",
191                 "Tree Element Edge",
192                 "Tree Element T",
193                 "Tree Element Cross",
194                 "Tree Element End")
195 -- STEEL
196 --------
197 technic_cnc_api.register_slope_edge_etc("default:steelblock",
198                 {snappy=1,bendy=2,cracky=1,melty=2,level=2,not_in_creative_inventory=1},
199                 {"default_steel_block.png"},
200                 "Steel Slope",
201                 "Steel Slope Lying",
202                 "Steel Slope Upside Down",
203                 "Steel Slope Edge",
204                 "Steel Slope Inner Edge",
205                 "Steel Slope Upside Down Edge",
206                 "Steel Slope Upside Down Inner Edge",
207                 "Steel Pyramid",
208                 "Steel Spike",
209                 "Steel One Curved Edge Block",
210                 "Steel Two Curved Edge Block",
211                 "Steel Cylinder",
212                 "Steel Cylinder Horizontal",
213                 "Steel Sphere",
214                 "Steel Element Straight",
215                 "Steel Element Edge",
216                 "Steel Element T",
217                 "Steel Element Cross",
218                 "Steel Element End")
219
220 -- REGISTER MATERIALS AND PROPERTIES FOR STICKS:
221 ------------------------------------------------
222
223 -- WOOD
224 -------
225 technic_cnc_api.register_stick_etc("default:wood",
226                 {snappy=2,choppy=2,oddly_breakable_by_hand=2,not_in_creative_inventory=1},
227                 {"default_wood.png"},
228                 "Wooden Stick")
229 -- STONE
230 --------
231 technic_cnc_api.register_stick_etc("default:stone",
232                 {cracky=3,not_in_creative_inventory=1},
233                 {"default_stone.png"},
234                 "Stone Stick")
235 -- COBBLE
236 ---------
237 technic_cnc_api.register_stick_etc("default:cobble",
238                 {cracky=3,not_in_creative_inventory=1},
239                 {"default_cobble.png"},
240                 "Cobble Stick")
241 -- BRICK
242 --------
243 technic_cnc_api.register_stick_etc("default:brick",
244                 {cracky=3,not_in_creative_inventory=1},
245                 {"default_brick.png"},
246                 "Brick Stick")
247 -- SANDSTONE
248 ------------
249 technic_cnc_api.register_stick_etc("default:sandstone",
250                 {crumbly=2,cracky=2,not_in_creative_inventory=1},
251                 {"default_sandstone.png"},
252                 "Sandstone Stick")
253 -- LEAVES
254 ---------
255 technic_cnc_api.register_stick_etc("default:leaves",
256                 {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
257                 {"bucharest_tree.png"},
258                 "Leaves Stick")
259 -- TREE
260 -------
261 technic_cnc_api.register_stick_etc("default:tree",
262                 {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1,not_in_creative_inventory=1},
263                 {"default_tree.png"},
264                 "Tree Stick")
265 -- STEEL
266 --------
267 technic_cnc_api.register_stick_etc("default:steelblock",
268                 {snappy=1,bendy=2,cracky=1,melty=2,level=2,not_in_creative_inventory=1},
269                 {"default_steel_block.png"},
270                 "Steel Stick")
271
272 -- REGISTER MATERIALS AND PROPERTIES FOR HALF AND NORMAL HEIGHT ELEMENTS:
273 -------------------------------------------------------------------------
274
275 -- WOOD
276 -------
277 technic_cnc_api.register_elements("default:wood",
278                 {snappy=2,choppy=2,oddly_breakable_by_hand=2,not_in_creative_inventory=1},
279                 {"default_wood.png"},
280                 "Wooden Element Straight Double",
281                 "Wooden Element Edge Double",
282                 "Wooden Element T Double",
283                 "Wooden Element Cross Double",
284                 "Wooden Element End Double")
285 -- STONE
286 --------
287 technic_cnc_api.register_elements("default:stone",
288                 {cracky=3,not_in_creative_inventory=1},
289                 {"default_stone.png"},
290                 "Stone Element Straight Double",
291                 "Stone Element Edge Double",
292                 "Stone Element T Double",
293                 "Stone Element Cross Double",
294                 "Stone Element End Double")
295 -- COBBLE
296 ---------
297 technic_cnc_api.register_elements("default:cobble",
298                 {cracky=3,not_in_creative_inventory=1},
299                 {"default_cobble.png"},
300                 "Cobble Element Straight Double",
301                 "Cobble Element Edge Double",
302                 "Cobble Element T Double",
303                 "Cobble Element Cross Double",
304                 "Cobble Element End Double")
305 -- BRICK
306 --------
307 technic_cnc_api.register_elements("default:brick",
308                 {cracky=3,not_in_creative_inventory=1},
309                 {"default_brick.png"},
310                 "Brick Element Straight Double",
311                 "Brick Element Edge Double",
312                 "Brick Element T Double",
313                 "Brick Element Cross Double",
314                 "Brick Element End Double")
315 -- SANDSTONE
316 ------------
317 technic_cnc_api.register_elements("default:sandstone",
318                 {crumbly=2,cracky=2,not_in_creative_inventory=1},
319                 {"default_sandstone.png"},
320                 "Sandstone Element Straight Double",
321                 "Sandstone Element Edge Double",
322                 "Sandstone Element T Double",
323                 "Sandstone Element Cross Double",
324                 "Sandstone Element End Double")
325 -- LEAVES
326 ---------
327 technic_cnc_api.register_elements("default:leaves",
328                 {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
329                 {"bucharest_tree.png"},
330                 "Leaves Element Straight Double",
331                 "Leaves Element Edge Double",
332                 "Leaves Element T Double",
333                 "Leaves Element Cross Double",
334                 "Leaves Element End Double")
335 -- TREE
336 -------
337 technic_cnc_api.register_elements("default:tree",
338                 {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1,not_in_creative_inventory=1},
339                 {"default_tree.png"},
340                 "Tree Element Straight Double",
341                 "Tree Element Edge Double",
342                 "Tree Element T Double",
343                 "Tree Element Cross Double",
344                 "Tree Element End Double")
345 -- STEEL
346 --------
347 technic_cnc_api.register_elements("default:steel",
348                 {snappy=1,bendy=2,cracky=1,melty=2,level=2,not_in_creative_inventory=1},
349                 {"default_steel_block.png"},
350                 "Steel Element Straight Double",
351                 "Steel Element Edge Double",
352                 "Steel Element T Double",
353                 "Steel Element Cross Double",
354                 "Steel Element End Double")