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:
addi
2016-09-11 14:25:16 +02:00
parent 6f985e9fe7
commit 3a2e2f0112
14 changed files with 71 additions and 4 deletions

View File

@ -17,7 +17,7 @@ function darkage.register_reinforce(name, craftItem, nodedef)
assert(type(nodedef.tiles)=="table","ERRROR: nodedef.tiles have to be a table")
assert(nodedef.tiles[1], "ERROR: "..dump(nodedef.tiles).." requires at least 1 entry")
local modname = minetest.get_current_modname();
local tname = name:lower(); -- Technical name
local tname = string.gsub(name:lower()," ", "_"); -- Technical name
-- Reinforced X
local reinforced = table.copy(nodedef);
@ -156,6 +156,12 @@ darkage.register_reinforce("Wood", "default:wood", {
sounds = default.node_sound_wood_defaults()
})
darkage.register_reinforce("Chalked Bricks", "darkage:chalked_bricks", {
tiles = {"darkage_chalked_bricks.png"},
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults()
})
minetest.register_node("darkage:glass", {
description = "Medieval Glass",
drawtype = "glasslike",