summaryrefslogtreecommitdiff
path: root/building_blocks/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'building_blocks/init.lua')
-rw-r--r--building_blocks/init.lua30
1 files changed, 18 insertions, 12 deletions
diff --git a/building_blocks/init.lua b/building_blocks/init.lua
index 3c83cb4..a625696 100644
--- a/building_blocks/init.lua
+++ b/building_blocks/init.lua
@@ -234,16 +234,22 @@ minetest.register_node("building_blocks:Tarmac_spread", {
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_node("building_blocks:BWtile", {
- drawtype = "raillike",
+ drawtype = "nodebox",
description = S("Chess board tiling"),
- tiles = {"building_blocks_BWtile.png"},
+ tiles = {
+ "building_blocks_BWtile.png",
+ "building_blocks_BWtile.png^[transformR90",
+ "building_blocks_BWtile.png^[transformR90",
+ "building_blocks_BWtile.png^[transformR90",
+ "building_blocks_BWtile.png",
+ "building_blocks_BWtile.png"
+ },
inventory_image = "building_blocks_bwtile_inv.png",
paramtype = "light",
walkable = false,
- selection_box = {
+ node_box = {
type = "fixed",
- -- but how to specify the dimensions for curved and sideways rails?
- fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
+ fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
sunlight_propagates = true,
is_ground_content = true,
@@ -302,7 +308,7 @@ if minetest.get_modpath("moreblocks") then
"marble",
"building_blocks:Marble",
{
- description = "Marble",
+ description = S("Marble"),
tiles = {"building_blocks_marble.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
@@ -313,7 +319,7 @@ if minetest.get_modpath("moreblocks") then
"hardwood",
"building_blocks:hardwood",
{
- description = "Hardwood",
+ description = S("Hardwood"),
tiles = {"building_blocks_hardwood.png"},
groups = {choppy=1,flammable=1},
sounds = default.node_sound_wood_defaults(),
@@ -324,7 +330,7 @@ if minetest.get_modpath("moreblocks") then
"fakegrass",
"building_blocks:fakegrass",
{
- description = "Grass",
+ description = S("Grass"),
tiles = {"default_grass.png"},
groups = {crumbly=3},
sounds = default.node_sound_dirt_defaults({
@@ -348,7 +354,7 @@ if minetest.get_modpath("moreblocks") then
"tar",
"building_blocks:Tar",
{
- description = "Tar",
+ description = S("Tar"),
tiles = {"building_blocks_tar.png"},
groups = {crumbly=1},
sounds = default.node_sound_stone_defaults(),
@@ -360,7 +366,7 @@ if minetest.get_modpath("moreblocks") then
"grate",
"building_blocks:grate",
{
- description = "Grate",
+ description = S("Grate"),
tiles = {"building_blocks_grate.png"},
groups = {cracky=1},
sounds = default.node_sound_stone_defaults(),
@@ -371,7 +377,7 @@ if minetest.get_modpath("moreblocks") then
"Adobe",
"building_blocks:Adobe",
{
- description = "Adobe",
+ description = S("Adobe"),
tiles = {"building_blocks_Adobe.png"},
groups = {crumbly=3},
sounds = default.node_sound_stone_defaults(),
@@ -382,7 +388,7 @@ if minetest.get_modpath("moreblocks") then
"Roofing",
"building_blocks:Roofing",
{
- description = "Roofing",
+ description = S("Roofing"),
tiles = {"building_blocks_Roofing.png"},
groups = {snappy=3},
sounds = default.node_sound_stone_defaults(),