mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-11-29 02:13:54 +01:00
Tools: New module and Add In Xtremo Pick & Pickaxe
Textures by @XtremeHacker
This commit is contained in:
parent
3e1a298f08
commit
e7a194a08c
@ -2,3 +2,4 @@ shared = true
|
||||
power = true
|
||||
storage = true
|
||||
ores = true
|
||||
tools = true
|
||||
|
6
modules/tools/init.lua
Normal file
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
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 |
0
textures/microexpansion_tool_in_xtremo_pickaxe.png → textures/microexpansion_in_xtremo_pickaxe.png
0
textures/microexpansion_tool_in_xtremo_pickaxe.png → textures/microexpansion_in_xtremo_pickaxe.png
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 418 B |
Loading…
Reference in New Issue
Block a user