New cactus brick texture, comment style improved, bricks are now facedir.

This commit is contained in:
Calinou 2014-05-29 19:36:28 +02:00
parent 306956920b
commit 32315c3689
3 changed files with 12 additions and 10 deletions

View File

@ -132,6 +132,7 @@ local nodes = {
["cactus_brick"] = {
description = S("Cactus Brick"),
groups = {cracky=3},
paramtype2 = "facedir",
sounds = sound_stone,
},
["cactus_checker"] = {

View File

@ -1,4 +1,4 @@
-- Redefinitions of some default crafting recipes
-- Redefinitions of some default crafting recipes:
minetest.register_craft({
output = "default:sign_wall 4",
@ -61,24 +61,25 @@ minetest.register_craft({
}
})
-- Tool repair buff (15% bonus instead of 2%)
minetest.register_craft({
type = "toolrepair",
additional_wear = -0.15,
additional_wear = -0.15, -- Tool repair buff (15% bonus instead of 2%).
})
-- Redefinitions of some default nodes
-- Redefinitions of some default nodes:
if minetest.override_item then -- Don't bother overriding nodes if minetest.override_item isn't available
if minetest.override_item then -- Don't bother overriding nodes if minetest.override_item isn't available.
if moreblocks.config.wood_facedir then
minetest.override_item("default:wood", {
paramtype2 = "facedir",
})
minetest.override_item("default:brick", {
paramtype2 = "facedir",
})
end
-- Make glass and obsidian glass framed, like the More Blocks glasses
-- Make glass and obsidian glass framed, like the More Blocks glasses:
minetest.override_item("default:glass", {
drawtype = "glasslike_framed",
@ -88,7 +89,7 @@ minetest.override_item("default:obsidian_glass", {
drawtype = "glasslike_framed",
})
-- Let there be light!
-- Let there be light. This makes some nodes let light pass through:
minetest.override_item("default:ladder", {
paramtype = "light",
@ -126,7 +127,7 @@ minetest.override_item("default:junglesapling", {
})
minetest.override_item("default:grass_1", {
inventory_image = "default_grass_3.png", -- Use a bigger inventory image
inventory_image = "default_grass_3.png", -- Use a bigger inventory image.
wield_image = "default_grass_3.png",
paramtype = "light",
sunlight_propagates = true,
@ -139,5 +140,5 @@ for i = 2, 5 do
})
end
end -- End if minetest.override_item
end -- End "if minetest.override_item".

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 B

After

Width:  |  Height:  |  Size: 718 B