diff --git a/README.md b/README.md new file mode 100644 index 0000000..a0acabc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Minetest - Compressed Netherrack + +Create Compressed Netherrack for the minetest nether mod \ No newline at end of file diff --git a/init.lua b/init.lua index e69de29..90452fe 100644 --- a/init.lua +++ b/init.lua @@ -0,0 +1,51 @@ +minetest.register_node("compressednether:rack", { + description = S("Compressed Netherrack"), + tiles = {"nether_compressed_rack.png"}, + is_ground_content = true, + groups = {cracky = 3, level = 2, workable_with_nether_tools = 3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("compressednether:rack_deep", { + description = S("Compressed Deep Netherrack"), + tiles = {"nether_compressed_rack_deep.png"}, + is_ground_content = true, + groups = {cracky = 3, level = 2, workable_with_nether_tools = 3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_craft({ + type = "shaped", + output = "compressednether:rack", + recipe = { + {"nether:rack", "nether:rack", "nether:rack"}, + {"nether:rack", "nether:rack", "nether:rack"}, + {"nether:rack", "nether:rack", "nether:rack"} + } +}) + +minetest.register_craft({ + type = "shapeless", + output = "nether:rack 9", + recipe = { + "compressednether:rack" + }, +}) + +minetest.register_craft({ + type = "shaped", + output = "compressednether:rack_deep", + recipe = { + {"nether:rack_deep", "nether:rack_deep", "nether:rack_deep"}, + {"nether:rack_deep", "nether:rack_deep", "nether:rack_deep"}, + {"nether:rack_deep", "nether:rack_deep", "nether:rack_deep"} + } +}) + +minetest.register_craft({ + type = "shapeless", + output = "nether:rack_deep 9", + recipe = { + "compressednether:rack_deep" + }, +}) \ No newline at end of file diff --git a/mod.conf b/mod.conf index 52e095a..818b76f 100644 --- a/mod.conf +++ b/mod.conf @@ -1,4 +1,5 @@ -name = minetestboilerplate -description = Basis for minetest mods +name = compressednether +description = Add recipes and nodes for minetest nether mod. author = jasonl8446 -title = BoilerPlate +title = Compressed Netherrack +depends = nether \ No newline at end of file diff --git a/textures/nether_compressed_rack.png b/textures/nether_compressed_rack.png new file mode 100644 index 0000000..5b8109e Binary files /dev/null and b/textures/nether_compressed_rack.png differ diff --git a/textures/nether_compressed_rack_deep.png b/textures/nether_compressed_rack_deep.png new file mode 100644 index 0000000..4ba92d8 Binary files /dev/null and b/textures/nether_compressed_rack_deep.png differ