mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
New cardboard boxes
This commit is contained in:
parent
5fb4bff628
commit
692a35679a
@ -2133,6 +2133,15 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "homedecor:cardboard_box_big 2",
|
||||||
|
recipe = {
|
||||||
|
{ "default:paper", "", "default:paper" },
|
||||||
|
{ "default:paper", "", "default:paper" },
|
||||||
|
{ "default:paper", "default:paper", "default:paper" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:desk",
|
output = "homedecor:desk",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
@ -290,38 +290,47 @@ minetest.register_node("homedecor:fishtank_lighted", {
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
homedecor.register("cardboard_box", {
|
homedecor.register("cardboard_box_big", {
|
||||||
drawtype = "nodebox",
|
drawtype = "normal",
|
||||||
description = S("Cardboard box"),
|
description = S("Cardboard box (big)"),
|
||||||
tiles = {
|
tiles = {
|
||||||
'homedecor_cardboard_box_tb.png',
|
'homedecor_cardbox_big_tb.png',
|
||||||
'homedecor_cardboard_box_tb.png',
|
'homedecor_cardbox_big_tb.png',
|
||||||
'homedecor_cardboard_box_sides.png'
|
'homedecor_cardbox_big_sides.png',
|
||||||
},
|
},
|
||||||
sunlight_propagates = false,
|
sunlight_propagates = false,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
walkable = true,
|
|
||||||
selection_box = homedecor.nodebox.slab_y(0.5),
|
|
||||||
node_box = {
|
|
||||||
type = "fixed",
|
|
||||||
fixed = {
|
|
||||||
{0.1875, -0.5, -0.25, 0.25, 0, 0.25},
|
|
||||||
{-0.25, -0.5, -0.25, -0.1875, 0, 0.25},
|
|
||||||
{-0.25, -0.5, 0.1875, 0.25, 0, 0.25},
|
|
||||||
{-0.25, -0.5, -0.25, 0.25, 0, -0.1875},
|
|
||||||
{-0.25, -0.5, -0.25, 0.25, -0.4375, 0.25},
|
|
||||||
{0.1875, -0.0625, -0.25, 0.5, 0, 0.25},
|
|
||||||
{-0.5, -0.0625, -0.25, -0.1875, 0, 0.25},
|
|
||||||
{-0.25, -0.0625, 0.1875, 0.25, 0, 0.5},
|
|
||||||
{-0.25, -0.0625, -0.5, 0.25, 0, -0.1875},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
infotext=S("Cardboard box"),
|
infotext=S("Cardboard box"),
|
||||||
inventory = {
|
inventory = {
|
||||||
size=4,
|
size=24,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
homedecor.register("cardboard_box", {
|
||||||
|
drawtype = "nodebox",
|
||||||
|
description = S("Cardboard box"),
|
||||||
|
tiles = {
|
||||||
|
'homedecor_cardbox_tb.png',
|
||||||
|
'homedecor_cardbox_tb.png',
|
||||||
|
'homedecor_cardbox_sides.png',
|
||||||
|
},
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-0.3125, -0.5, -0.3125, 0.3125, 0, 0.3125},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
sunlight_propagates = false,
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
groups = { snappy = 3 },
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
infotext=S("Cardboard box"),
|
||||||
|
inventory = {
|
||||||
|
size=8,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
BIN
homedecor/textures/homedecor_cardbox_big_sides.png
Normal file
BIN
homedecor/textures/homedecor_cardbox_big_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 204 B |
BIN
homedecor/textures/homedecor_cardbox_big_tb.png
Normal file
BIN
homedecor/textures/homedecor_cardbox_big_tb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 208 B |
BIN
homedecor/textures/homedecor_cardbox_sides.png
Normal file
BIN
homedecor/textures/homedecor_cardbox_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 165 B |
BIN
homedecor/textures/homedecor_cardbox_tb.png
Normal file
BIN
homedecor/textures/homedecor_cardbox_tb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 170 B |
Loading…
Reference in New Issue
Block a user