forked from minetest-mods/moreblocks
New cactus brick texture, comment style improved, bricks are now facedir.
This commit is contained in:
parent
306956920b
commit
32315c3689
@ -132,6 +132,7 @@ local nodes = {
|
|||||||
["cactus_brick"] = {
|
["cactus_brick"] = {
|
||||||
description = S("Cactus Brick"),
|
description = S("Cactus Brick"),
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
paramtype2 = "facedir",
|
||||||
sounds = sound_stone,
|
sounds = sound_stone,
|
||||||
},
|
},
|
||||||
["cactus_checker"] = {
|
["cactus_checker"] = {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- Redefinitions of some default crafting recipes
|
-- Redefinitions of some default crafting recipes:
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "default:sign_wall 4",
|
output = "default:sign_wall 4",
|
||||||
@ -61,24 +61,25 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Tool repair buff (15% bonus instead of 2%)
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "toolrepair",
|
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
|
if moreblocks.config.wood_facedir then
|
||||||
minetest.override_item("default:wood", {
|
minetest.override_item("default:wood", {
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
})
|
})
|
||||||
|
minetest.override_item("default:brick", {
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
})
|
||||||
end
|
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", {
|
minetest.override_item("default:glass", {
|
||||||
drawtype = "glasslike_framed",
|
drawtype = "glasslike_framed",
|
||||||
@ -88,7 +89,7 @@ minetest.override_item("default:obsidian_glass", {
|
|||||||
drawtype = "glasslike_framed",
|
drawtype = "glasslike_framed",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Let there be light!
|
-- Let there be light. This makes some nodes let light pass through:
|
||||||
|
|
||||||
minetest.override_item("default:ladder", {
|
minetest.override_item("default:ladder", {
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
@ -126,7 +127,7 @@ minetest.override_item("default:junglesapling", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.override_item("default:grass_1", {
|
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",
|
wield_image = "default_grass_3.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
@ -139,5 +140,5 @@ for i = 2, 5 do
|
|||||||
})
|
})
|
||||||
end
|
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 |
Loading…
Reference in New Issue
Block a user