new tools and world generator updated

This commit is contained in:
Kacper Kostka
2023-01-26 13:42:13 +01:00
parent 68142350ee
commit 8a064ab0ac
17 changed files with 162 additions and 10 deletions

View File

@@ -7,8 +7,9 @@ minetest.register_item(":", { -- Hand
max_drop_level = 0,
full_punch_interval = 0.4,
groupcaps = {
choppy = {times = {[1] = 2, [2] = 1.5, [3] = 1.0}, uses = 20, maxlevel = 1},
choppy = {times = {[1] = 2, [2] = 1.5, [3] = 1.3}, uses = 20, maxlevel = 1},
crumbly = {times = {[1] = 0.5, [2] = 0.3, [3] = 0.2}, uses = 20, maxlevel = 1},
cracky = {times = {[1] = 1.0, [2] = 0.7, [3] = 0.5}, uses = 20, maxlevel = 1},
},
damage_groups = {fleshy = 1, snappy = 1, cracky=1},
}
@@ -195,12 +196,40 @@ minetest.register_tool("amogus_items:stonepickaxe", {
max_drop_level=1,
groupcaps={
cracky={times={[1]=2.0, [2]=1.0, [3]=0.50}, uses=30, maxlevel=1},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=2},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("amogus_items:goldenpickaxe", {
description = "Golden Pickaxe",
inventory_image = "golden_pick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
cracky={times={[1]=1.3, [2]=0.60, [3]=0.40}, uses=30, maxlevel=1},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=2},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("amogus_items:sussiumpickaxe", {
description = "Sussium Pickaxe",
inventory_image = "sussium_pickaxe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
stone={times={[1]=0.85, [2]=0.40, [3]=0.20}, uses=30, maxlevel=1},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=2},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("amogus_items:goldenaxe", {
description = "Golden Axe",
inventory_image = "goldenaxe.png",
@@ -209,6 +238,7 @@ minetest.register_tool("amogus_items:goldenaxe", {
max_drop_level=1,
groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=0.40}, uses=30, maxlevel=2},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=4},
},
@@ -216,12 +246,13 @@ minetest.register_tool("amogus_items:goldenaxe", {
})
minetest.register_tool("amogus_items:stoneaxe", {
description = "Stone Axe",
inventory_image = "goldenaxe.png",
inventory_image = "stone_axe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=2.50, [2]=1.40, [3]=0.40}, uses=30, maxlevel=2},
choppy={times={[1]=2.50, [2]=1.40, [3]=0.80}, uses=30, maxlevel=2},
crumbly={times={[1]=2.0, [2]=1.5, [3]=1.0}, uses=30, maxlevel=2},
},
damage_groups = {fleshy=4},
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 227 B