From 21ef2a83b6cfefd8ce12db6d19bebb19cc5fda43 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 20 Mar 2017 19:05:04 +0100 Subject: [PATCH] Make carrot plants transparent --- mods/ITEMS/mcl_farming/carrots.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/ITEMS/mcl_farming/carrots.lua b/mods/ITEMS/mcl_farming/carrots.lua index c39fdcffd..91a99bfea 100644 --- a/mods/ITEMS/mcl_farming/carrots.lua +++ b/mods/ITEMS/mcl_farming/carrots.lua @@ -3,6 +3,7 @@ minetest.register_node("mcl_farming:carrot_1", { _doc_items_entry_name = "Premature Carrot Plant", _doc_items_longdesc = "Carrot plants are plants which grow on farmland under sunlight in 4 stages. On hydrated farmland, they grow a bit faster. They can be harvested at any time but will only yield a profit when mature.", paramtype = "light", + sunlight_propagates = true, paramtype2 = "meshoptions", place_param2 = 3, walkable = false, @@ -24,6 +25,7 @@ minetest.register_node("mcl_farming:carrot_2", { description = "Premature Carrot Plant (Second Stage)", _doc_items_create_entry = false, paramtype = "light", + sunlight_propagates = true, walkable = false, drawtype = "plantlike", paramtype2 = "meshoptions", @@ -45,6 +47,7 @@ minetest.register_node("mcl_farming:carrot_3", { description = "Premature Carrot Plant (Third Stage)", _doc_items_create_entry = false, paramtype = "light", + sunlight_propagates = true, paramtype2 = "meshoptions", place_param2 = 3, walkable = false, @@ -66,6 +69,7 @@ minetest.register_node("mcl_farming:carrot", { description = "Mature Carrot Plant", _doc_items_longdesc = "Mature carrot plants are ready to be harvested for carrots. They won't grow any further.", paramtype = "light", + sunlight_propagates = true, paramtype2 = "meshoptions", place_param2 = 3, walkable = false,