Move tall grass to mcl_flowers mod

Alias registered
This commit is contained in:
Wuzzy 2017-03-14 20:05:07 +01:00
parent bcdb3978cd
commit d0b1f843ee
8 changed files with 47 additions and 44 deletions

View file

@ -107,11 +107,11 @@ end
mcl_dye.apply_bone_meal = function(pointed_thing)
local plant_tab = {
"air",
"mcl_core:tallgrass",
"mcl_core:tallgrass",
"mcl_core:tallgrass",
"mcl_core:tallgrass",
"mcl_core:tallgrass",
"mcl_flowers:tallgrass",
"mcl_flowers:tallgrass",
"mcl_flowers:tallgrass",
"mcl_flowers:tallgrass",
"mcl_flowers:tallgrass",
"mcl_flowers:dandelion",
"mcl_flowers:blue_orchid",
"mcl_flowers:oxeye_daisy",
@ -230,7 +230,7 @@ mcl_dye.apply_bone_meal = function(pointed_thing)
return true
-- Grow tall grass into double tallgrass
elseif n.name == "mcl_core:tallgrass" then
elseif n.name == "mcl_flowers:tallgrass" then
local toppos = { x=pos.x, y=pos.y+1, z=pos.z }
local topnode = minetest.get_node(toppos)
if minetest.registered_nodes[topnode.name].buildable_to then