257 lines
6.0 KiB
Lua
257 lines
6.0 KiB
Lua
|
|
local S = technic_cnc.getter
|
|
|
|
technic_cnc.register_all(
|
|
"default:dirt",
|
|
{snappy = 2,choppy = 2,oddly_breakable_by_hand = 3,not_in_creative_inventory = 1},
|
|
{"default_dirt.png"},
|
|
S("Dirt")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
technic_cnc.register_all(
|
|
"default:brick",
|
|
{cracky = 3, not_in_creative_inventory = 1},
|
|
{"default_brick.png"},
|
|
S("Brick")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
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")
|
|
)
|
|
|
|
technic_cnc.register_all(
|
|
"default:obsidian_block",
|
|
{cracky = 1, level = 2, not_in_creative_inventory = 1},
|
|
{"default_obsidian_block.png"},
|
|
S("Obsidian")
|
|
)
|
|
|
|
technic_cnc.register_all(
|
|
"default:bronzeblock",
|
|
{cracky = 1, level = 2, not_in_creative_inventory = 1},
|
|
{"default_bronze_block.png"},
|
|
S("Bronze")
|
|
)
|
|
|
|
technic_cnc.register_all(
|
|
"default:copperblock",
|
|
{cracky = 1, level = 2, not_in_creative_inventory = 1},
|
|
{"default_copper_block.png"},
|
|
S("Copper")
|
|
)
|
|
|
|
technic_cnc.register_all(
|
|
"default:tinblock",
|
|
{cracky = 1, level = 2, not_in_creative_inventory = 1},
|
|
{"default_tin_block.png"},
|
|
S("Tin")
|
|
)
|
|
|
|
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("technic_worldgen") then
|
|
technic_cnc.register_all(
|
|
"default:steelblock",
|
|
{cracky = 1, level = 2, not_in_creative_inventory = 1},
|
|
{"technic_wrought_iron_block.png"},
|
|
S("Wrought Iron")
|
|
)
|
|
else
|
|
technic_cnc.register_all(
|
|
"default:steelblock",
|
|
{cracky = 1, level = 2, not_in_creative_inventory = 1},
|
|
{"default_steel_block.png"},
|
|
S("Steel")
|
|
)
|
|
end
|