Browse Source

override default sapling/tree/leaves/wood/etc

get rid of "apple" from descriptions
tags/2019-06-18-2
Vanessa Dannenberg 8 months ago
parent
commit
216acdc6b1
2 changed files with 36 additions and 0 deletions
  1. +1
    -0
      depends.txt
  2. +35
    -0
      init.lua

+ 1
- 0
depends.txt View File

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

+ 35
- 0
init.lua 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()

Loading…
Cancel
Save