forked from nalc/homedecor_modpack
Add japanese walls and tatami mat
(they're supposed to be doors, but they don't open/close yet)
This commit is contained in:
parent
e47b86f789
commit
1a9a9939ee
|
@ -2250,3 +2250,51 @@ minetest.register_craft( {
|
|||
{"group:wood", "building_blocks:terrycloth_towel", "group:wood"}
|
||||
},
|
||||
})
|
||||
|
||||
-- japanese walls and mat
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:japanese_wall_top",
|
||||
recipe = {
|
||||
{"group:stick", "default:paper"},
|
||||
{"default:paper", "group:stick"},
|
||||
{"group:stick", "default:paper"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:japanese_wall_top",
|
||||
recipe = {
|
||||
{"default:paper", "group:stick"},
|
||||
{"group:stick", "default:paper"},
|
||||
{"default:paper", "group:stick"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:japanese_wall_middle",
|
||||
recipe = {
|
||||
{"homedecor:japanese_wall_top"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:japanese_wall_bottom",
|
||||
recipe = {
|
||||
{"homedecor:japanese_wall_middle"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:japanese_wall_top",
|
||||
recipe = {
|
||||
{"homedecor:japanese_wall_bottom"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:tatami_mat",
|
||||
recipe = {
|
||||
{"farming:wheat", "farming:wheat", "farming:wheat"}
|
||||
},
|
||||
})
|
||||
|
|
|
@ -565,3 +565,95 @@ function homedecor.flip_gate(pos, node, player, gate, oc)
|
|||
end
|
||||
end
|
||||
|
||||
-- Japanese "paper" door/wall
|
||||
|
||||
minetest.register_node("homedecor:japanese_wall_top", {
|
||||
tiles = {
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_top.png",
|
||||
"homedecor_japanese_wall_top.png"
|
||||
},
|
||||
description = "Japanese wall (top)",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, 0, 0.5, 0.5, 0.0625}, -- NodeBox1
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("homedecor:japanese_wall_middle", {
|
||||
tiles = {
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_middle.png",
|
||||
"homedecor_japanese_wall_middle.png"
|
||||
},
|
||||
description = "Japanese wall",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, 0, 0.5, 0.5, 0.0625}, -- NodeBox1
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("homedecor:japanese_wall_bottom", {
|
||||
tiles = {
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_edges.png",
|
||||
"homedecor_japanese_wall_bottom.png",
|
||||
"homedecor_japanese_wall_bottom.png"
|
||||
},
|
||||
description = "Japanese wall (bottom)",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = true,
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, 0, 0.5, 0.5, 0.0625}, -- NodeBox1
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("homedecor:tatami_mat", {
|
||||
tiles = {
|
||||
"homedecor_tatami.png",
|
||||
"homedecor_tatami.png",
|
||||
"homedecor_tatami.png",
|
||||
"homedecor_tatami.png",
|
||||
"homedecor_tatami.png",
|
||||
"homedecor_tatami.png"
|
||||
},
|
||||
description = "Japanese tatami",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
BIN
homedecor/textures/homedecor_japanese_wall_bottom.png
Normal file
BIN
homedecor/textures/homedecor_japanese_wall_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
homedecor/textures/homedecor_japanese_wall_edges.png
Normal file
BIN
homedecor/textures/homedecor_japanese_wall_edges.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 515 B |
BIN
homedecor/textures/homedecor_japanese_wall_middle.png
Normal file
BIN
homedecor/textures/homedecor_japanese_wall_middle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
homedecor/textures/homedecor_japanese_wall_top.png
Normal file
BIN
homedecor/textures/homedecor_japanese_wall_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
homedecor/textures/homedecor_tatami.png
Normal file
BIN
homedecor/textures/homedecor_tatami.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
Loading…
Reference in New Issue
Block a user