1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-14 14:30:34 +01:00
server-nalc/mods/multitest/init.lua
Ombridride 2e895a7790 Merge server with github repository
Pas mal de changement n’ont pas été pushé sur le github du serveur,
voici l’occasion de faire une bonne synchronisation :)
2014-11-16 22:23:16 +01:00

58 lines
1.7 KiB
Lua

multitest = {}
multitest.colors = {"black", "blue", "brown", "cyan", "dark_green",
"dark_grey", "green", "grey", "magenta", "orange",
"pink", "red", "violet", "white", "yellow"}
multitest.colornames = {"Black", "Blue", "Brown", "Cyan", "Dark Green",
"Dark Grey", "Green", "Grey", "Magenta", "Orange",
"Pink", "Red", "Violet", "White", "Yellow"}
dofile(minetest.get_modpath("multitest").."/crafts.lua")
dofile(minetest.get_modpath("multitest").."/craftitems.lua")
dofile(minetest.get_modpath("multitest").."/nodes.lua")
dofile(minetest.get_modpath("multitest").."/fuel.lua")
minetest.register_tool("multitest:shears", {
description = "Shears",
inventory_image = "multitest_shears.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
crumbly={times={[1]=5.00, [2]=3.50, [3]=3.00}, uses=80, maxlevel=1}
}
}
})
minetest.register_tool("multitest:wood_shears", {
description = "Wood Shears",
inventory_image = "multitest_wood_shears.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
crumbly={times={[1]=3.00, [2]=2.50, [3]=1.00}, uses=40, maxlevel=1}
}
}
})
minetest.register_tool("multitest:stone_shears", {
description = "Stone Shears",
inventory_image = "multitest_stone_shears.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
crumbly={times={[1]=4.00, [2]=3.00, [3]=1.50}, uses=50, maxlevel=1}
}
}
})
minetest.register_tool("multitest:scraper", {
description = "Scraper",
inventory_image = "multitest_scraper.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
}
}
})