init.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. minetest.register_craftitem("concrete:rebar", {
  2. description = "Steel Rebar",
  3. inventory_image = "technic_rebar.png",
  4. })
  5. minetest.register_node("concrete:concrete", {
  6. description = "Concrete Block",
  7. tiles = {"technic_concrete_block.png",},
  8. groups = utility.dig_groups("hardstone"),
  9. sounds = default.node_sound_stone_defaults(),
  10. })
  11. minetest.register_node("concrete:brc", {
  12. description = "Blast-Resistant Concrete Block",
  13. tiles = {"technic_blast_resistant_concrete_block.png",},
  14. groups = utility.dig_groups("obsidian"),
  15. sounds = default.node_sound_stone_defaults(),
  16. on_blast = function() end, -- TNT-proof.
  17. })
  18. minetest.register_craft({
  19. output = 'concrete:rebar 6',
  20. recipe = {
  21. {'','', "carbon_steel:ingot"},
  22. {'',"carbon_steel:ingot",''},
  23. {"carbon_steel:ingot", '', ''},
  24. }
  25. })
  26. minetest.register_craft({
  27. output = 'concrete:concrete 5',
  28. recipe = {
  29. {'default:stone','concrete:rebar','default:stone'},
  30. {'concrete:rebar','default:stone','concrete:rebar'},
  31. {'default:stone','concrete:rebar','default:stone'},
  32. }
  33. })
  34. minetest.register_craft({
  35. output = 'concrete:brc 5',
  36. recipe = {
  37. {'concrete:concrete','techcrafts:composite_plate','concrete:concrete'},
  38. {'techcrafts:composite_plate','concrete:concrete','techcrafts:composite_plate'},
  39. {'concrete:concrete','techcrafts:composite_plate','concrete:concrete'},
  40. }
  41. })
  42. stairs.register_stair_and_slab(
  43. "concrete",
  44. "concrete:concrete",
  45. {cracky=1, level=2},
  46. {"technic_concrete_block.png"},
  47. "Concrete Block",
  48. default.node_sound_stone_defaults()
  49. )