mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-17 15:58:37 +01:00
i regret this :(
This commit is contained in:
parent
31d7cbaf7e
commit
bae7d1b804
@ -1,389 +0,0 @@
|
|||||||
-- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS:
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
local S=technic.getter
|
|
||||||
|
|
||||||
-- DIRT
|
|
||||||
-------
|
|
||||||
technic.cnc.register_all("default:dirt",
|
|
||||||
{snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
|
|
||||||
{"default_grass.png", "default_dirt.png", "default_grass.png"},
|
|
||||||
S("Dirt"))
|
|
||||||
-- WOOD
|
|
||||||
-------
|
|
||||||
technic.cnc.register_all("default:wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"default_wood.png"},
|
|
||||||
S("Wooden"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:junglewood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"default_junglewood.png"},
|
|
||||||
S("Junglewood"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:pine_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"default_pine_wood.png"},
|
|
||||||
S("Pine"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:acacia_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"default_acacia_wood.png"},
|
|
||||||
S("Acacia"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:aspen_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"default_aspen_wood.png"},
|
|
||||||
S("Aspen"))
|
|
||||||
|
|
||||||
-- STONE
|
|
||||||
--------
|
|
||||||
technic.cnc.register_all("default:stone",
|
|
||||||
{cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_stone.png"},
|
|
||||||
S("Stone"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:stonebrick",
|
|
||||||
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_stone_brick.png"},
|
|
||||||
S("Stone Brick"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:stone_block",
|
|
||||||
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_stone_block.png"},
|
|
||||||
S("Stone Block"))
|
|
||||||
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:desert_stone",
|
|
||||||
{cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_desert_stone.png"},
|
|
||||||
S("Desert Stone"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:desert_stonebrick",
|
|
||||||
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_desert_stone_brick.png"},
|
|
||||||
S("Desert Stone Brick"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:desert_stone_block",
|
|
||||||
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_desert_stone_block.png"},
|
|
||||||
S("Desert Stone Block"))
|
|
||||||
|
|
||||||
-- COBBLE
|
|
||||||
---------
|
|
||||||
technic.cnc.register_all("default:cobble",
|
|
||||||
{cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_cobble.png"},
|
|
||||||
S("Cobble"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:mossycobble",
|
|
||||||
{cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_mossycobble.png"},
|
|
||||||
S("Mossy Cobblestone"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:desert_cobble",
|
|
||||||
{cracky=3, stone=1, not_in_creative_inventory=1},
|
|
||||||
{"default_desert_cobble.png"},
|
|
||||||
S("Desert Cobble"))
|
|
||||||
|
|
||||||
-- BRICK
|
|
||||||
--------
|
|
||||||
technic.cnc.register_all("default:brick",
|
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_brick.png"},
|
|
||||||
S("Brick"))
|
|
||||||
|
|
||||||
|
|
||||||
-- SANDSTONE
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("default:sandstone",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_sandstone.png"},
|
|
||||||
S("Sandstone"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:sandstonebrick",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_sandstone_brick.png"},
|
|
||||||
S("Sandstone Brick"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:sandstone_block",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_sandstone_block.png"},
|
|
||||||
S("Sandstone Block"))
|
|
||||||
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:desert_sandstone",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_desert_sandstone.png"},
|
|
||||||
S("Desert Sandstone"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:desert_sandstone_brick",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_desert_sandstone_brick.png"},
|
|
||||||
S("Desert Sandstone Brick"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:desert_sandstone_block",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_desert_sandstone_block.png"},
|
|
||||||
S("Desert Sandstone Block"))
|
|
||||||
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:silver_sandstone",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_silver_sandstone.png"},
|
|
||||||
S("Silver Sandstone"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:silver_sandstone_brick",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_silver_sandstone_brick.png"},
|
|
||||||
S("Silver Sandstone Brick"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("default:silver_sandstone_block",
|
|
||||||
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"default_silver_sandstone_block.png"},
|
|
||||||
S("Silver Sandstone Block"))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- LEAVES
|
|
||||||
---------
|
|
||||||
technic.cnc.register_all("default:leaves",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=3, not_in_creative_inventory=1},
|
|
||||||
{"default_leaves.png"},
|
|
||||||
S("Leaves"))
|
|
||||||
|
|
||||||
-- TREE
|
|
||||||
-------
|
|
||||||
technic.cnc.register_all("default:tree",
|
|
||||||
{snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=3, wood=1, not_in_creative_inventory=1},
|
|
||||||
{"default_tree.png"},
|
|
||||||
S("Tree"))
|
|
||||||
|
|
||||||
-- ICE
|
|
||||||
-------
|
|
||||||
technic.cnc.register_all("default:ice",
|
|
||||||
{cracky=3, puts_out_fire=1, cools_lava=1, not_in_creative_inventory=1},
|
|
||||||
{"default_ice.png"},
|
|
||||||
S("Ice"))
|
|
||||||
|
|
||||||
|
|
||||||
-- OBSIDIAN
|
|
||||||
-----------
|
|
||||||
technic.cnc.register_all("default:obsidian_block",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"default_obsidian_block.png"},
|
|
||||||
S("Obsidian"))
|
|
||||||
|
|
||||||
|
|
||||||
-- WROUGHT IRON
|
|
||||||
---------------
|
|
||||||
technic.cnc.register_all("default:steelblock",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"technic_wrought_iron_block.png"},
|
|
||||||
S("Wrought Iron"))
|
|
||||||
|
|
||||||
-- Bronze
|
|
||||||
--------
|
|
||||||
technic.cnc.register_all("default:bronzeblock",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"default_bronze_block.png"},
|
|
||||||
S("Bronze"))
|
|
||||||
|
|
||||||
-- Zinc
|
|
||||||
--------
|
|
||||||
technic.cnc.register_all("technic:zinc_block",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"technic_zinc_block.png"},
|
|
||||||
S("Zinc"))
|
|
||||||
|
|
||||||
-- Cast Iron
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("technic:cast_iron_block",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"technic_cast_iron_block.png"},
|
|
||||||
S("Cast 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"))
|
|
||||||
|
|
||||||
-- Carbon steel
|
|
||||||
---------------
|
|
||||||
technic.cnc.register_all("technic:carbon_steel_block",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"technic_carbon_steel_block.png"},
|
|
||||||
S("Carbon Steel"))
|
|
||||||
|
|
||||||
-- Brass
|
|
||||||
--------
|
|
||||||
technic.cnc.register_all("technic:brass_block",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"technic_brass_block.png"},
|
|
||||||
S("Brass"))
|
|
||||||
|
|
||||||
-- Copper
|
|
||||||
---------
|
|
||||||
technic.cnc.register_all("default:copperblock",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"default_copper_block.png"},
|
|
||||||
S("Copper"))
|
|
||||||
|
|
||||||
-- Tin
|
|
||||||
------
|
|
||||||
technic.cnc.register_all("default:tinblock",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"default_tin_block.png"},
|
|
||||||
S("Tin"))
|
|
||||||
|
|
||||||
-- Gold
|
|
||||||
-------
|
|
||||||
technic.cnc.register_all("default:goldblock",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"default_gold_block.png"},
|
|
||||||
S("Gold"))
|
|
||||||
|
|
||||||
|
|
||||||
-- 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"))
|
|
||||||
|
|
||||||
|
|
||||||
if minetest.get_modpath("ethereal") then
|
|
||||||
-- Glostone
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("ethereal:glostone",
|
|
||||||
{cracky=1, not_in_creative_inventory=1, light_source=13},
|
|
||||||
{"glostone.png"},
|
|
||||||
S("Glo Stone"))
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
if minetest.get_modpath("ethereal") then
|
|
||||||
-- Glostone
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("ethereal:glostone",
|
|
||||||
{cracky=1, not_in_creative_inventory=1, light_source=13},
|
|
||||||
{"glostone.png"},
|
|
||||||
S("Glo Stone"))
|
|
||||||
|
|
||||||
-- Crystal block
|
|
||||||
----------------
|
|
||||||
technic.cnc.register_all("ethereal:crystal_block",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"crystal_block.png"},
|
|
||||||
S("Crystal"))
|
|
||||||
|
|
||||||
-- Misc. Wood types
|
|
||||||
-------------------
|
|
||||||
technic.cnc.register_all("ethereal:banana_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"banana_wood.png"},
|
|
||||||
S("Banana Wood"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("ethereal:birch_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"moretrees_birch_wood.png"},
|
|
||||||
S("Birch Wood"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("ethereal:frost_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"frost_wood.png"},
|
|
||||||
S("Frost Wood"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("ethereal:palm_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"moretrees_palm_wood.png"},
|
|
||||||
S("Palm Wood"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("ethereal:willow_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"willow_wood.png"},
|
|
||||||
S("Willow Wood"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("ethereal:yellow_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"yellow_wood.png"},
|
|
||||||
S("Healing Tree Wood"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("ethereal:redwood_wood",
|
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
|
||||||
{"redwood_wood.png"},
|
|
||||||
S("Redwood"))
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
if minetest.get_modpath("moreblocks") then
|
|
||||||
-- Tiles
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("moreblocks:stone_tile",
|
|
||||||
{stone=1, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"moreblocks_stone_tile.png"},
|
|
||||||
S("Stone Tile"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("moreblocks:split_stone_tile",
|
|
||||||
{stone=1, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"moreblocks_split_stone_tile.png"},
|
|
||||||
S("Split Stone Tile"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("moreblocks:checker_stone_tile",
|
|
||||||
{stone=1, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"moreblocks_checker_stone_tile.png"},
|
|
||||||
S("Checker Stone Tile"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("moreblocks:cactus_checker",
|
|
||||||
{stone=1, cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"moreblocks_cactus_checker.png"},
|
|
||||||
S("Cactus Checker"))
|
|
||||||
|
|
||||||
-- Bricks
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("moreblocks:cactus_brick",
|
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"moreblocks_cactus_brick.png"},
|
|
||||||
S("Cactus Brick"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("moreblocks:grey_bricks",
|
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"moreblocks_grey_bricks.png"},
|
|
||||||
S("Grey Bricks"))
|
|
||||||
|
|
||||||
-- Metals
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("moreblocks:copperpatina",
|
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
|
||||||
{"moreblocks_copperpatina.png"},
|
|
||||||
S("Copper Patina"))
|
|
||||||
|
|
||||||
-- Clay
|
|
||||||
------------
|
|
||||||
technic.cnc.register_all("bakedclay:red",
|
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"baked_clay_red.png"},
|
|
||||||
S("Red Clay"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("bakedclay:orange",
|
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"baked_clay_orange.png"},
|
|
||||||
S("Orange Clay"))
|
|
||||||
|
|
||||||
technic.cnc.register_all("bakedclay:grey",
|
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
|
||||||
{"baked_clay_grey.png"},
|
|
||||||
S("Grey Clay"))
|
|
||||||
|
|
||||||
end
|
|
@ -23,6 +23,4 @@ dofile(path.."/compressor.lua")
|
|||||||
|
|
||||||
dofile(path.."/music_player.lua")
|
dofile(path.."/music_player.lua")
|
||||||
|
|
||||||
dofile(path.."/cnc_nodes.lua")
|
|
||||||
|
|
||||||
dofile(path.."/lamp.lua")
|
dofile(path.."/lamp.lua")
|
||||||
|
@ -21,18 +21,77 @@ technic_cnc.register_all("default:wood",
|
|||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
{"default_wood.png"},
|
{"default_wood.png"},
|
||||||
S("Wooden"))
|
S("Wooden"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:junglewood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"default_junglewood.png"},
|
||||||
|
S("Junglewood"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:pine_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"default_pine_wood.png"},
|
||||||
|
S("Pine"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:acacia_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"default_acacia_wood.png"},
|
||||||
|
S("Acacia"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:aspen_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"default_aspen_wood.png"},
|
||||||
|
S("Aspen"))
|
||||||
|
|
||||||
-- STONE
|
-- STONE
|
||||||
--------
|
--------
|
||||||
technic_cnc.register_all("default:stone",
|
technic_cnc.register_all("default:stone",
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
{cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
{"default_stone.png"},
|
{"default_stone.png"},
|
||||||
S("Stone"))
|
S("Stone"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:stonebrick",
|
||||||
|
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
|
{"default_stone_brick.png"},
|
||||||
|
S("Stone Brick"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:stone_block",
|
||||||
|
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
|
{"default_stone_block.png"},
|
||||||
|
S("Stone Block"))
|
||||||
|
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:desert_stone",
|
||||||
|
{cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
|
{"default_desert_stone.png"},
|
||||||
|
S("Desert Stone"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:desert_stonebrick",
|
||||||
|
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
|
{"default_desert_stone_brick.png"},
|
||||||
|
S("Desert Stone Brick"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:desert_stone_block",
|
||||||
|
{crumbly=2, cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
|
{"default_desert_stone_block.png"},
|
||||||
|
S("Desert Stone Block"))
|
||||||
|
|
||||||
-- COBBLE
|
-- COBBLE
|
||||||
---------
|
---------
|
||||||
technic_cnc.register_all("default:cobble",
|
technic_cnc.register_all("default:cobble",
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
{cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
{"default_cobble.png"},
|
{"default_cobble.png"},
|
||||||
S("Cobble"))
|
S("Cobble"))
|
||||||
|
|
||||||
|
technic.cnc.register_all("default:mossycobble",
|
||||||
|
{cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
|
{"default_mossycobble.png"},
|
||||||
|
S("Mossy Cobblestone"))
|
||||||
|
|
||||||
|
technic.cnc.register_all("default:desert_cobble",
|
||||||
|
{cracky=3, stone=1, not_in_creative_inventory=1},
|
||||||
|
{"default_desert_cobble.png"},
|
||||||
|
S("Desert Cobble"))
|
||||||
|
|
||||||
-- BRICK
|
-- BRICK
|
||||||
--------
|
--------
|
||||||
technic_cnc.register_all("default:brick",
|
technic_cnc.register_all("default:brick",
|
||||||
@ -47,12 +106,58 @@ technic_cnc.register_all("default:sandstone",
|
|||||||
{"default_sandstone.png"},
|
{"default_sandstone.png"},
|
||||||
S("Sandstone"))
|
S("Sandstone"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:sandstonebrick",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_sandstone_brick.png"},
|
||||||
|
S("Sandstone Brick"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:sandstone_block",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_sandstone_block.png"},
|
||||||
|
S("Sandstone Block"))
|
||||||
|
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:desert_sandstone",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_desert_sandstone.png"},
|
||||||
|
S("Desert Sandstone"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:desert_sandstone_brick",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_desert_sandstone_brick.png"},
|
||||||
|
S("Desert Sandstone Brick"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:desert_sandstone_block",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_desert_sandstone_block.png"},
|
||||||
|
S("Desert Sandstone Block"))
|
||||||
|
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:silver_sandstone",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_silver_sandstone.png"},
|
||||||
|
S("Silver Sandstone"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:silver_sandstone_brick",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_silver_sandstone_brick.png"},
|
||||||
|
S("Silver Sandstone Brick"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("default:silver_sandstone_block",
|
||||||
|
{crumbly=2, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"default_silver_sandstone_block.png"},
|
||||||
|
S("Silver Sandstone Block"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- LEAVES
|
-- LEAVES
|
||||||
---------
|
---------
|
||||||
technic_cnc.register_all("default:leaves",
|
technic_cnc.register_all("default:leaves",
|
||||||
{snappy=2, choppy=2, oddly_breakable_by_hand=3, not_in_creative_inventory=1},
|
{snappy=2, choppy=2, oddly_breakable_by_hand=3, not_in_creative_inventory=1},
|
||||||
{"default_leaves.png"},
|
{"default_leaves.png"},
|
||||||
S("Leaves"))
|
S("Leaves"))
|
||||||
|
|
||||||
-- TREE
|
-- TREE
|
||||||
-------
|
-------
|
||||||
technic_cnc.register_all("default:tree",
|
technic_cnc.register_all("default:tree",
|
||||||
@ -60,6 +165,29 @@ technic_cnc.register_all("default:tree",
|
|||||||
{"default_tree.png"},
|
{"default_tree.png"},
|
||||||
S("Tree"))
|
S("Tree"))
|
||||||
|
|
||||||
|
-- ICE
|
||||||
|
-------
|
||||||
|
technic_cnc.register_all("default:ice",
|
||||||
|
{cracky=3, puts_out_fire=1, cools_lava=1, not_in_creative_inventory=1},
|
||||||
|
{"default_ice.png"},
|
||||||
|
S("Ice"))
|
||||||
|
|
||||||
|
|
||||||
|
-- OBSIDIAN
|
||||||
|
-----------
|
||||||
|
technic_cnc.register_all("default:obsidian_block",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"default_obsidian_block.png"},
|
||||||
|
S("Obsidian"))
|
||||||
|
|
||||||
|
|
||||||
|
-- WROUGHT IRON
|
||||||
|
---------------
|
||||||
|
technic_cnc.register_all("default:steelblock",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"technic_wrought_iron_block.png"},
|
||||||
|
S("Wrought Iron"))
|
||||||
|
|
||||||
-- Bronze
|
-- Bronze
|
||||||
--------
|
--------
|
||||||
technic_cnc.register_all("default:bronzeblock",
|
technic_cnc.register_all("default:bronzeblock",
|
||||||
@ -67,10 +195,23 @@ technic_cnc.register_all("default:bronzeblock",
|
|||||||
{"default_bronze_block.png"},
|
{"default_bronze_block.png"},
|
||||||
S("Bronze"))
|
S("Bronze"))
|
||||||
|
|
||||||
|
-- Zinc
|
||||||
|
--------
|
||||||
|
technic_cnc.register_all("technic:zinc_block",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"technic_zinc_block.png"},
|
||||||
|
S("Zinc"))
|
||||||
|
|
||||||
local steeltex = "default_steel_block.png"
|
local steeltex = "default_steel_block.png"
|
||||||
local steelname = "Steel"
|
local steelname = "Steel"
|
||||||
|
|
||||||
|
-- Cast Iron
|
||||||
|
------------
|
||||||
|
technic_cnc.register_all("technic:cast_iron_block",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"technic_cast_iron_block.png"},
|
||||||
|
S("Cast Iron"))
|
||||||
|
|
||||||
if technic_cnc.technic_modpath then
|
if technic_cnc.technic_modpath then
|
||||||
steeltex = "technic_wrought_iron_block.png"
|
steeltex = "technic_wrought_iron_block.png"
|
||||||
steelname = "Wrought Iron"
|
steelname = "Wrought Iron"
|
||||||
@ -105,8 +246,6 @@ if technic_cnc.technic_modpath then
|
|||||||
S("Blast-resistant concrete"))
|
S("Blast-resistant concrete"))
|
||||||
end
|
end
|
||||||
|
|
||||||
-- STEEL
|
|
||||||
---------------
|
|
||||||
technic_cnc.register_all("default:steelblock",
|
technic_cnc.register_all("default:steelblock",
|
||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
{steeltex},
|
{steeltex},
|
||||||
@ -129,3 +268,148 @@ technic_cnc.register_all("basic_materials:brass_block",
|
|||||||
{cracky=1, level=2, not_in_creative_inventory=1},
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
{"basic_materials_brass_block.png"},
|
{"basic_materials_brass_block.png"},
|
||||||
S("Brass block"))
|
S("Brass block"))
|
||||||
|
-- Brass
|
||||||
|
--------
|
||||||
|
technic_cnc.register_all("technic:brass_block",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"technic_brass_block.png"},
|
||||||
|
S("Brass"))
|
||||||
|
|
||||||
|
-- Copper
|
||||||
|
---------
|
||||||
|
technic_cnc.register_all("default:copperblock",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"default_copper_block.png"},
|
||||||
|
S("Copper"))
|
||||||
|
|
||||||
|
-- Tin
|
||||||
|
------
|
||||||
|
technic_cnc.register_all("default:tinblock",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"default_tin_block.png"},
|
||||||
|
S("Tin"))
|
||||||
|
|
||||||
|
-- Gold
|
||||||
|
-------
|
||||||
|
technic_cnc.register_all("default:goldblock",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"default_gold_block.png"},
|
||||||
|
S("Gold"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if minetest.get_modpath("ethereal") then
|
||||||
|
-- Glostone
|
||||||
|
------------
|
||||||
|
technic_cnc.register_all("ethereal:glostone",
|
||||||
|
{cracky=1, not_in_creative_inventory=1, light_source=13},
|
||||||
|
{"glostone.png"},
|
||||||
|
S("Glo Stone"))
|
||||||
|
|
||||||
|
-- Crystal block
|
||||||
|
----------------
|
||||||
|
technic_cnc.register_all("ethereal:crystal_block",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"crystal_block.png"},
|
||||||
|
S("Crystal"))
|
||||||
|
|
||||||
|
-- Misc. Wood types
|
||||||
|
-------------------
|
||||||
|
technic_cnc.register_all("ethereal:banana_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"banana_wood.png"},
|
||||||
|
S("Banana Wood"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("ethereal:birch_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"moretrees_birch_wood.png"},
|
||||||
|
S("Birch Wood"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("ethereal:frost_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"frost_wood.png"},
|
||||||
|
S("Frost Wood"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("ethereal:palm_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"moretrees_palm_wood.png"},
|
||||||
|
S("Palm Wood"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("ethereal:willow_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"willow_wood.png"},
|
||||||
|
S("Willow Wood"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("ethereal:yellow_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"yellow_wood.png"},
|
||||||
|
S("Healing Tree Wood"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("ethereal:redwood_wood",
|
||||||
|
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
|
||||||
|
{"redwood_wood.png"},
|
||||||
|
S("Redwood"))
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
if minetest.get_modpath("moreblocks") then
|
||||||
|
-- Tiles
|
||||||
|
------------
|
||||||
|
technic_cnc.register_all("moreblocks:stone_tile",
|
||||||
|
{stone=1, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"moreblocks_stone_tile.png"},
|
||||||
|
S("Stone Tile"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("moreblocks:split_stone_tile",
|
||||||
|
{stone=1, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"moreblocks_split_stone_tile.png"},
|
||||||
|
S("Split Stone Tile"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("moreblocks:checker_stone_tile",
|
||||||
|
{stone=1, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"moreblocks_checker_stone_tile.png"},
|
||||||
|
S("Checker Stone Tile"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("moreblocks:cactus_checker",
|
||||||
|
{stone=1, cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"moreblocks_cactus_checker.png"},
|
||||||
|
S("Cactus Checker"))
|
||||||
|
|
||||||
|
-- Bricks
|
||||||
|
------------
|
||||||
|
technic_cnc.register_all("moreblocks:cactus_brick",
|
||||||
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"moreblocks_cactus_brick.png"},
|
||||||
|
S("Cactus Brick"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("moreblocks:grey_bricks",
|
||||||
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"moreblocks_grey_bricks.png"},
|
||||||
|
S("Grey Bricks"))
|
||||||
|
|
||||||
|
-- Metals
|
||||||
|
------------
|
||||||
|
technic_cnc.register_all("moreblocks:copperpatina",
|
||||||
|
{cracky=1, level=2, not_in_creative_inventory=1},
|
||||||
|
{"moreblocks_copperpatina.png"},
|
||||||
|
S("Copper Patina"))
|
||||||
|
|
||||||
|
-- Clay
|
||||||
|
------------
|
||||||
|
technic_cnc.register_all("bakedclay:red",
|
||||||
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"baked_clay_red.png"},
|
||||||
|
S("Red Clay"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("bakedclay:orange",
|
||||||
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"baked_clay_orange.png"},
|
||||||
|
S("Orange Clay"))
|
||||||
|
|
||||||
|
technic_cnc.register_all("bakedclay:grey",
|
||||||
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
|
{"baked_clay_grey.png"},
|
||||||
|
S("Grey Clay"))
|
||||||
|
|
||||||
|
end
|
||||||
|
@ -15,4 +15,5 @@ end
|
|||||||
|
|
||||||
dofile(modpath.."/cnc.lua")
|
dofile(modpath.."/cnc.lua")
|
||||||
dofile(modpath.."/cnc_api.lua")
|
dofile(modpath.."/cnc_api.lua")
|
||||||
|
dofile(modpath.."/cnc_nodes.lua")
|
||||||
dofile(modpath.."/cnc_materials.lua")
|
dofile(modpath.."/cnc_materials.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user