new items added
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
minetest.register_item(":", { -- Hand
|
||||
type = "none",
|
||||
wield_image = "plumba.png",
|
||||
wield_scale = {x=.3,y=2,z=2.5},
|
||||
range = 5,
|
||||
tool_capabilities = {
|
||||
max_drop_level = 0,
|
||||
full_punch_interval = 0.4,
|
||||
|
||||
|
||||
damage_groups = {fleshy = 1, snappy = 8, cracky=8, choppy=8, crumbly=8},
|
||||
}
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:amogus", {
|
||||
description = "Amogus",
|
||||
inventory_image = "amogus_item.png",
|
||||
@@ -104,7 +117,7 @@ minetest.register_tool("amogus_items:lightsaber_green", {
|
||||
-- add theese items : goldenpickaxe, wooden plank, gold_ingot, sussium_ingot
|
||||
minetest.register_craftitem("amogus_items:wooden_plank", {
|
||||
description = "Wooden Plank",
|
||||
inventory_image = "wooden_plank.png",
|
||||
inventory_image = "wood.png",
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:gold_ingot", {
|
||||
description = "Gold Ingot",
|
||||
@@ -114,18 +127,30 @@ minetest.register_craftitem("amogus_items:sussium_ingot", {
|
||||
description = "Sussium Ingot",
|
||||
inventory_image = "sussium_ingot.png",
|
||||
})
|
||||
|
||||
|
||||
--add theese items goldenpickaxe, stonepickaxe and allow them slowly break nodes and destroy it after 30 uses
|
||||
minetest.register_tool("amogus_items:goldenpickaxe", {
|
||||
description = "Golden Pickaxe",
|
||||
inventory_image = "goldenpick.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.1,
|
||||
max_drop_level=3,
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
cracky={times={[1]=0.1, [2]=0.1, [3]=0.1}, uses=0, maxlevel=3},
|
||||
cracky={times={[1]=2.0, [2]=1.0, [3]=0.50}, uses=30, maxlevel=1},
|
||||
},
|
||||
damage_groups = {fleshy=10},
|
||||
damage_groups = {fleshy=2},
|
||||
},
|
||||
sound = {breaks = "amogus_sound"},
|
||||
sound = {breaks = "default_tool_breaks"},
|
||||
})
|
||||
minetest.register_tool("amogus_items:stonepickaxe", {
|
||||
description = "Stone Pickaxe",
|
||||
inventory_image = "stone_pick.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
cracky={times={[1]=2.0, [2]=1.0, [3]=0.50}, uses=30, maxlevel=1},
|
||||
},
|
||||
damage_groups = {fleshy=2},
|
||||
},
|
||||
sound = {breaks = "default_tool_breaks"},
|
||||
})
|
||||
BIN
mods/amogus_items/textures/rocks.png
Normal file
BIN
mods/amogus_items/textures/rocks.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 249 B |
BIN
mods/amogus_items/textures/stone_pick.png
Normal file
BIN
mods/amogus_items/textures/stone_pick.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 188 B |
BIN
mods/amogus_items/textures/wood.png
Normal file
BIN
mods/amogus_items/textures/wood.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 187 B |
Reference in New Issue
Block a user