From 61d4a6648503296be981bd38d96b35635e7814da Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Mon, 15 May 2017 18:13:26 -0700 Subject: [PATCH] Remove 'stairsplus' mod: Now part of 'moreblocks'. --- mods/buildings/stairsplus/LICENSE.txt | 13 - mods/buildings/stairsplus/README | 6 - mods/buildings/stairsplus/corner.lua | 358 -------------------------- mods/buildings/stairsplus/depends.txt | 1 - mods/buildings/stairsplus/init.lua | 174 ------------- mods/buildings/stairsplus/micro.lua | 102 -------- mods/buildings/stairsplus/panel.lua | 153 ----------- mods/buildings/stairsplus/slab.lua | 304 ---------------------- mods/buildings/stairsplus/stair.lua | 334 ------------------------ mods/buildings/stairsplus/wall.lua | 123 --------- 10 files changed, 1568 deletions(-) delete mode 100644 mods/buildings/stairsplus/LICENSE.txt delete mode 100644 mods/buildings/stairsplus/README delete mode 100644 mods/buildings/stairsplus/corner.lua delete mode 100644 mods/buildings/stairsplus/depends.txt delete mode 100644 mods/buildings/stairsplus/init.lua delete mode 100644 mods/buildings/stairsplus/micro.lua delete mode 100644 mods/buildings/stairsplus/panel.lua delete mode 100644 mods/buildings/stairsplus/slab.lua delete mode 100644 mods/buildings/stairsplus/stair.lua delete mode 100644 mods/buildings/stairsplus/wall.lua diff --git a/mods/buildings/stairsplus/LICENSE.txt b/mods/buildings/stairsplus/LICENSE.txt deleted file mode 100644 index d2700333..00000000 --- a/mods/buildings/stairsplus/LICENSE.txt +++ /dev/null @@ -1,13 +0,0 @@ -+---- zlib/libpng license----+ - -Copyright (c) 2012 Calinou - -This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. - -Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any source distribution. \ No newline at end of file diff --git a/mods/buildings/stairsplus/README b/mods/buildings/stairsplus/README deleted file mode 100644 index e5a76b11..00000000 --- a/mods/buildings/stairsplus/README +++ /dev/null @@ -1,6 +0,0 @@ -Stairs+ -Mod for Minetest - -original by Calinou -edited by Casimir -Licensed under the zlib/libpng license for code and CC BY-SA 3.0 Unported for textures, see LICENSE.txt for info. diff --git a/mods/buildings/stairsplus/corner.lua b/mods/buildings/stairsplus/corner.lua deleted file mode 100644 index da0bd943..00000000 --- a/mods/buildings/stairsplus/corner.lua +++ /dev/null @@ -1,358 +0,0 @@ --- Node will be called :corner_ - -function stairsplus.register_corner(modname, subname, recipeitem, groups, images, description, drop, sounds, sunlight) - --- --- nodes --- - - minetest.register_node(modname .. ":corner_" .. subname, { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":corner_" .. drop, - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, 0, 0.5, 0.5, 0.5}, - {-0.5, -0.5, -0.5, 0, 0.5, 0}, - }, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":stair_" .. subname .. "_wall", modname .. ":corner_" .. subname) - - minetest.register_node(modname .. ":corner_" .. subname .. "_half", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":corner_" .. drop .. "_half", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, 0, 0.5, 0, 0.5}, - {-0.5, -0.5, -0.5, 0, 0, 0}, - }, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":stair_" .. subname .. "_wall_half", modname .. ":corner_" .. subname .. "_half") - - minetest.register_node(modname .. ":corner_" .. subname .. "_half_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":corner_" .. drop .. "_half_inverted", - node_box = { - type = "fixed", - fixed = { - {-0.5, 0, 0, 0.5, 0.5, 0.5}, - {-0.5, 0, -0.5, 0, 0.5, 0}, - }, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":stair_" .. subname .. "_wall_half_inverted", modname .. ":corner_" .. subname .. "_half_inverted") - - minetest.register_node(modname .. ":corner_" .. subname .. "_inner", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":corner_" .. drop .. "_inner", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - {-0.5, 0, 0, 0.5, 0.5, 0.5}, - {-0.5, 0, -0.5, 0, 0.5, 0}, - }, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":stair_" .. subname .. "_inner", modname .. ":corner_" .. subname .. "_inner") - - minetest.register_node(modname .. ":corner_" .. subname .. "_outer", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":corner_" .. drop .. "_outer", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - {-0.5, 0, 0, 0, 0.5, 0.5}, - }, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":stair_" .. subname .. "_outer", modname .. ":corner_" .. subname .. "_outer") - - minetest.register_node(modname .. ":corner_" .. subname .. "_inner_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":corner_" .. drop .. "_inner_inverted", - node_box = { - type = "fixed", - fixed = { - {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, - {-0.5, -0.5, 0, 0.5, 0, 0.5}, - {-0.5, -0.5, -0.5, 0, 0, 0}, - }, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":stair_" .. subname .. "_inner_inverted", modname .. ":corner_" .. subname .. "_inner_inverted") - - minetest.register_node(modname .. ":corner_" .. subname .. "_outer_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":corner_" .. drop .. "_outer_inverted", - node_box = { - type = "fixed", - fixed = { - {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, - {-0.5, -0.5, 0, 0, 0, 0.5}, - }, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":stair_" .. subname .. "_outer_inverted", modname .. ":corner_" .. subname .. "_outer_inverted") - --- --- crafting --- - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. " 8", - recipe = { - {recipeitem, recipeitem, recipeitem}, - {recipeitem, recipeitem, ""}, - {recipeitem, "", ""}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. " 8", - recipe = { - {recipeitem, recipeitem, recipeitem}, - {"", recipeitem, recipeitem}, - {"", "", recipeitem}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_wall 2", - recipe = { - {modname .. ":corner_" .. subname, modname .. ":corner_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_wall 2", - recipe = { - {modname .. ":corner_" .. subname .. "_inverted", modname .. ":corner_" .. subname .. "_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. " 2", - recipe = { - {modname .. ":corner_" .. subname .. "_wall"}, - {modname .. ":corner_" .. subname .. "_wall"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_inner", - recipe = { - {modname .. ":micro_" .. subname .. "_bottom", modname .. ":stair_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_inner", - recipe = { - {modname .. ":corner_" .. subname .. "_half"}, - {modname .. ":slab_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_inner_inverted", - recipe = { - {modname .. ":slab_" .. subname}, - {modname .. ":corner_" .. subname .. "_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_outer 1", - recipe = { - {modname .. ":micro_" .. subname .. "_bottom"}, - {modname .. ":slab_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_half 1", - recipe = { - {modname .. ":micro_" .. subname .. "_bottom"}, - {modname .. ":panel_" .. subname .. "_bottom"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_inner_inverted", - recipe = { - {modname .. ":corner_" .. subname .. "_inner"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_outer_inverted", - recipe = { - {modname .. ":corner_" .. subname .. "_outer"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_inner", - recipe = { - {modname .. ":corner_" .. subname .. "_inner_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_outer", - recipe = { - {modname .. ":corner_" .. subname .. "_outer_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_half 2", - recipe = { - {modname .. ":corner_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname, - recipe = { - {modname .. ":corner_" .. subname .. "_half"}, - {modname .. ":corner_" .. subname .. "_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname, - recipe = { - {modname .. ":corner_" .. subname .. "_half_inverted"}, - {modname .. ":corner_" .. subname .. "_half_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_half_inverted", - recipe = { - {modname .. ":corner_" .. subname .. "_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":corner_" .. subname .. "_half", - recipe = { - {modname .. ":corner_" .. subname .. "_half_inverted"}, - }, - }) - --- --- cooking --- - minetest.register_craft({ - type = "cooking", - output = modname .. ":corner_stone", - recipe = modname .. ":corner_cobble", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":corner_stone_half", - recipe = modname .. ":corner_cobble_half", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":corner_stone_half_inverted", - recipe = modname .. ":corner_cobble_half_inverted", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":corner_stone_inner", - recipe = modname .. ":corner_cobble_inner", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":corner_stone_outer", - recipe = modname .. ":corner_cobble_outer", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":corner_stone_inner_inverted", - recipe = modname .. ":corner_cobble_inner_inverted", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":corner_stone_outer_inverted", - recipe = modname .. ":corner_cobble_outer_inverted", - }) - -end diff --git a/mods/buildings/stairsplus/depends.txt b/mods/buildings/stairsplus/depends.txt deleted file mode 100644 index 4ad96d51..00000000 --- a/mods/buildings/stairsplus/depends.txt +++ /dev/null @@ -1 +0,0 @@ -default diff --git a/mods/buildings/stairsplus/init.lua b/mods/buildings/stairsplus/init.lua deleted file mode 100644 index 06c24bb7..00000000 --- a/mods/buildings/stairsplus/init.lua +++ /dev/null @@ -1,174 +0,0 @@ -print("[stairsplus] loaded.") - -stairsplus = {} - -dofile(minetest.get_modpath(minetest.get_current_modname()).."/stair.lua") -dofile(minetest.get_modpath(minetest.get_current_modname()).."/corner.lua") -dofile(minetest.get_modpath(minetest.get_current_modname()).."/slab.lua") -dofile(minetest.get_modpath(minetest.get_current_modname()).."/wall.lua") -dofile(minetest.get_modpath(minetest.get_current_modname()).."/panel.lua") -dofile(minetest.get_modpath(minetest.get_current_modname()).."/micro.lua") - --- Nodes will be called :{stair,corner,slab,wall,panel,micro}_ -function stairsplus.register_stair_and_slab_and_panel_and_micro(modname, subname, recipeitem, groups, images, desc_stair, desc_corner, desc_slab, desc_wall, desc_panel, desc_micro, drop, sounds, sunlight) - stairsplus.register_stair(modname, subname, recipeitem, groups, images, desc_stair, drop, sounds, sunlight) - stairsplus.register_corner(modname, subname, recipeitem, groups, images, desc_corner, drop, sounds, sunlight) - stairsplus.register_slab(modname, subname, recipeitem, groups, images, desc_slab, drop, sounds, sunlight) - stairsplus.register_wall(modname, subname, recipeitem, groups, images, desc_slab, drop, sounds, sunlight) - stairsplus.register_panel(modname, subname, recipeitem, groups, images, desc_panel, drop, sounds, sunlight) - stairsplus.register_micro(modname, subname, recipeitem, groups, images, desc_micro, drop, sounds, sunlight) -end - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "wood", "default:wood", - {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1}, - {"default_wood.png"}, - "Wooden Stairs", - "Wooden Corner", - "Wooden Slab", - "Wooden Wall", - "Wooden Panel", - "Wooden Microblock", - "wood", - default.node_sound_wood_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "stone", "default:stone", - {cracky=3, not_in_creative_inventory=1}, - {"default_stone.png"}, - "Stone Stairs", - "Stone Corner", - "Stone Slab", - "Stone Wall", - "Stone Panel", - "Stone Microblock", - "cobble", - default.node_sound_stone_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "cobble", "default:cobble", - {cracky=3, not_in_creative_inventory=1}, - {"default_cobble.png"}, - "Cobblestone Stairs", - "Cobblestone Corner", - "Cobblestone Slab", - "Cobblestone Wall", - "Cobblestone Panel", - "Cobblestone Microblock", - "cobble", - default.node_sound_stone_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "mossycobble", "default:mossycobble", - {cracky=3, not_in_creative_inventory=1}, - {"default_mossycobble.png"}, - "Mossy Cobblestone Stairs", - "Mossy Cobblestone Corner", - "Mossy Cobblestone Slab", - "Mossy Cobblestone Wall", - "Mossy Cobblestone Panel", - "Mossy Cobblestone Microblock", - "mossycobble", - default.node_sound_stone_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "brick", "default:brick", - {cracky=3, not_in_creative_inventory=1}, - {"default_brick.png"}, - "Brick Stairs", - "Brick Corner", - "Brick Slab", - "Brick Wall", - "Brick Panel", - "Brick Microblock", - "brick", - default.node_sound_stone_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "sandstone", "default:sandstone", - {crumbly=2,cracky=2, not_in_creative_inventory=1}, - {"default_sandstone.png"}, - "Sandstone Stairs", - "Sandstone Corner", - "Sandstone Slab", - "Sandstone Wall", - "Sandstone Panel", - "Sandstone Microblock", - "sandstone", - default.node_sound_stone_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "steelblock", "default:steelblock", - {snappy=1,bendy=2,cracky=1,melty=2,level=2, not_in_creative_inventory=1}, - {"default_steel_block.png"}, - "Steel Block Stairs", - "Steel Block Corner", - "Steel Block Slab", - "Steel Block Wall", - "Steel Block Panel", - "Steel Microblock", - "steelblock", - default.node_sound_stone_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "desert_stone", "default:desert_stone", - {cracky=3, not_in_creative_inventory=1}, - {"default_desert_stone.png"}, - "Desert Stone Stairs", - "Desert Stone Corner", - "Desert Stone Slab", - "Desert Stone Wall", - "Desert Stone Panel", - "Desert Stone Microblock", - "desert_stone", - default.node_sound_stone_defaults() - ) - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "glass", "default:glass", - {cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1}, - {"default_glass.png"}, - "Glass Stairs", - "Glass Corner", - "Glass Slab", - "Glass Wall", - "Glass Panel", - "Glass Microblock", - "glass", - default.node_sound_glass_defaults(), - true) - ---[[ -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "tree", "default:tree", - {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1}, - {"default_tree_top.png", "default_tree_top.png", "default_tree.png"}, - "Tree Stairs", - "Tree Corner", - "Tree Slab", - "Tree Wall", - "Tree Panel", - "Tree Microblock", - "tree") - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "jungletree", "default:jungletree", - {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1}, - {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"}, - "Jungle Tree Stairs", - "Jungle Tree Corner", - "Jungle Tree Slab", - "Jungle Tree Wall", - "Jungle Tree Panel", - "Jungle Tree Microblock", - "jungletree") ---]] - -stairsplus.register_stair_and_slab_and_panel_and_micro("stairsplus", "copperblock", "default:copperblock", - {cracky=1, not_in_creative_inventory=1}, - {"default_copper_block.png"}, - "Copper Stairs", - "Copper Corner", - "Copper Slab", - "Copper Wall", - "Copper Panel", - "Copper Microblock", - "copperblock", - default.node_sound_stone_defaults() - ) diff --git a/mods/buildings/stairsplus/micro.lua b/mods/buildings/stairsplus/micro.lua deleted file mode 100644 index 5ba8df9d..00000000 --- a/mods/buildings/stairsplus/micro.lua +++ /dev/null @@ -1,102 +0,0 @@ --- Node will be called micro_ - -function stairsplus.register_micro(modname, subname, recipeitem, groups, images, description, drop, sounds, sunlight) - --- --- nodes --- - - minetest.register_node(modname .. ":micro_" .. subname .. "_bottom", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":micro_" .. drop .. "_bottom", - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, 0, 0, 0, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":micro_" .. subname .. "_top", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":micro_" .. drop .. "_top", - node_box = { - type = "fixed", - fixed = {-0.5, 0, 0, 0, 0.5, 0.5}, - }, - sounds = sounds, - }) - --- --- crafting --- - - minetest.register_craft({ - output = modname .. ":micro_" .. subname .. "_bottom 8", - recipe = { - {"default:stick"}, - {recipeitem}, - }, - }) - - minetest.register_craft({ - output = modname .. ":micro_" .. subname .. "_top 1", - recipe = { - {modname .. ":micro_" .. subname .. "_bottom"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":micro_" .. subname .. "_bottom 1", - recipe = { - {modname .. ":micro_" .. subname .. "_top"}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":micro_" .. subname .. "_bottom", modname .. ":micro_" .. subname .. "_bottom", modname .. ":micro_" .. subname .. "_bottom"}, - {modname .. ":micro_" .. subname .. "_bottom", "", modname .. ":micro_" .. subname .. "_bottom"}, - {modname .. ":micro_" .. subname .. "_bottom", modname .. ":micro_" .. subname .. "_bottom", modname .. ":micro_" .. subname .. "_bottom"}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":micro_" .. subname .. "_top", modname .. ":micro_" .. subname .. "_top", modname .. ":micro_" .. subname .. "_top"}, - {modname .. ":micro_" .. subname .. "_top", "", modname .. ":micro_" .. subname .. "_top"}, - {modname .. ":micro_" .. subname .. "_top", modname .. ":micro_" .. subname .. "_top", modname .. ":micro_" .. subname .. "_top"}, - }, - }) - --- --- cooking --- - - minetest.register_craft({ - type = "cooking", - output = modname .. ":micro_stone_bottom", - recipe = modname .. ":micro_cobble_bottom", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":micro_stone_top", - recipe = modname .. ":micro_cobble_top", - }) -end diff --git a/mods/buildings/stairsplus/panel.lua b/mods/buildings/stairsplus/panel.lua deleted file mode 100644 index d1039482..00000000 --- a/mods/buildings/stairsplus/panel.lua +++ /dev/null @@ -1,153 +0,0 @@ --- Node will be called panel_ - -function stairsplus.register_panel(modname, subname, recipeitem, groups, images, description, drop, sounds, sunlight) - --- --- nodes --- - - minetest.register_node(modname .. ":panel_" .. subname .. "_bottom", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":panel_" .. drop .. "_bottom", - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, 0, 0.5, 0, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":panel_" .. subname .. "_top", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":panel_" .. drop .. "_top", - node_box = { - type = "fixed", - fixed = {-0.5, 0, 0, 0.5, 0.5, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":panel_" .. subname .. "_vertical", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":panel_" .. drop .. "_vertical", - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, 0, 0, 0.5, 0.5}, - }, - sounds = sounds, - }) - --- --- crafting --- - - minetest.register_craft({ - output = modname .. ":panel_" .. subname .. "_bottom 8", - recipe = { - {recipeitem, recipeitem}, - }, - }) - - minetest.register_craft({ - output = modname .. ":panel_" .. subname .. "_vertical 8", - recipe = { - {recipeitem}, - {recipeitem}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":panel_" .. subname .. "_bottom", modname .. ":panel_" .. subname .. "_bottom"}, - {modname .. ":panel_" .. subname .. "_bottom", modname .. ":panel_" .. subname .. "_bottom"}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":panel_" .. subname .. "_top", modname .. ":panel_" .. subname .. "_top"}, - {modname .. ":panel_" .. subname .. "_top", modname .. ":panel_" .. subname .. "_top"}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":panel_" .. subname .. "_vertical", modname .. ":panel_" .. subname .. "_vertical"}, - {modname .. ":panel_" .. subname .. "_vertical", modname .. ":panel_" .. subname .. "_vertical"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":panel_" .. subname .. "_top 1", - recipe = { - {modname .. ":panel_" .. subname .. "_bottom"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":panel_" .. subname .. "_bottom 1", - recipe = { - {modname .. ":panel_" .. subname .. "_top"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":panel_" .. subname .. "_vertical 2", - recipe = { - {modname .. ":panel_" .. subname .. "_bottom"}, - {modname .. ":panel_" .. subname .. "_bottom"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":panel_" .. subname .. "_bottom 2", - recipe = { - {modname .. ":panel_" .. subname .. "_vertical", modname .. ":panel_" .. subname .. "_vertical"}, - }, - }) - --- --- cooking --- - - minetest.register_craft({ - type = "cooking", - output = modname .. ":panel_stone_bottom", - recipe = modname .. ":panel_cobble_bottom", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":panel_stone_top", - recipe = modname .. ":panel_cobble_top", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":panel_stone_vertical", - recipe = modname .. ":panel_cobble_vertical", - }) -end diff --git a/mods/buildings/stairsplus/slab.lua b/mods/buildings/stairsplus/slab.lua deleted file mode 100644 index 1e229f97..00000000 --- a/mods/buildings/stairsplus/slab.lua +++ /dev/null @@ -1,304 +0,0 @@ --- Node will be called slab_ - -function stairsplus.register_slab(modname, subname, recipeitem, groups, images, description, drop, sounds, sunlight) - --- --- nodes --- - - minetest.register_node(modname .. ":slab_" .. subname, { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":slab_" .. drop, - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(":stairs:slab_" .. subname, { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = ":stairs:slab_" .. drop, - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":slab_" .. subname .. "_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":slab_" .. drop .. "_inverted", - node_box = { - type = "fixed", - fixed = {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":slab_" .. subname .. "_quarter", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":slab_" .. drop .. "_quarter", - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -0.25, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":slab_" .. subname .. "_quarter_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":slab_" .. drop .. "_quarter_inverted", - node_box = { - type = "fixed", - fixed = {-0.5, 0.25, -0.5, 0.5, 0.5, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":slab_" .. subname .. "_three_quarter", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":slab_" .. drop .. "_three_quarter", - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, 0.25, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":slab_" .. subname .. "_three_quarter_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":slab_" .. drop .. "_three_quarter_inverted", - node_box = { - type = "fixed", - fixed = {-0.5, -0.25, -0.5, 0.5, 0.5, 0.5}, - }, - sounds = sounds, - }) - --- --- crafting --- - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. " 6", - recipe = { - {recipeitem, recipeitem, recipeitem}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_inverted 1", - recipe = { - {modname .. ":slab_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. " 1", - recipe = { - {modname .. ":slab_" .. subname .. "_inverted"}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":slab_" .. subname}, - {modname .. ":slab_" .. subname}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":slab_" .. subname .. "_inverted"}, - {modname .. ":slab_" .. subname .. "_inverted"}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":slab_" .. subname}, - {modname .. ":slab_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_quarter 6", - recipe = { - {modname .. ":slab_" .. subname, modname .. ":slab_" .. subname, modname .. ":slab_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_quarter_inverted 6", - recipe = { - {modname .. ":slab_" .. subname .. "_inverted", modname .. ":slab_" .. subname .. "_inverted", modname .. ":slab_" .. subname .. "_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_quarter_inverted 1", - recipe = { - {modname .. ":slab_" .. subname .. "_quarter"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_quarter 1", - recipe = { - {modname .. ":slab_" .. subname .. "_quarter_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_three_quarter_inverted 1", - recipe = { - {modname .. ":slab_" .. subname .. "_three_quarter"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_three_quarter 1", - recipe = { - {modname .. ":slab_" .. subname .. "_three_quarter_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_three_quarter 1", - recipe = { - {modname .. ":slab_" .. subname .. "_quarter"}, - {modname .. ":slab_" .. subname .. "_quarter"}, - {modname .. ":slab_" .. subname .. "_quarter"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_three_quarter_inverted", - recipe = { - {modname .. ":slab_" .. subname .. "_quarter_inverted"}, - {modname .. ":slab_" .. subname .. "_quarter_inverted"}, - {modname .. ":slab_" .. subname .. "_quarter_inverted"}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":slab_" .. subname .. "_quarter"}, - {modname .. ":slab_" .. subname .. "_quarter"}, - {modname .. ":slab_" .. subname .. "_quarter"}, - {modname .. ":slab_" .. subname .. "_quarter"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. " 1", - recipe = { - {modname .. ":slab_" .. subname .. "_quarter"}, - {modname .. ":slab_" .. subname .. "_quarter"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_inverted 1", - recipe = { - {modname .. ":slab_" .. subname .. "_quarter_inverted"}, - {modname .. ":slab_" .. subname .. "_quarter_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":slab_" .. subname .. "_quarter 6", - recipe = { - {modname .. ":slab_" .. subname .. "_three_quarter"}, - {modname .. ":slab_" .. subname .. "_three_quarter"}, - }, - }) - --- --- cooking --- - - minetest.register_craft({ - type = "cooking", - output = ":stairs:slab_stone", - recipe = ":stairs:slab_cobble", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":slab_stone_inverted", - recipe = modname .. ":slab_cobble_inverted", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":slab_stone_quarter", - recipe = modname .. ":slab_cobble_quarter", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":slab_stone_quarter_inverted", - recipe = modname .. ":slab_cobble_quarter_inverted", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":slab_stone_three_quarter", - recipe = modname .. ":slab_cobble_three_quarter", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":slab_stone_three_quarter_inverted", - recipe = modname .. ":slab_cobble_three_quarter_inverted", - }) - -end diff --git a/mods/buildings/stairsplus/stair.lua b/mods/buildings/stairsplus/stair.lua deleted file mode 100644 index e45cd87c..00000000 --- a/mods/buildings/stairsplus/stair.lua +++ /dev/null @@ -1,334 +0,0 @@ --- Node will be called :stair_ - -function stairsplus.register_stair(modname, subname, recipeitem, groups, images, description, drop, sounds, sunlight) - --- --- nodes --- - - minetest.register_node(modname .. ":stair_" .. subname, { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":stair_" .. drop, - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - {-0.5, 0, 0, 0.5, 0.5, 0.5}, - }, - }, - sounds = sounds, - }) - - minetest.register_node(":stairs:stair_" .. subname, { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = ":stairs:stair_" .. drop, - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - {-0.5, 0, 0, 0.5, 0.5, 0.5}, - }, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":stair_" .. subname .. "_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":stair_" .. drop .. "_inverted", - node_box = { - type = "fixed", - fixed = { - {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, - {-0.5, -0.5, 0, 0.5, 0, 0.5}, - }, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":stair_" .. subname .. "_half", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":stair_" .. drop .. "_half", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0, 0, 0.5}, - {-0.5, 0, 0, 0, 0.5, 0.5}, - }, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":stair_" .. subname .. "_half_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":stair_" .. drop .. "_half_inverted", - node_box = { - type = "fixed", - fixed = { - {-0.5, 0, -0.5, 0, 0.5, 0.5}, - {-0.5, -0.5, 0, 0, 0, 0.5}, - }, - }, - sounds = default.node_sound_stone_defaults(), - }) - - minetest.register_node(modname .. ":stair_" .. subname .. "_right_half", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":stair_" .. drop .. "_right_half", - node_box = { - type = "fixed", - fixed = { - {0, -0.5, -0.5, 0.5, 0, 0.5}, - {0, 0, 0, 0.5, 0.5, 0.5}, - }, - }, - sounds = sounds, - }) - - minetest.register_node(modname .. ":stair_" .. subname .. "_right_half_inverted", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":stair_" .. drop .. "_right_half_inverted", - node_box = { - type = "fixed", - fixed = { - {0, 0, -0.5, 0.5, 0.5, 0.5}, - {0, -0.5, 0, 0.5, 0, 0.5}, - }, - }, - sounds = sounds, - }) - --- --- crafting --- - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. " 8", - recipe = { - {recipeitem, "", ""}, - {recipeitem, recipeitem, ""}, - {recipeitem, recipeitem, recipeitem}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. " 8", - recipe = { - {"", "", recipeitem}, - {"", recipeitem, recipeitem}, - {recipeitem, recipeitem, recipeitem}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_inverted", - recipe = { - {modname .. ":stair_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname, - recipe = { - {modname .. ":stair_" .. subname .. "_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_half 4 ", - recipe = { - {modname .. ":stair_" .. subname, modname .. ":stair_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_half_inverted 4 ", - recipe = { - {modname .. ":stair_" .. subname .. "_inverted", modname .. ":stair_" .. subname .. "_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_half_inverted 1", - recipe = { - {modname .. ":stair_" .. subname .. "_half 1"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_half_inverted 1", - recipe = { - {modname .. ":stair_" .. subname .. "_half 1"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_half 1", - recipe = { - {modname .. ":stair_" .. subname .. "_half_inverted 1"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname, - recipe = { - {modname .. ":stair_" .. subname .. "_half", modname .. ":stair_" .. subname .. "_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_right_half 2", - recipe = { - {modname .. ":stair_" .. subname .. "_half"}, - {modname .. ":stair_" .. subname .. "_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname, - recipe = { - {modname .. ":stair_" .. subname .. "_right_half", modname .. ":stair_" .. subname .. "_right_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_half 2", - recipe = { - {modname .. ":stair_" .. subname .. "_right_half"}, - {modname .. ":stair_" .. subname .. "_right_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_right_half_inverted 1", - recipe = { - {modname .. ":stair_" .. subname .. "_right_half"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_right_half 1", - recipe = { - {modname .. ":stair_" .. subname .. "_right_half_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_inverted", - recipe = { - {modname .. ":stair_" .. subname .. "_right_half_inverted", modname .. ":stair_" .. subname .. "_right_half_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_half_inverted 2", - recipe = { - {modname .. ":stair_" .. subname .. "_right_half_inverted"}, - {modname .. ":stair_" .. subname .. "_right_half_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_inverted", - recipe = { - {modname .. ":stair_" .. subname .. "_half_inverted", modname .. ":stair_" .. subname .. "_half_inverted"}, - }, - }) - - minetest.register_craft({ - output = modname .. ":stair_" .. subname .. "_right_half_inverted 2", - recipe = { - {modname .. ":stair_" .. subname .. "_half_inverted"}, - {modname .. ":stair_" .. subname .. "_half_inverted"}, - }, - }) - --- --- cooking --- - - minetest.register_craft({ - type = "cooking", - output = modname .. ":stair_stone", - recipe = modname .. ":stair_cobble", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":stair_stone_inverted", - recipe = modname .. ":stair_cobble_inverted", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":stair_stone_half", - recipe = modname .. ":stair_cobble_half", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":stair_stone_half_inverted", - recipe = modname .. ":stair_cobble_half_inverted", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":stair_stone_right_half", - recipe = modname .. ":stair_cobble_right_half", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":stair_stone_half_inverted", - recipe = modname .. ":stair_cobble_half_inverted", - }) - -end diff --git a/mods/buildings/stairsplus/wall.lua b/mods/buildings/stairsplus/wall.lua deleted file mode 100644 index a9080daf..00000000 --- a/mods/buildings/stairsplus/wall.lua +++ /dev/null @@ -1,123 +0,0 @@ --- Node will be called wall_ - -function stairsplus.register_wall(modname, subname, recipeitem, groups, images, description, drop, sounds, sunlight) - --- --- nodes --- - - minetest.register_node(modname .. ":wall_" .. subname, { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":wall_" .. drop, - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, 0, 0.5, 0.5, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":slab_" .. subname .. "_wall", modname .. ":wall_" .. subname) - - minetest.register_node(modname .. ":wall_" .. subname .. "_quarter", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":wall_" .. drop .. "_quarter", - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, 0.25, 0.5, 0.5, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":slab_" .. subname .. "_quarter_wall", modname .. ":wall_" .. subname .. "_quarter") - - minetest.register_node(modname .. ":wall_" .. subname .. "_three_quarter", { - description = description, - drawtype = "nodebox", - tiles = images, - paramtype = "light", - paramtype2 = "facedir", - is_ground_content = true, - sunlight_propagates = sunlight, - groups = groups, - drop = modname .. ":wall_" .. drop .. "_three_quarter", - node_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.25, 0.5, 0.5, 0.5}, - }, - sounds = sounds, - }) - - minetest.register_alias(modname .. ":slab_" .. subname .. "_three_quarter_wall", modname .. ":wall_" .. subname .. "_three_quarter") - --- --- crafting --- - - minetest.register_craft({ - output = modname .. ":wall_" .. subname .. " 6", - recipe = { - {recipeitem}, - {recipeitem}, - {recipeitem}, - }, - }) - - minetest.register_craft({ - output = recipeitem, - recipe = { - {modname .. ":wall_" .. subname, modname .. ":wall_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":wall_" .. subname .. "_quarter 6", - recipe = { - {modname .. ":wall_" .. subname}, - {modname .. ":wall_" .. subname}, - {modname .. ":wall_" .. subname}, - }, - }) - - minetest.register_craft({ - output = modname .. ":wall_" .. subname .. "_three_quarter 1", - recipe = { - {modname .. ":wall_" .. subname .. "_quarter", modname .. ":wall_" .. subname .. "_quarter", modname .. ":wall_" .. subname .. "_quarter"}, - }, - }) - --- --- cooking --- - - minetest.register_craft({ - type = "cooking", - output = modname .. ":wall_stone", - recipe = modname .. ":wall_cobble", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":wall_stone_quarter", - recipe = modname .. ":wall_cobble_quarter", - }) - - minetest.register_craft({ - type = "cooking", - output = modname .. ":wall_stone_three_quarter", - recipe = modname .. ":wall_cobble_three_quarter", - }) -end