diff --git a/nodes_historic.lua b/nodes_historic.lua index 2058b8f..5513484 100644 --- a/nodes_historic.lua +++ b/nodes_historic.lua @@ -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" } } })