mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
Update sapling alias compatibility
This commit is contained in:
parent
eb9236a153
commit
62582b6abb
@ -21,6 +21,7 @@ Note to self: See the bottom of this file for the release template text.
|
|||||||
- `//airapply`: Improve error handling, fix safe_region node counter
|
- `//airapply`: Improve error handling, fix safe_region node counter
|
||||||
- `//floodfill`: Fix crash caused by internal refactoring of the `Queue` data structure
|
- `//floodfill`: Fix crash caused by internal refactoring of the `Queue` data structure
|
||||||
- `//spop`: Fix wording in displayed message
|
- `//spop`: Fix wording in displayed message
|
||||||
|
- Sapling aliases: Correct alias of `default:sapling` from `oak` to `apple` (since it produces apples), and `moretrees:apple_tree_sapling_ongen` from `apple` to `apple_moretrees`
|
||||||
|
|
||||||
|
|
||||||
## v1.12: The selection tools update (26th June 2021)
|
## v1.12: The selection tools update (26th June 2021)
|
||||||
|
@ -16,7 +16,7 @@ Alternatively, you can register support in your mod directly. Do that by adding
|
|||||||
|
|
||||||
if minetest.get_modpath("default") then
|
if minetest.get_modpath("default") then
|
||||||
worldeditadditions.register_sapling_alias_many({
|
worldeditadditions.register_sapling_alias_many({
|
||||||
{ "default:sapling", "oak" },
|
{ "default:sapling", "apple" },
|
||||||
{ "default:bush_sapling", "bush" },
|
{ "default:bush_sapling", "bush" },
|
||||||
{ "default:pine_sapling", "pine" },
|
{ "default:pine_sapling", "pine" },
|
||||||
{ "default:pine_bush_sapling", "pine_bush" },
|
{ "default:pine_bush_sapling", "pine_bush" },
|
||||||
@ -40,7 +40,7 @@ if minetest.get_modpath("moretrees") then
|
|||||||
{ "moretrees:willow_sapling_ongen", "willow_moretrees" },
|
{ "moretrees:willow_sapling_ongen", "willow_moretrees" },
|
||||||
{ "moretrees:poplar_sapling_ongen", "poplar" },
|
{ "moretrees:poplar_sapling_ongen", "poplar" },
|
||||||
{ "moretrees:poplar_small_sapling_ongen", "poplar_small" },
|
{ "moretrees:poplar_small_sapling_ongen", "poplar_small" },
|
||||||
{ "moretrees:apple_tree_sapling_ongen", "apple" },
|
{ "moretrees:apple_tree_sapling_ongen", "apple_moretrees" },
|
||||||
{ "moretrees:birch_sapling_ongen", "birch_moretrees" },
|
{ "moretrees:birch_sapling_ongen", "birch_moretrees" },
|
||||||
{ "moretrees:palm_sapling_ongen", "palm_moretrees" },
|
{ "moretrees:palm_sapling_ongen", "palm_moretrees" },
|
||||||
{ "moretrees:date_palm_sapling_ongen", "palm_date" },
|
{ "moretrees:date_palm_sapling_ongen", "palm_date" },
|
||||||
@ -110,6 +110,12 @@ end
|
|||||||
if minetest.get_modpath("palm") then
|
if minetest.get_modpath("palm") then
|
||||||
worldeditadditions.register_sapling_alias("palm:sapling", "palm")
|
worldeditadditions.register_sapling_alias("palm:sapling", "palm")
|
||||||
end
|
end
|
||||||
|
if minetest.get_modpath("plumtree") then
|
||||||
|
worldeditadditions.register_sapling_alias("plumtree:sapling", "plum")
|
||||||
|
end
|
||||||
|
if minetest.get_modpath("hollytree") then
|
||||||
|
worldeditadditions.register_sapling_alias("hollytree:sapling", "holly")
|
||||||
|
end
|
||||||
if minetest.get_modpath("pomegranate") then
|
if minetest.get_modpath("pomegranate") then
|
||||||
worldeditadditions.register_sapling_alias("pomegranate:sapling", "pomegranate")
|
worldeditadditions.register_sapling_alias("pomegranate:sapling", "pomegranate")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user