mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Add Help aliases for premature farming plants
This commit is contained in:
parent
c051ae7ae9
commit
767d7cbc3e
8 changed files with 37 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -125,3 +125,9 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
mcl_farming:add_plant("mcl_farming:carrot", {"mcl_farming:carrot_1", "mcl_farming:carrot_2", "mcl_farming:carrot_3"}, 50, 20)
|
||||
|
||||
if minetest.get_modpath("doc") then
|
||||
for i=2,3 do
|
||||
doc.add_entry_alias("nodes", "mcl_farming:carrot_1", "nodes", "mcl_farming:carrot_"..i)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -3,3 +3,4 @@ mcl_sounds
|
|||
bucket
|
||||
mcl_wool
|
||||
mcl_torches
|
||||
doc?
|
||||
|
|
|
@ -130,4 +130,8 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
|
||||
if minetest.get_modpath("doc") then
|
||||
for i=2,8 do
|
||||
doc.add_entry_alias("nodes", "mcl_farming:melontige_1", "nodes", "mcl_farming:melontige_"..i)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -115,3 +115,7 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
mcl_farming:add_plant("mcl_farming:potato", {"mcl_farming:potato_1", "mcl_farming:potato_2"}, 50, 20)
|
||||
|
||||
if minetest.get_modpath("doc") then
|
||||
doc.add_entry_alias("nodes", "mcl_farming:potato_1", "nodes", "mcl_farming:potato_2")
|
||||
end
|
||||
|
|
|
@ -138,3 +138,9 @@ minetest.register_craft({
|
|||
output = "mcl_farming:pumpkin_pie",
|
||||
recipe = {"mcl_farming:pumpkin_face", "mcl_core:sugar", "mcl_throwing:egg"},
|
||||
})
|
||||
|
||||
if minetest.get_modpath("doc") then
|
||||
for i=2,8 do
|
||||
doc.add_entry_alias("nodes", "mcl_farming:pumpkin_1", "nodes", "mcl_farming:pumpkin_"..i)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -262,6 +262,10 @@ function mcl_farming:add_gourd(full_unconnected_stem, connected_stem_basename, s
|
|||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
if minetest.get_modpath("doc") then
|
||||
doc.add_entry_alias("nodes", full_unconnected_stem, "nodes", connected_stem_names[i])
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_abm({
|
||||
|
|
|
@ -189,3 +189,8 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
if minetest.get_modpath("doc") then
|
||||
for i=2,3 do
|
||||
doc.add_entry_alias("nodes", "mcl_farming:wheat_1", "nodes", "mcl_farming:wheat_"..i)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue