diff --git a/init.lua b/init.lua index 315fc77..76d5d3d 100644 --- a/init.lua +++ b/init.lua @@ -58,7 +58,7 @@ stairs.register_stair_and_slab( minetest.register_node("jonez:marble_brick", { description = S("Ancient Marble Brick"), tiles = {"jonez_marble_brick.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3}, sounds = default.node_sound_stone_defaults(), on_punch = function(pos, node, player, pointed_thing) @@ -69,7 +69,7 @@ minetest.register_node("jonez:marble_brick", { minetest.register_node("jonez:marble_brick_polished", { description = S("Ancient Marble Polished Brick"), tiles = {"jonez_marble_brick_polished.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3}, sounds = default.node_sound_stone_defaults(), }) @@ -129,7 +129,8 @@ local styles = { "romanic", "nabataean", "artdeco", - "minoan" + "minoan", + "attic", } --The chisel to carve the marble @@ -176,7 +177,7 @@ for i = 1, #styles do minetest.register_node("jonez:"..styles[i].."_architrave", { description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Architrave"), tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_architrave.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3}, sounds = default.node_sound_stone_defaults(), on_construct = function(pos) @@ -190,7 +191,7 @@ for i = 1, #styles do minetest.register_node("jonez:"..styles[i].."_capital", { description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Capital"), tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_capital.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3}, sounds = default.node_sound_stone_defaults(), on_construct = function(pos) @@ -204,7 +205,7 @@ for i = 1, #styles do minetest.register_node("jonez:"..styles[i].."_shaft", { description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Shaft"), tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_shaft.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3}, sounds = default.node_sound_stone_defaults(), on_construct = function(pos) @@ -218,7 +219,7 @@ for i = 1, #styles do minetest.register_node("jonez:"..styles[i].."_base", { description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Base"), tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_base.png"}, - is_ground_content = true, + is_ground_content = false, groups = {cracky=3}, sounds = default.node_sound_stone_defaults(), on_construct = function(pos) @@ -259,28 +260,35 @@ for i = 1, #vines do end local panels = { - {name= "jonez_panel_1", description= "Mosaic Glass Panel", texture="jonez_panel_1.png", + {name= "jonez_panel_1", description= "Mosaic Glass Panel", textures={front= "jonez_panel_1.png", edge="jonez_panes_edge.png"}, recipe = { {"dye:blue", "dye:black", "dye:pink"}, {"dye:red", "xpanes:pane_flat", "dye:green"}, {"dye:yellow", "dye:black", "dye:orange"}, } }, - {name= "jonez_panel_2", description= "Blossom Glass Panel", texture="jonez_panel_2.png", + {name= "jonez_panel_2", description= "Blossom Glass Panel", textures={front="jonez_panel_2.png", edge="jonez_panes_edge.png"}, recipe = { {"dye:blue", "dye:red", "dye:green"}, {"dye:yellow", "xpanes:pane_flat", "dye:yellow"}, {"dye:green", "dye:red", "dye:orange"}, } }, + {name= "jonez:wrought_lattice_bottom", description= "Ancient Wrought Lattice (Bottom)",textures={front="jonez_wrought_lattice_bottom.png", edge="jonez_panes_edge.png"}, + recipe = { + {'', '', ''}, + {'default:steel_ingot', 'default:tin_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:tin_ingot', 'default:steel_ingot'}, + } + }, } for j=1, #panels do xpanes.register_pane(panels[j].name, { description = S(panels[j].description), - textures = {panels[j].texture, "", "xpanes_edge.png"}, - inventory_image = panels[j].texture, - wield_image = panels[j].texture, + textures = {panels[j].textures.front, nil, panels[j].textures.edge}, + inventory_image = panels[j].textures.front, + wield_image = panels[j].textures.front, sounds = default.node_sound_glass_defaults(), groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3}, recipe = panels[j].recipe @@ -323,6 +331,13 @@ local pavements= { {'', 'stairs:slab_marble_brick_polished', ''}, } }, + {name= "jonez:pebbled_wall", description= "Ancient Pebbled Wall", texture= "jonez_pebbled_wall.png", + recipe = { + {'', 'stairs:slab_marble_brick_polished', ''}, + {'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished'}, + {'', 'stairs:slab_marble_brick_polished', ''}, + } + }, } for i = 1, #pavements do @@ -339,3 +354,37 @@ for i = 1, #pavements do recipe = pavements[i].recipe, }) end + +minetest.register_node("jonez:wrought_lattice_top", { + description = S("Ancient Wrought Lattice (Top)"), + is_ground_content = true, + groups = {cracky=3}, + walkable = true, + sounds = default.node_sound_stone_defaults(), + paramtype = "light", + paramtype2 = "facedir", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.0, 0.5, 0.1875, 0.0}, + } + }, + tiles = { + nil, + nil, + nil, + nil, + "jonez_wrought_lattice_top.png", + "jonez_wrought_lattice_top.png" + }, +}) + +minetest.register_craft({ + output = 'jonez:wrought_lattice_top', + recipe = { + {'default:steel_ingot', 'default:tin_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:tin_ingot', 'default:steel_ingot'}, + {'', '', ''}, + } +}) diff --git a/locale/jonez.es.tr b/locale/jonez.es.tr index eb1d04c..2cdbcd1 100644 --- a/locale/jonez.es.tr +++ b/locale/jonez.es.tr @@ -14,6 +14,7 @@ Tuscan=Toscano Romanic=Románico Nabataean=Nabateo Minoan=Minoico +Attic=Ático Ancient Marble Stair=Escalera de mármol antiguo Ancient Marble Slab=Losa de mármol antiguo Ancient Marble Brick Stair=Escalera de ladrillo de mármol antiguo @@ -24,11 +25,14 @@ Ruin Vine=Vid de ruina Climbing Rose=Rosal trepador Mosaic Glass Panel=Panel de mosaico Blossom Glass Panel=Panel mosaico florido +Ancient Wrought Lattice (Bottom)=Enrejado forjado antiguo (inferior) +Ancient Wrought Lattice (Top)=Enrejado forjado antiguo (superior) Ancient Blossom Pavement=Pavimento antiguo floreado Ancient Tiled Pavement=Pavimento de baldosas antiguas Ancient Mosaic Pavement=Pavimento de mosaico antiguo Ancient Diamond Pavement=Pavimento de rombos antiguo Ancient Pebbled Pavement=Pavimento de guijarros antiguo +Ancient Pebbled Wall=Muro de guijarros antiguo Ancient Polished Marble=Marmol pulido antiguo Ancient Polished Marble Stair=Escalera de mármol pulido antiguo Ancient Polished Marble Slab=Losa de mármol pulido antiguo diff --git a/textures/jonez_attic_architrave.png b/textures/jonez_attic_architrave.png new file mode 100644 index 0000000..3c6e601 Binary files /dev/null and b/textures/jonez_attic_architrave.png differ diff --git a/textures/jonez_attic_base.png b/textures/jonez_attic_base.png new file mode 100644 index 0000000..7bba83a Binary files /dev/null and b/textures/jonez_attic_base.png differ diff --git a/textures/jonez_attic_capital.png b/textures/jonez_attic_capital.png new file mode 100644 index 0000000..ca24a30 Binary files /dev/null and b/textures/jonez_attic_capital.png differ diff --git a/textures/jonez_attic_shaft.png b/textures/jonez_attic_shaft.png new file mode 100644 index 0000000..affafcc Binary files /dev/null and b/textures/jonez_attic_shaft.png differ diff --git a/textures/jonez_attic_top_bottom.png b/textures/jonez_attic_top_bottom.png new file mode 100644 index 0000000..c8bbfc5 Binary files /dev/null and b/textures/jonez_attic_top_bottom.png differ diff --git a/textures/jonez_panes_edge.png b/textures/jonez_panes_edge.png new file mode 100644 index 0000000..6c567bb Binary files /dev/null and b/textures/jonez_panes_edge.png differ diff --git a/textures/jonez_pebbled_low_wall_right_left.png b/textures/jonez_pebbled_low_wall_right_left.png new file mode 100644 index 0000000..9e80491 Binary files /dev/null and b/textures/jonez_pebbled_low_wall_right_left.png differ diff --git a/textures/jonez_pebbled_low_wall_top_bottom.png b/textures/jonez_pebbled_low_wall_top_bottom.png new file mode 100644 index 0000000..899b421 Binary files /dev/null and b/textures/jonez_pebbled_low_wall_top_bottom.png differ diff --git a/textures/jonez_pebbled_wall.png b/textures/jonez_pebbled_wall.png new file mode 100644 index 0000000..fa5ece1 Binary files /dev/null and b/textures/jonez_pebbled_wall.png differ diff --git a/textures/jonez_wrought_lattice_bottom.png b/textures/jonez_wrought_lattice_bottom.png new file mode 100644 index 0000000..175ce36 Binary files /dev/null and b/textures/jonez_wrought_lattice_bottom.png differ diff --git a/textures/jonez_wrought_lattice_top.png b/textures/jonez_wrought_lattice_top.png new file mode 100644 index 0000000..b3c5e4e Binary files /dev/null and b/textures/jonez_wrought_lattice_top.png differ