commit | author | age
|
ee0765
|
1 |
-- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS: |
S |
2 |
----------------------------------------------------------- |
be2f30
|
3 |
|
d40946
|
4 |
local S = technic_cnc.getter |
be2f30
|
5 |
|
ee0765
|
6 |
-- DIRT |
S |
7 |
------- |
d40946
|
8 |
technic_cnc.register_all("default:dirt", |
ee0765
|
9 |
{snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, |
83ec1b
|
10 |
{"default_dirt.png"}, |
be2f30
|
11 |
S("Dirt")) |
83ec1b
|
12 |
-- (DIRT WITH) GRASS |
VD |
13 |
-------------------- |
|
14 |
technic_cnc.register_all("default:dirt_with_grass", |
|
15 |
{snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, |
|
16 |
{"default_grass.png"}, |
|
17 |
S("Grassy dirt")) |
ee0765
|
18 |
-- WOOD |
S |
19 |
------- |
d40946
|
20 |
technic_cnc.register_all("default:wood", |
ee0765
|
21 |
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1}, |
S |
22 |
{"default_wood.png"}, |
be2f30
|
23 |
S("Wooden")) |
ee0765
|
24 |
-- STONE |
S |
25 |
-------- |
d40946
|
26 |
technic_cnc.register_all("default:stone", |
ee0765
|
27 |
{cracky=3, not_in_creative_inventory=1}, |
S |
28 |
{"default_stone.png"}, |
be2f30
|
29 |
S("Stone")) |
ee0765
|
30 |
-- COBBLE |
S |
31 |
--------- |
d40946
|
32 |
technic_cnc.register_all("default:cobble", |
ee0765
|
33 |
{cracky=3, not_in_creative_inventory=1}, |
S |
34 |
{"default_cobble.png"}, |
be2f30
|
35 |
S("Cobble")) |
ee0765
|
36 |
-- BRICK |
S |
37 |
-------- |
d40946
|
38 |
technic_cnc.register_all("default:brick", |
ee0765
|
39 |
{cracky=3, not_in_creative_inventory=1}, |
S |
40 |
{"default_brick.png"}, |
be2f30
|
41 |
S("Brick")) |
ee0765
|
42 |
|
S |
43 |
-- SANDSTONE |
|
44 |
------------ |
d40946
|
45 |
technic_cnc.register_all("default:sandstone", |
12d0c6
|
46 |
{crumbly=2, cracky=3, not_in_creative_inventory=1}, |
ee0765
|
47 |
{"default_sandstone.png"}, |
be2f30
|
48 |
S("Sandstone")) |
ee0765
|
49 |
|
S |
50 |
-- LEAVES |
|
51 |
--------- |
d40946
|
52 |
technic_cnc.register_all("default:leaves", |
ee0765
|
53 |
{snappy=2, choppy=2, oddly_breakable_by_hand=3, not_in_creative_inventory=1}, |
S |
54 |
{"default_leaves.png"}, |
be2f30
|
55 |
S("Leaves")) |
ee0765
|
56 |
-- TREE |
S |
57 |
------- |
d40946
|
58 |
technic_cnc.register_all("default:tree", |
ee0765
|
59 |
{snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=3, wood=1, not_in_creative_inventory=1}, |
S |
60 |
{"default_tree.png"}, |
be2f30
|
61 |
S("Tree")) |
68b7bc
|
62 |
|
8a8881
|
63 |
-- Bronze |
T |
64 |
-------- |
d40946
|
65 |
technic_cnc.register_all("default:bronzeblock", |
8a8881
|
66 |
{cracky=1, level=2, not_in_creative_inventory=1}, |
T |
67 |
{"default_bronze_block.png"}, |
|
68 |
S("Bronze")) |
|
69 |
|
|
70 |
|
d40946
|
71 |
local steeltex = "default_steel_block.png" |
VD |
72 |
local steelname = "Steel" |
8a8881
|
73 |
|
d40946
|
74 |
if technic_cnc.technic_modpath then |
VD |
75 |
steeltex = "technic_wrought_iron_block.png" |
|
76 |
steelname = "Wrought Iron" |
8a8881
|
77 |
|
d40946
|
78 |
-- Stainless Steel |
VD |
79 |
-------- |
|
80 |
technic_cnc.register_all("technic:stainless_steel_block", |
|
81 |
{cracky=1, level=2, not_in_creative_inventory=1}, |
|
82 |
{"technic_stainless_steel_block.png"}, |
|
83 |
S("Stainless Steel")) |
|
84 |
|
|
85 |
-- Marble |
|
86 |
------------ |
|
87 |
technic_cnc.register_all("technic:marble", |
|
88 |
{cracky=3, not_in_creative_inventory=1}, |
|
89 |
{"technic_marble.png"}, |
|
90 |
S("Marble")) |
|
91 |
|
|
92 |
-- Granite |
|
93 |
------------ |
|
94 |
technic_cnc.register_all("technic:granite", |
|
95 |
{cracky=1, not_in_creative_inventory=1}, |
|
96 |
{"technic_granite.png"}, |
|
97 |
S("Granite")) |
bc26b0
|
98 |
|
VD |
99 |
-- Blast-resistant concrete |
|
100 |
--------------------------- |
|
101 |
|
|
102 |
technic_cnc.register_all("technic:blast_resistant_concrete", |
|
103 |
{cracky=2, level=2, not_in_creative_inventory=1}, |
|
104 |
{"technic_blast_resistant_concrete_block.png"}, |
|
105 |
S("Blast-resistant concrete")) |
d40946
|
106 |
end |
VD |
107 |
|
|
108 |
-- STEEL |
|
109 |
--------------- |
|
110 |
technic_cnc.register_all("default:steelblock", |
|
111 |
{cracky=1, level=2, not_in_creative_inventory=1}, |
|
112 |
{steeltex}, |
|
113 |
S(steelname)) |
bc26b0
|
114 |
|
VD |
115 |
-- CONCRETE AND CEMENT |
|
116 |
---------------------- |
|
117 |
|
|
118 |
technic_cnc.register_all("basic_materials:concrete_block", |
|
119 |
{cracky=2, level=2, not_in_creative_inventory=1}, |
|
120 |
{"basic_materials_concrete_block.png"}, |
|
121 |
S("Concrete")) |
|
122 |
|
|
123 |
technic_cnc.register_all("basic_materials:cement_block", |
|
124 |
{cracky=2, level=2, not_in_creative_inventory=1}, |
|
125 |
{"basic_materials_cement_block.png"}, |
|
126 |
S("Cement")) |
|
127 |
|
|
128 |
technic_cnc.register_all("basic_materials:brass_block", |
|
129 |
{cracky=1, level=2, not_in_creative_inventory=1}, |
|
130 |
{"basic_materials_brass_block.png"}, |
|
131 |
S("Brass block")) |