re-add glass panes and change the recipe

master
tchncs 2016-01-14 13:29:39 +01:00
parent a3b9d01cf8
commit 9d304979fd
1 changed files with 46 additions and 46 deletions

View File

@ -95,52 +95,52 @@ minetest.register_node("cottages:straw_ground", {
-- note: these houses look good with a single fence pile as window! the glass pane is the version for 'richer' inhabitants
--minetest.register_node("cottages:glass_pane", {
-- description = S("simple glass pane (centered)"),
-- drawtype = "nodebox",
minetest.register_node("cottages:glass_pane", {
description = S("simple glass pane (centered)"),
drawtype = "nodebox",
-- top, bottom, side1, side2, inner, outer
-- tiles = {"cottages_glass_pane.png"},
-- paramtype = "light",
-- paramtype2 = "facedir",
-- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
-- node_box = {
-- type = "fixed",
-- fixed = {
-- { -0.5, -0.5, -0.05, 0.5, 0.5, 0.05},
-- },
-- },
-- selection_box = {
-- type = "fixed",
-- fixed = {
-- { -0.5, -0.5, -0.05, 0.5, 0.5, 0.05},
-- },
-- },
-- is_ground_content = false,
--})
tiles = {"cottages_glass_pane.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
node_box = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.05, 0.5, 0.5, 0.05},
},
},
selection_box = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.05, 0.5, 0.5, 0.05},
},
},
is_ground_content = false,
})
--minetest.register_node("cottages:glass_pane_side", {
-- description = S("simple glass pane"),
-- drawtype = "nodebox",
minetest.register_node("cottages:glass_pane_side", {
description = S("simple glass pane"),
drawtype = "nodebox",
-- top, bottom, side1, side2, inner, outer
-- tiles = {"cottages_glass_pane.png"},
-- paramtype = "light",
-- paramtype2 = "facedir",
-- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
-- node_box = {
-- type = "fixed",
-- fixed = {
-- { -0.5, -0.5, -0.40, 0.5, 0.5, -0.50},
-- },
-- },
-- selection_box = {
-- type = "fixed",
-- fixed = {
-- { -0.5, -0.5, -0.40, 0.5, 0.5, -0.50},
-- },
-- },
-- is_ground_content = false,
--})
tiles = {"cottages_glass_pane.png"},
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
node_box = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.40, 0.5, 0.5, -0.50},
},
},
selection_box = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.40, 0.5, 0.5, -0.50},
},
},
is_ground_content = false,
})
---------------------------------------------------------------------------------------
@ -245,11 +245,11 @@ minetest.register_craft({
})
minetest.register_craft({
output = "cottages:glass_pane 4",
output = "cottages:glass_pane 12",
recipe = {
{cottages.craftitem_stick, cottages.craftitem_stick, cottages.craftitem_stick },
{cottages.craftitem_stick, cottages.craftitem_glass, cottages.craftitem_stick },
{cottages.craftitem_stick, cottages.craftitem_stick, cottages.craftitem_stick }
{"default:glass","default:glass","default:glass" },
{"default:glass","default:glass","default:glass" },
{"default:glass","default:glass","default:glass" }
}
})