Remove "my_door_wood" mod.
@ -1,38 +0,0 @@
|
||||
local door_wood = { -- color, desc, image
|
||||
{"red", "Red Stained", "red"},
|
||||
{"grey", "Grey Stained", "grey"},
|
||||
{"dark_grey", "Dark Grey Stained", "dark_grey"},
|
||||
{"brown", "Brown Stained", "brown"},
|
||||
{"white", "White Stained", "white"},
|
||||
{"yellow", "Clear Stained", "yellow"},
|
||||
{"black", "Black", "black"},
|
||||
}
|
||||
for i in ipairs(door_wood) do
|
||||
local color = door_wood[i][1]
|
||||
local desc = door_wood[i][2]
|
||||
local img = door_wood[i][3]
|
||||
|
||||
minetest.register_node("my_door_wood:wood_"..color, {
|
||||
description = desc.." Wood",
|
||||
drawtype = "normal",
|
||||
paramtype = "light",
|
||||
tiles = {"mydoors_"..img.."_wood.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 2, choppy = 2},
|
||||
|
||||
})
|
||||
|
||||
-- Crafts
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_door_wood:wood_"..color,
|
||||
recipe = {
|
||||
{"default:wood", "", ""},
|
||||
{"dye:"..color, "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 230 B |