Add files via upload

master
Gerold55 2017-11-25 15:55:41 -05:00 committed by GitHub
parent 19e29af9b9
commit 0ee5f3be28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 67 additions and 0 deletions

View File

@ -41,4 +41,49 @@ minetest.register_craft({
{'', 'default:pine_tree', 'default:pine_tree'},
{'', 'default:pine_tree', 'default:pine_tree'}
}
})
minetest.register_craft({
output = 'xblocks:wood_acagle',
recipe = {
{'', '', ''},
{'', 'default:acacia_wood', 'default:junglewood'},
{'', 'default:junglewood', 'default:acacia_wood'}
}
})
minetest.register_craft({
output = 'xblocks:wood_acapine',
recipe = {
{'', '', ''},
{'', 'default:acacia_wood', 'default:pine_wood'},
{'', 'default:pine_wood', 'default:acacia_wood'}
}
})
minetest.register_craft({
output = 'xblocks:wood_acaspen',
recipe = {
{'', '', ''},
{'', 'default:acacia_wood', 'default:aspen_wood'},
{'', 'default:aspen_wood', 'default:acacia_wood'}
}
})
minetest.register_craft({
output = 'xblocks:wood_aspod',
recipe = {
{'', '', ''},
{'', 'default:aspen_wood', 'default:wood'},
{'', 'default:wood', 'default:aspen_wood'}
}
})
minetest.register_craft({
output = 'xblocks:wood_junpine',
recipe = {
{'', '', ''},
{'', 'default:pine_wood', 'default:pine_wood'},
{'', 'default:junglewood', 'default:acacia_wood'}
}
})

View File

@ -85,4 +85,26 @@ minetest.register_node('xblocks:button_down_' ..material, {
minetest.set_node(pos, node)
end,
})
end
local wood_table = { --name, material, invimg
{'Acaspen Wood', 'acaspen'},
{'Acagle Wood', 'acagle'},
{'Acapine Wood', 'acapine'},
{'Aspod Wood', 'aspod'},
{'Junpine Wood', 'junpine'}
}
for i in ipairs (wood_table) do
local name = wood_table[i][1]
local material = wood_table[i][2]
local invimg = wood_table[i][3]
minetest.register_node('xblocks:wood_' ..material, {
description = name,
tiles = {material..'_wood.png'},
groups = {choppy=2,oddly_breakable_by_hand=2, furn=1, flammable=1},
paramtype = 'light',
sounds = default.node_sound_wood_defaults(),
})
end

BIN
textures/acagle_wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

BIN
textures/acapine_wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

BIN
textures/acaspen_wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

BIN
textures/aspod_wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

BIN
textures/junpine_wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B