Make rail crafting give 24 rails, remove redundant glass and obsidian glass redefinitions.

This commit is contained in:
Calinou 2015-01-23 19:07:41 +01:00
parent f0a455f878
commit 5e0201968e

View File

@ -33,7 +33,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:rail 16", output = "default:rail 24",
recipe = { recipe = {
{"default:steel_ingot", "", "default:steel_ingot"}, {"default:steel_ingot", "", "default:steel_ingot"},
{"default:steel_ingot", "default:stick", "default:steel_ingot"}, {"default:steel_ingot", "default:stick", "default:steel_ingot"},
@ -46,16 +46,8 @@ minetest.register_craft({
additional_wear = -0.15, -- Tool repair buff (15% bonus instead of 2%). additional_wear = -0.15, -- Tool repair buff (15% bonus instead of 2%).
}) })
-- Redefinitions of some default nodes: -- Redefinitions of some default nodes
-- ===================================
-- Make glass and obsidian glass framed, like the More Blocks glasses:
minetest.override_item("default:glass", {
drawtype = "glasslike_framed",
})
minetest.override_item("default:obsidian_glass", {
drawtype = "glasslike_framed",
})
-- Let there be light. This makes some nodes let light pass through: -- Let there be light. This makes some nodes let light pass through:
minetest.override_item("default:ladder", { minetest.override_item("default:ladder", {