technic/technic_cnc/cnc_materials.lua

132 lines
3.9 KiB
Lua
Raw Normal View History

2013-07-17 23:34:35 +04:00
-- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS:
-----------------------------------------------------------
local S = technic_cnc.getter
2013-07-17 23:34:35 +04:00
-- DIRT
-------
technic_cnc.register_all("default:dirt",
2013-07-17 23:34:35 +04:00
{snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
{"default_dirt.png"},
S("Dirt"))
-- (DIRT WITH) GRASS
--------------------
technic_cnc.register_all("default:dirt_with_grass",
{snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
{"default_grass.png"},
S("Grassy dirt"))
2013-07-17 23:34:35 +04:00
-- WOOD
-------
technic_cnc.register_all("default:wood",
2013-07-17 23:34:35 +04:00
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"default_wood.png"},
S("Wooden"))
2013-07-17 23:34:35 +04:00
-- STONE
--------
technic_cnc.register_all("default:stone",
2013-07-17 23:34:35 +04:00
{cracky=3, not_in_creative_inventory=1},
{"default_stone.png"},
S("Stone"))
2013-07-17 23:34:35 +04:00
-- COBBLE
---------
technic_cnc.register_all("default:cobble",
2013-07-17 23:34:35 +04:00
{cracky=3, not_in_creative_inventory=1},
{"default_cobble.png"},
S("Cobble"))
2013-07-17 23:34:35 +04:00
-- BRICK
--------
technic_cnc.register_all("default:brick",
2013-07-17 23:34:35 +04:00
{cracky=3, not_in_creative_inventory=1},
{"default_brick.png"},
S("Brick"))
2013-07-17 23:34:35 +04:00
-- SANDSTONE
------------
technic_cnc.register_all("default:sandstone",
{crumbly=2, cracky=3, not_in_creative_inventory=1},
2013-07-17 23:34:35 +04:00
{"default_sandstone.png"},
S("Sandstone"))
2013-07-17 23:34:35 +04:00
-- LEAVES
---------
technic_cnc.register_all("default:leaves",
2013-07-17 23:34:35 +04:00
{snappy=2, choppy=2, oddly_breakable_by_hand=3, not_in_creative_inventory=1},
{"default_leaves.png"},
S("Leaves"))
2013-07-17 23:34:35 +04:00
-- TREE
-------
technic_cnc.register_all("default:tree",
2013-07-17 23:34:35 +04:00
{snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=3, wood=1, not_in_creative_inventory=1},
{"default_tree.png"},
S("Tree"))
-- Bronze
--------
technic_cnc.register_all("default:bronzeblock",
{cracky=1, level=2, not_in_creative_inventory=1},
{"default_bronze_block.png"},
S("Bronze"))
local steeltex = "default_steel_block.png"
local steelname = "Steel"
if technic_cnc.technic_modpath then
steeltex = "technic_wrought_iron_block.png"
steelname = "Wrought Iron"
-- Stainless Steel
--------
technic_cnc.register_all("technic:stainless_steel_block",
{cracky=1, level=2, not_in_creative_inventory=1},
{"technic_stainless_steel_block.png"},
S("Stainless Steel"))
-- Marble
------------
technic_cnc.register_all("technic:marble",
{cracky=3, not_in_creative_inventory=1},
{"technic_marble.png"},
S("Marble"))
-- Granite
------------
technic_cnc.register_all("technic:granite",
{cracky=1, not_in_creative_inventory=1},
{"technic_granite.png"},
S("Granite"))
-- Blast-resistant concrete
---------------------------
technic_cnc.register_all("technic:blast_resistant_concrete",
{cracky=2, level=2, not_in_creative_inventory=1},
{"technic_blast_resistant_concrete_block.png"},
S("Blast-resistant concrete"))
end
-- STEEL
---------------
technic_cnc.register_all("default:steelblock",
{cracky=1, level=2, not_in_creative_inventory=1},
{steeltex},
S(steelname))
-- CONCRETE AND CEMENT
----------------------
technic_cnc.register_all("basic_materials:concrete_block",
{cracky=2, level=2, not_in_creative_inventory=1},
{"basic_materials_concrete_block.png"},
S("Concrete"))
technic_cnc.register_all("basic_materials:cement_block",
{cracky=2, level=2, not_in_creative_inventory=1},
{"basic_materials_cement_block.png"},
S("Cement"))
technic_cnc.register_all("basic_materials:brass_block",
{cracky=1, level=2, not_in_creative_inventory=1},
{"basic_materials_brass_block.png"},
S("Brass block"))