Tools: New module and Add In Xtremo Pick & Pickaxe

Textures by @XtremeHacker
This commit is contained in:
octacian 2017-03-03 16:18:27 -08:00
parent 3e1a298f08
commit e7a194a08c
5 changed files with 36 additions and 0 deletions

@ -2,3 +2,4 @@ shared = true
power = true
storage = true
ores = true
tools = true

6
modules/tools/init.lua Normal file

@ -0,0 +1,6 @@
-- tools/init.lua
local path = microexpansion.get_module_path("tools")
-- Load In Xtremo Tools
dofile(path.."/xtremo.lua")

29
modules/tools/xtremo.lua Normal file

@ -0,0 +1,29 @@
-- tools/xtremo.lua
-- [register tool] Pickaxe
minetest.register_tool("microexpansion:xtremo_pickaxe", {
description = "In Xtremo Pickaxe",
inventory_image = "microexpansion_in_xtremo_pickaxe.png",
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level=3,
groupcaps={
cracky = {times={[1]=1.90, [2]=0.90, [3]=0.40}, uses=300, maxlevel=4},
},
damage_groups = {fleshy=5},
},
})
-- [register tool] Axe
minetest.register_tool("microexpansion:xtremo_axe", {
description = "In Xtremo Axe",
inventory_image = "microexpansion_in_xtremo_axe.png",
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level=3,
groupcaps={
choppy={times={[1]=2.00, [2]=0.80, [3]=0.40}, uses=300, maxlevel=4},
},
damage_groups = {fleshy=7},
},
})

Before

Width:  |  Height:  |  Size: 391 B

After

Width:  |  Height:  |  Size: 391 B

Before

Width:  |  Height:  |  Size: 418 B

After

Width:  |  Height:  |  Size: 418 B