aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redefinitions.lua16
1 files changed, 12 insertions, 4 deletions
diff --git a/redefinitions.lua b/redefinitions.lua
index f3aec3d..1978ceb 100644
--- a/redefinitions.lua
+++ b/redefinitions.lua
@@ -70,8 +70,7 @@ minetest.register_craft({
-- Redefinitions of some default nodes
--- Don't bother overriding nodes if minetest.override_item isn't available
-if minetest.override_item then
+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", {
@@ -79,6 +78,16 @@ if moreblocks.config.wood_facedir then
})
end
+-- 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!
minetest.override_item("default:ladder", {
@@ -117,8 +126,7 @@ minetest.override_item("default:junglesapling", {
})
minetest.override_item("default:grass_1", {
- -- Use a bigger inventory image
- inventory_image = "default_grass_3.png",
+ inventory_image = "default_grass_3.png", -- Use a bigger inventory image
wield_image = "default_grass_3.png",
paramtype = "light",
sunlight_propagates = true,