forked from mtcontrib/darkage
Introduced Chalked Bricks
Chalked Bricks using the cobble texture of the old minetest_game that where removed in 0.4.7. Its a nice looking stonebrick alternative good to bring a bit more colors in stonebrick houses. Texture is made by c55 and licensed under CC BY-SA 3.0
This commit is contained in:
50
nodes.lua
50
nodes.lua
@ -37,9 +37,10 @@ minetest.register_node("darkage:chalk", {
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:cobble_with_plaster", {
|
||||
description = "Cobblestone With Plaster",
|
||||
tiles = {"darkage_cobble_with_plaster_D.png", "darkage_cobble_with_plaster_B.png", "darkage_cobble_with_plaster_C.png",
|
||||
"darkage_cobble_with_plaster_A.png", "default_cobble.png", "darkage_chalk.png"},
|
||||
description = "Cobblestone with Plaster",
|
||||
tiles = {"darkage_chalk.png^(default_cobble.png^[mask:darkage_plaster_mask_D.png)", "darkage_chalk.png^(default_cobble.png^[mask:darkage_plaster_mask_B.png)",
|
||||
"darkage_chalk.png^(default_cobble.png^[mask:darkage_plaster_mask_C.png)", "darkage_chalk.png^(default_cobble.png^[mask:darkage_plaster_mask_A.png)",
|
||||
"default_cobble.png", "darkage_chalk.png"},
|
||||
is_ground_content = false,
|
||||
paramtype2 = "facedir",
|
||||
drop = 'default:cobble',
|
||||
@ -47,6 +48,29 @@ minetest.register_node("darkage:cobble_with_plaster", {
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:chalked_bricks_with_plaster", {
|
||||
description = "Chalked Bricks with Plaster",
|
||||
tiles = {"darkage_chalk.png^(darkage_chalked_bricks.png^[mask:darkage_plaster_mask_D.png)", "darkage_chalk.png^(darkage_chalked_bricks.png^[mask:darkage_plaster_mask_B.png)",
|
||||
"darkage_chalk.png^(darkage_chalked_bricks.png^[mask:darkage_plaster_mask_C.png)", "darkage_chalk.png^(darkage_chalked_bricks.png^[mask:darkage_plaster_mask_A.png)",
|
||||
"darkage_chalked_bricks.png", "darkage_chalk.png"},
|
||||
is_ground_content = false,
|
||||
paramtype2 = "facedir",
|
||||
drop = 'default:cobble',
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
--lbm to convert the old cobble_with_plaster to the new chalked_bricks to keep texture consistent
|
||||
minetest.register_lbm({
|
||||
name="darkage:convert_cobble_with_plaster",
|
||||
nodenames= "darkage:cobble_with_plaster",
|
||||
run_at_every_load = false,
|
||||
action = function(pos,node)
|
||||
node.name = "darkage:chalked_bricks_with_plaster"
|
||||
minetest.swap_node(pos, node)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node("darkage:desert_stone_with_iron", {
|
||||
description = "Desert Iron Ore",
|
||||
tiles = {"default_desert_stone.png^default_mineral_iron.png"},
|
||||
@ -344,3 +368,23 @@ minetest.register_node("darkage:rhyolitic_tuff_rubble", {
|
||||
})
|
||||
|
||||
|
||||
--[[
|
||||
add a node using the cobble texture that was introduced in minetest 0.4.dev-20120408 and got removed in 0.4.7
|
||||
It has a nice contrast together the stone bricks, so I think it could get usefull.
|
||||
]]
|
||||
minetest.register_node("darkage:chalked_bricks", {
|
||||
description = "Chalked Brick",
|
||||
tiles = {"darkage_chalked_bricks.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 2, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "darkage:chalked_bricks 4",
|
||||
recipe = {
|
||||
{"default:stone", "default:stone", "darkage:chalk_powder"},
|
||||
{"darkage:chalk_powder", "darkage:chalk_powder", "darkage:chalk_powder"},
|
||||
{"default:stone", "darkage:chalk_powder", "default:stone"},
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user