2015-01-24 19:35:56 +01:00
|
|
|
--[[
|
|
|
|
More Blocks: redefinitions of default stuff
|
|
|
|
|
|
|
|
Copyright (c) 2011-2015 Calinou and contributors.
|
|
|
|
Licensed under the zlib license. See LICENSE.md for more information.
|
|
|
|
--]]
|
|
|
|
|
2014-10-28 18:01:32 +01:00
|
|
|
-- Redefinitions of some default crafting recipes:
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "default:sign_wall 4",
|
|
|
|
recipe = {
|
|
|
|
{"default:wood", "default:wood", "default:wood"},
|
|
|
|
{"default:wood", "default:wood", "default:wood"},
|
|
|
|
{"", "default:stick", ""},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "default:ladder 4",
|
|
|
|
recipe = {
|
|
|
|
{"default:stick", "", "default:stick"},
|
|
|
|
{"default:stick", "default:stick", "default:stick"},
|
|
|
|
{"default:stick", "", "default:stick"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "default:paper 4",
|
|
|
|
recipe = {
|
|
|
|
{"default:papyrus", "default:papyrus", "default:papyrus"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2015-07-26 23:56:52 +02:00
|
|
|
--[[minetest.register_craft({
|
|
|
|
output = "default:rail 16", -- /MFF (Mg|06/10/15) => (Ombridride|26/07/15)
|
2014-10-28 18:01:32 +01:00
|
|
|
recipe = {
|
|
|
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
|
|
|
{"default:steel_ingot", "default:stick", "default:steel_ingot"},
|
|
|
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
|
|
|
}
|
2015-07-26 23:56:52 +02:00
|
|
|
})--]]
|
2014-10-28 18:01:32 +01:00
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "toolrepair",
|
|
|
|
additional_wear = -0.15, -- Tool repair buff (15% bonus instead of 2%).
|
|
|
|
})
|
|
|
|
|
2015-03-21 17:33:52 +01:00
|
|
|
-- Redefinitions of some default nodes
|
|
|
|
-- ===================================
|
|
|
|
|
2014-10-28 18:01:32 +01:00
|
|
|
-- Let there be light. This makes some nodes let light pass through:
|
|
|
|
minetest.override_item("default:ladder", {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("default:sapling", {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("default:dry_shrub", {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("default:papyrus", {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
2015-01-24 19:35:56 +01:00
|
|
|
minetest.override_item("default:fence_wood", {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
2014-10-28 18:01:32 +01:00
|
|
|
minetest.override_item("default:junglegrass", {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("default:junglesapling", {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("default:grass_1", {
|
|
|
|
inventory_image = "default_grass_3.png", -- Use a bigger inventory image.
|
|
|
|
wield_image = "default_grass_3.png",
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
for i = 2, 5 do
|
|
|
|
minetest.override_item("default:grass_" ..i, {
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
})
|
|
|
|
end
|