1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-12-27 03:00:24 +01:00

override default sapling/tree/leaves/wood/etc

get rid of "apple" from descriptions
This commit is contained in:
Vanessa Dannenberg 2019-06-18 14:51:50 -04:00
parent dde035cb5e
commit 216acdc6b1
2 changed files with 36 additions and 0 deletions

View File

@ -1,6 +1,7 @@
default
biome_lib
vessels
doors?
stairs?
moreblocks?
intllib?

View File

@ -15,6 +15,41 @@
moretrees = {}
minetest.override_item("default:sapling", {
description = "Sapling"
})
minetest.override_item("default:tree", {
description = "Tree"
})
minetest.override_item("default:wood", {
description = "Wooden Planks"
})
minetest.override_item("default:leaves", {
description = "Leaves"
})
minetest.override_item("default:fence_wood", {
description = "Wooden Fence"
})
minetest.override_item("default:fence_rail_wood", {
description = "Wooden Fence Rail"
})
if minetest.get_modpath("doors") then
minetest.override_item("doors:gate_wood_closed", {
description = "Wooden Fence Gate"
})
minetest.override_item("doors:gate_wood_open", {
description = "Wooden Fence Gate"
})
end
-- Read the default config file (and if necessary, copy it to the world folder).
local worldpath=minetest.get_worldpath()