mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-11-16 07:10:38 +01:00
5ca1ed261e
idea taken from homedecor_modpack and its homedecor_i18n all translated mods have a new dependency : plantlife_i18n translations are stored in po/pot file : one file for all mods added french translation (almost complete) transfered de/es/tr/pt translations to corresponding .po file (only for some mods, unfortunately translations are incomplete)
19 lines
447 B
Lua
19 lines
447 B
Lua
-- support for i18n
|
|
local S = plantlife_i18n.gettext
|
|
|
|
minetest.register_tool("vines:shears", {
|
|
description = S("Shears"),
|
|
inventory_image = "vines_shears.png",
|
|
wield_image = "vines_shears.png",
|
|
stack_max = 1,
|
|
max_drop_level=3,
|
|
tool_capabilities = {
|
|
full_punch_interval = 1.0,
|
|
max_drop_level=0,
|
|
groupcaps={
|
|
snappy={times={[3]=0.2}, uses=60, maxlevel=3},
|
|
wool={times={[3]=0.2}, uses=60, maxlevel=3}
|
|
}
|
|
},
|
|
})
|