[stained_wood] Add "Dark Gray Stained Wood".
This commit is contained in:
parent
4ed6fd8059
commit
fed7ebda0f
@ -60,7 +60,7 @@ end
|
||||
|
||||
-- Set stained wood colors
|
||||
wood_colors = {
|
||||
"black", "blue", "brown", "gray", "green", "red", "violet",
|
||||
"black", "blue", "brown", "gray", "gray_dark", "green", "red", "violet",
|
||||
"white", "yellow"}
|
||||
|
||||
wood_colors_count = getWoodColorsCount(wood_colors)
|
||||
|
@ -26,9 +26,14 @@
|
||||
-- Define function for adding a stained wood
|
||||
addStainedWood = function(color)
|
||||
local node_name = "stained_wood:" .. color
|
||||
local description = titleize(color) .. " Stained Wood"
|
||||
|
||||
if color == "gray_dark" then
|
||||
description = "Dark Gray Stained Wood"
|
||||
end
|
||||
|
||||
minetest.register_node(node_name, {
|
||||
description = titleize(color) .. " Stained Wood",
|
||||
description = description,
|
||||
tiles = {"wood_" .. color .. ".png"},
|
||||
is_ground_content = false,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
|
||||
|
Loading…
x
Reference in New Issue
Block a user