Sunlight propagates through beetroot/potato crop

This commit is contained in:
Wuzzy 2017-03-20 18:51:40 +01:00
parent 9dd8cebcef
commit d0b934f19d
2 changed files with 7 additions and 0 deletions

View file

@ -16,6 +16,7 @@ minetest.register_node("mcl_farming:beetroot_0", {
_doc_items_entry_name = "Premature Beetroot Plant",
paramtype = "light",
paramtype2 = "meshoptions",
sunlight_propagates = true,
place_param2 = 3,
walkable = false,
drawtype = "plantlike",
@ -37,6 +38,7 @@ minetest.register_node("mcl_farming:beetroot_1", {
_doc_items_create_entry = false,
paramtype = "light",
paramtype2 = "meshoptions",
sunlight_propagates = true,
place_param2 = 3,
walkable = false,
drawtype = "plantlike",
@ -58,6 +60,7 @@ minetest.register_node("mcl_farming:beetroot_2", {
_doc_items_create_entry = false,
paramtype = "light",
paramtype2 = "meshoptions",
sunlight_propagates = true,
place_param2 = 3,
walkable = false,
drawtype = "plantlike",
@ -80,6 +83,7 @@ minetest.register_node("mcl_farming:beetroot", {
_doc_items_create_entry = true,
paramtype = "light",
paramtype2 = "meshoptions",
sunlight_propagates = true,
place_param2 = 3,
walkable = false,
drawtype = "plantlike",

View file

@ -4,6 +4,7 @@ minetest.register_node("mcl_farming:potato_1", {
_doc_items_longdesc = "Potato plants are plants which grow on farmland under sunlight in 3 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",
paramtype2 = "meshoptions",
sunlight_propagates = true,
place_param2 = 3,
walkable = false,
drawtype = "plantlike",
@ -25,6 +26,7 @@ minetest.register_node("mcl_farming:potato_2", {
_doc_items_create_entry = false,
paramtype = "light",
paramtype2 = "meshoptions",
sunlight_propagates = true,
place_param2 = 3,
walkable = false,
drawtype = "plantlike",
@ -46,6 +48,7 @@ minetest.register_node("mcl_farming:potato", {
_doc_items_longdesc = "Mature potato plants are ready to be harvested for potatoes. They won't grow any further.",
paramtype = "light",
paramtype2 = "meshoptions",
sunlight_propagates = true,
place_param2 = 3,
walkable = false,
drawtype = "plantlike",