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 -- 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", { minetest.register_node("cottages:glass_pane", {
-- description = S("simple glass pane (centered)"), description = S("simple glass pane (centered)"),
-- drawtype = "nodebox", drawtype = "nodebox",
-- top, bottom, side1, side2, inner, outer -- top, bottom, side1, side2, inner, outer
-- tiles = {"cottages_glass_pane.png"}, tiles = {"cottages_glass_pane.png"},
-- paramtype = "light", paramtype = "light",
-- paramtype2 = "facedir", paramtype2 = "facedir",
-- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
-- node_box = { node_box = {
-- type = "fixed", type = "fixed",
-- fixed = { fixed = {
-- { -0.5, -0.5, -0.05, 0.5, 0.5, 0.05}, { -0.5, -0.5, -0.05, 0.5, 0.5, 0.05},
-- }, },
-- }, },
-- selection_box = { selection_box = {
-- type = "fixed", type = "fixed",
-- fixed = { fixed = {
-- { -0.5, -0.5, -0.05, 0.5, 0.5, 0.05}, { -0.5, -0.5, -0.05, 0.5, 0.5, 0.05},
-- }, },
-- }, },
-- is_ground_content = false, is_ground_content = false,
--}) })
--minetest.register_node("cottages:glass_pane_side", { minetest.register_node("cottages:glass_pane_side", {
-- description = S("simple glass pane"), description = S("simple glass pane"),
-- drawtype = "nodebox", drawtype = "nodebox",
-- top, bottom, side1, side2, inner, outer -- top, bottom, side1, side2, inner, outer
-- tiles = {"cottages_glass_pane.png"}, tiles = {"cottages_glass_pane.png"},
-- paramtype = "light", paramtype = "light",
-- paramtype2 = "facedir", paramtype2 = "facedir",
-- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
-- node_box = { node_box = {
-- type = "fixed", type = "fixed",
-- fixed = { fixed = {
-- { -0.5, -0.5, -0.40, 0.5, 0.5, -0.50}, { -0.5, -0.5, -0.40, 0.5, 0.5, -0.50},
-- }, },
-- }, },
-- selection_box = { selection_box = {
-- type = "fixed", type = "fixed",
-- fixed = { fixed = {
-- { -0.5, -0.5, -0.40, 0.5, 0.5, -0.50}, { -0.5, -0.5, -0.40, 0.5, 0.5, -0.50},
-- }, },
-- }, },
-- is_ground_content = false, is_ground_content = false,
--}) })
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
@ -245,11 +245,11 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "cottages:glass_pane 4", output = "cottages:glass_pane 12",
recipe = { recipe = {
{cottages.craftitem_stick, cottages.craftitem_stick, cottages.craftitem_stick }, {"default:glass","default:glass","default:glass" },
{cottages.craftitem_stick, cottages.craftitem_glass, cottages.craftitem_stick }, {"default:glass","default:glass","default:glass" },
{cottages.craftitem_stick, cottages.craftitem_stick, cottages.craftitem_stick } {"default:glass","default:glass","default:glass" }
} }
}) })