mirror of
https://github.com/Sokomine/cottages.git
synced 2025-07-09 19:30:21 +02:00
stylua fixes
This commit is contained in:
@ -4,8 +4,8 @@ if ci.fence then
|
||||
minetest.register_craft({
|
||||
output = "cottages:fence_small 3",
|
||||
recipe = {
|
||||
{ci.fence, ci.fence},
|
||||
}
|
||||
{ ci.fence, ci.fence },
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
@ -14,35 +14,35 @@ if minetest.get_modpath("xfences") then
|
||||
minetest.register_craft({
|
||||
output = "cottages:fence_small 3",
|
||||
recipe = {
|
||||
{"xfences:fence", "xfences:fence"},
|
||||
}
|
||||
{ "xfences:fence", "xfences:fence" },
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cottages:fence_corner",
|
||||
recipe = {
|
||||
{"cottages:fence_small", "cottages:fence_small"},
|
||||
}
|
||||
{ "cottages:fence_small", "cottages:fence_small" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cottages:fence_small 2",
|
||||
recipe = {
|
||||
{"cottages:fence_corner"},
|
||||
}
|
||||
{ "cottages:fence_corner" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cottages:fence_end",
|
||||
recipe = {
|
||||
{"cottages:fence_small", "cottages:fence_small", "cottages:fence_small"},
|
||||
}
|
||||
{ "cottages:fence_small", "cottages:fence_small", "cottages:fence_small" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "cottages:fence_small 3",
|
||||
recipe = {
|
||||
{"cottages:fence_end"},
|
||||
}
|
||||
{ "cottages:fence_end" },
|
||||
},
|
||||
})
|
||||
|
@ -6,25 +6,25 @@ minetest.register_node("cottages:fence_small", {
|
||||
description = S("small fence"),
|
||||
drawtype = "nodebox",
|
||||
-- top, bottom, side1, side2, inner, outer
|
||||
tiles = {"cottages_minimal_wood.png"},
|
||||
tiles = { "cottages_minimal_wood.png" },
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 2},
|
||||
groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 2 },
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.45, -0.35, 0.46, 0.45, -0.20, 0.50},
|
||||
{-0.45, 0.00, 0.46, 0.45, 0.15, 0.50},
|
||||
{-0.45, 0.35, 0.46, 0.45, 0.50, 0.50},
|
||||
{ -0.45, -0.35, 0.46, 0.45, -0.20, 0.50 },
|
||||
{ -0.45, 0.00, 0.46, 0.45, 0.15, 0.50 },
|
||||
{ -0.45, 0.35, 0.46, 0.45, 0.50, 0.50 },
|
||||
|
||||
{-0.50, -0.50, 0.46, -0.45, 0.50, 0.50},
|
||||
{0.45, -0.50, 0.46, 0.50, 0.50, 0.50},
|
||||
{ -0.50, -0.50, 0.46, -0.45, 0.50, 0.50 },
|
||||
{ 0.45, -0.50, 0.46, 0.50, 0.50, 0.50 },
|
||||
},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.50, -0.50, 0.4, 0.50, 0.50, 0.5},
|
||||
{ -0.50, -0.50, 0.4, 0.50, 0.50, 0.5 },
|
||||
},
|
||||
},
|
||||
is_ground_content = false,
|
||||
@ -34,32 +34,32 @@ minetest.register_node("cottages:fence_corner", {
|
||||
description = S("small fence corner"),
|
||||
drawtype = "nodebox",
|
||||
-- top, bottom, side1, side2, inner, outer
|
||||
tiles = {"cottages_minimal_wood.png"},
|
||||
tiles = { "cottages_minimal_wood.png" },
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 2},
|
||||
groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 2 },
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.45, -0.35, 0.46, 0.45, -0.20, 0.50},
|
||||
{-0.45, 0.00, 0.46, 0.45, 0.15, 0.50},
|
||||
{-0.45, 0.35, 0.46, 0.45, 0.50, 0.50},
|
||||
{ -0.45, -0.35, 0.46, 0.45, -0.20, 0.50 },
|
||||
{ -0.45, 0.00, 0.46, 0.45, 0.15, 0.50 },
|
||||
{ -0.45, 0.35, 0.46, 0.45, 0.50, 0.50 },
|
||||
|
||||
{-0.50, -0.50, 0.46, -0.45, 0.50, 0.50},
|
||||
{0.45, -0.50, 0.46, 0.50, 0.50, 0.50},
|
||||
{ -0.50, -0.50, 0.46, -0.45, 0.50, 0.50 },
|
||||
{ 0.45, -0.50, 0.46, 0.50, 0.50, 0.50 },
|
||||
|
||||
{0.46, -0.35, -0.45, 0.50, -0.20, 0.45},
|
||||
{0.46, 0.00, -0.45, 0.50, 0.15, 0.45},
|
||||
{0.46, 0.35, -0.45, 0.50, 0.50, 0.45},
|
||||
{ 0.46, -0.35, -0.45, 0.50, -0.20, 0.45 },
|
||||
{ 0.46, 0.00, -0.45, 0.50, 0.15, 0.45 },
|
||||
{ 0.46, 0.35, -0.45, 0.50, 0.50, 0.45 },
|
||||
|
||||
{0.46, -0.50, -0.50, 0.50, 0.50, -0.45},
|
||||
{0.46, -0.50, 0.45, 0.50, 0.50, 0.50},
|
||||
{ 0.46, -0.50, -0.50, 0.50, 0.50, -0.45 },
|
||||
{ 0.46, -0.50, 0.45, 0.50, 0.50, 0.50 },
|
||||
},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.50, -0.50, -0.5, 0.50, 0.50, 0.5},
|
||||
{ -0.50, -0.50, -0.5, 0.50, 0.50, 0.5 },
|
||||
},
|
||||
},
|
||||
is_ground_content = false,
|
||||
@ -69,39 +69,39 @@ minetest.register_node("cottages:fence_end", {
|
||||
description = S("small fence end"),
|
||||
drawtype = "nodebox",
|
||||
-- top, bottom, side1, side2, inner, outer
|
||||
tiles = {"cottages_minimal_wood.png"},
|
||||
tiles = { "cottages_minimal_wood.png" },
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 2},
|
||||
groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 2 },
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.45, -0.35, 0.46, 0.45, -0.20, 0.50},
|
||||
{-0.45, 0.00, 0.46, 0.45, 0.15, 0.50},
|
||||
{-0.45, 0.35, 0.46, 0.45, 0.50, 0.50},
|
||||
{ -0.45, -0.35, 0.46, 0.45, -0.20, 0.50 },
|
||||
{ -0.45, 0.00, 0.46, 0.45, 0.15, 0.50 },
|
||||
{ -0.45, 0.35, 0.46, 0.45, 0.50, 0.50 },
|
||||
|
||||
{-0.50, -0.50, 0.46, -0.45, 0.50, 0.50},
|
||||
{0.45, -0.50, 0.46, 0.50, 0.50, 0.50},
|
||||
{ -0.50, -0.50, 0.46, -0.45, 0.50, 0.50 },
|
||||
{ 0.45, -0.50, 0.46, 0.50, 0.50, 0.50 },
|
||||
|
||||
{0.46, -0.35, -0.45, 0.50, -0.20, 0.45},
|
||||
{0.46, 0.00, -0.45, 0.50, 0.15, 0.45},
|
||||
{0.46, 0.35, -0.45, 0.50, 0.50, 0.45},
|
||||
{ 0.46, -0.35, -0.45, 0.50, -0.20, 0.45 },
|
||||
{ 0.46, 0.00, -0.45, 0.50, 0.15, 0.45 },
|
||||
{ 0.46, 0.35, -0.45, 0.50, 0.50, 0.45 },
|
||||
|
||||
{0.46, -0.50, -0.50, 0.50, 0.50, -0.45},
|
||||
{0.46, -0.50, 0.45, 0.50, 0.50, 0.50},
|
||||
{ 0.46, -0.50, -0.50, 0.50, 0.50, -0.45 },
|
||||
{ 0.46, -0.50, 0.45, 0.50, 0.50, 0.50 },
|
||||
|
||||
{-0.50, -0.35, -0.45, -0.46, -0.20, 0.45},
|
||||
{-0.50, 0.00, -0.45, -0.46, 0.15, 0.45},
|
||||
{-0.50, 0.35, -0.45, -0.46, 0.50, 0.45},
|
||||
{ -0.50, -0.35, -0.45, -0.46, -0.20, 0.45 },
|
||||
{ -0.50, 0.00, -0.45, -0.46, 0.15, 0.45 },
|
||||
{ -0.50, 0.35, -0.45, -0.46, 0.50, 0.45 },
|
||||
|
||||
{-0.50, -0.50, -0.50, -0.46, 0.50, -0.45},
|
||||
{-0.50, -0.50, 0.45, -0.46, 0.50, 0.50},
|
||||
{ -0.50, -0.50, -0.50, -0.46, 0.50, -0.45 },
|
||||
{ -0.50, -0.50, 0.45, -0.46, 0.50, 0.50 },
|
||||
},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.50, -0.50, -0.5, 0.50, 0.50, 0.5},
|
||||
{ -0.50, -0.50, -0.5, 0.50, 0.50, 0.5 },
|
||||
},
|
||||
},
|
||||
is_ground_content = false,
|
||||
|
Reference in New Issue
Block a user