1
0
鏡像自 https://github.com/mt-mods/homedecor_modpack.git 已同步 2025-11-01 03:55:29 +01:00

add hd furniture medieval

此提交包含在:
unknown
2022-04-10 23:49:07 -04:00
父節點 72f1ba10e4
當前提交 8edce9a047
共有 3 個檔案被更改,包括 30 行新增44 行删除

查看文件

@@ -1,20 +0,0 @@
unused_args = false
allow_defined_top = true
max_comment_line_length = 999
read_globals = {
"DIR_DELIM",
"minetest", "core",
"unpack",
"dump",
table = { fields = { "copy", "getn" } },
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
"default",
"homedecor",
}
globals = {
}

查看文件

@@ -17,8 +17,19 @@ homedecor.register("bars", {
type = "fixed", type = "fixed",
fixed = { -0.5, -0.5, -0.1, 0.5, 0.5, 0.1 }, fixed = { -0.5, -0.5, -0.1, 0.5, 0.5, 0.1 },
}, },
groups = {cracky=3}, groups = {cracky=3, dig_stone=1},
sounds = default.node_sound_stone_defaults(), _sound_def = {
key = "node_sound_stone_defaults",
},
crafts = {
{
output = "homedecor:bars 6",
recipe = {
{ "steel_ingot","steel_ingot","steel_ingot" },
{ "homedecor:pole_wrought_iron","homedecor:pole_wrought_iron","homedecor:pole_wrought_iron" },
},
}
}
}) })
--L Binding Bars --L Binding Bars
@@ -37,8 +48,19 @@ homedecor.register("L_binding_bars", {
{ -0.05, 0.45, -0.50, 0.05, 0.50, 0.00 }, { -0.05, 0.45, -0.50, 0.05, 0.50, 0.00 },
}, },
}, },
groups = {cracky=3}, groups = {cracky=3, dig_stone=1},
sounds = default.node_sound_stone_defaults(), _sound_def = {
key = "node_sound_stone_defaults",
},
crafts = {
{
output = "homedecor:L_binding_bars 3",
recipe = {
{ "homedecor:bars","" },
{ "homedecor:bars","homedecor:bars" },
},
}
}
}) })
local chain_cbox = { local chain_cbox = {
@@ -53,25 +75,9 @@ homedecor.register("chains", {
inventory_image="forniture_chains_inv.png", inventory_image="forniture_chains_inv.png",
selection_box = chain_cbox, selection_box = chain_cbox,
walkable = false, walkable = false,
groups = {cracky=3}, groups = {cracky=3, dig_stone=1},
sounds = default.node_sound_stone_defaults(), _sound_def = {
}) key = "node_sound_stone_defaults",
-- Crafts
minetest.register_craft({
output = "homedecor:bars 6",
recipe = {
{ "default:steel_ingot","default:steel_ingot","default:steel_ingot" },
{ "homedecor:pole_wrought_iron","homedecor:pole_wrought_iron","homedecor:pole_wrought_iron" },
},
})
minetest.register_craft({
output = "homedecor:L_binding_bars 3",
recipe = {
{ "homedecor:bars","" },
{ "homedecor:bars","homedecor:bars" },
}, },
}) })

查看文件

@@ -1,3 +1,3 @@
name = homedecor_furniture_medieval name = homedecor_furniture_medieval
description = Homedecor mod: furniture medieval description = Homedecor mod: furniture medieval
depends = homedecor_common, default, creative depends = homedecor_common