Add Help aliases for premature farming plants

This commit is contained in:
Wuzzy 2017-03-21 04:56:16 +01:00
parent c051ae7ae9
commit 767d7cbc3e
8 changed files with 37 additions and 1 deletions

View file

@ -140,3 +140,9 @@ minetest.register_craft({
})
mcl_farming:add_plant("mcl_farming:beetroot", {"mcl_farming:beetroot_0", "mcl_farming:beetroot_1", "mcl_farming:beetroot_2"}, 68, 3)
if minetest.get_modpath("doc") then
for i=1,2 do
doc.add_entry_alias("nodes", "mcl_farming:beetroot_0", "nodes", "mcl_farming:beetroot_"..i)
end
end