ShadowNinja
2013-10-30 be2f30a1a2f5b6c2aae7fd4cf8231aec2da0844d
commit | author | age
ee0765 1 -- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS:
S 2 -----------------------------------------------------------
be2f30 3
S 4 local S = technic.getter
5
ee0765 6 -- DIRT
S 7 -------
8 technic.cnc.register_all("default:dirt",
9                 {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
10                 {"default_grass.png", "default_dirt.png", "default_grass.png"},
be2f30 11                 S("Dirt"))
ee0765 12 technic.cnc.programs_disable["default:dirt"] = {"technic_cnc_sphere", "technic_cnc_slope_upsdown",
S 13         "technic_cnc_edge",   "technic_cnc_inner_edge",
14         "technic_cnc_slope_edge_upsdown", "technic_cnc_slope_inner_edge_upsdown",
15         "technic_cnc_stick", "technic_cnc_cylinder_horizontal"}
16
17 -- TREE
18 -------
19 technic.cnc.register_all("default:tree",
20                 {snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
21                 {"default_tree.png"},
be2f30 22                 S("Wooden"))
ee0765 23
S 24 -- WOOD
25 -------
26 technic.cnc.register_all("default:wood",
27                 {snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
28                 {"default_wood.png"},
be2f30 29                 S("Wooden"))
ee0765 30 -- STONE
S 31 --------
32 technic.cnc.register_all("default:stone",
33                 {cracky=3, not_in_creative_inventory=1},
34                 {"default_stone.png"},
be2f30 35                 S("Stone"))
ee0765 36 -- COBBLE
S 37 ---------
38 technic.cnc.register_all("default:cobble",
39                 {cracky=3, not_in_creative_inventory=1},
40                 {"default_cobble.png"},
be2f30 41                 S("Cobble"))
ee0765 42 -- BRICK
S 43 --------
44 technic.cnc.register_all("default:brick",
45                 {cracky=3, not_in_creative_inventory=1},
46                 {"default_brick.png"},
be2f30 47                 S("Brick"))
ee0765 48
S 49 -- SANDSTONE
50 ------------
51 technic.cnc.register_all("default:sandstone",
52                 {crumbly=2, cracky=2, not_in_creative_inventory=1},
53                 {"default_sandstone.png"},
be2f30 54                 S("Sandstone"))
ee0765 55
S 56 -- LEAVES
57 ---------
58 technic.cnc.register_all("default:leaves",
59                 {snappy=2, choppy=2, oddly_breakable_by_hand=3, not_in_creative_inventory=1},
60                 {"default_leaves.png"},
be2f30 61                 S("Leaves"))
ee0765 62 -- TREE
S 63 -------
64 technic.cnc.register_all("default:tree",
65                 {snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=3, wood=1, not_in_creative_inventory=1},
66                 {"default_tree.png"},
be2f30 67                 S("Tree"))
ee0765 68 -- STEEL
S 69 --------
70 technic.cnc.register_all("default:steel",
71                 {snappy=1, bendy=2, cracky=1, melty=2, level=2, not_in_creative_inventory=1},
72                 {"default_steel_block.png"},
be2f30 73                 S("Steel"))
ee0765 74