This commit is contained in:
Kacper Kostka
2023-02-12 16:07:35 +01:00
parent 49cf5f16f9
commit 60fec2cb4f
36 changed files with 252 additions and 1918 deletions

View File

@@ -1,6 +1,6 @@
minetest.register_item(":", { -- Hand
type = "none",
wield_image = "coke.png",
wield_image = "CRT.png",
wield_scale = {x=.3,y=2,z=2.5},
range = 5,
tool_capabilities = {
@@ -153,12 +153,6 @@ minetest.register_tool("amogus_items:lightsaber_green", {
},
sound = {breaks = "amogus_sound"},
})
-- 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",
--})
minetest.register_craftitem("amogus_items:gold_ingot", {
description = "Gold Ingot",
inventory_image = "gold_ingot.png",
@@ -186,7 +180,7 @@ minetest.register_tool("amogus_items:goldenplumba", {
crumbly = {times={[1] = 0, [2] = 0, [3] = 0}, uses = 10, maxlevel=3},
cracky = {times={[1] = 0, [2] = 0, [3] = 0}, uses = 10, maxlevel=3},
},
damage_groups = {fleshy = 10},
damage_groups = {fleshy = 2},
},
on_use = function(itemstack, user, pointed_thing)
if pointed_thing.type == "node" then
@@ -213,7 +207,7 @@ minetest.register_tool("amogus_items:susplumba", {
crumbly = {times={[1] = 0, [2] = 0, [3] = 0}, uses = 10, maxlevel=3},
cracky = {times={[1] = 0, [2] = 0, [3] = 0}, uses = 10, maxlevel=3},
},
damage_groups = {fleshy = 10},
damage_groups = {fleshy = 2},
},
on_use = function(itemstack, user, pointed_thing)
if pointed_thing.type == "node" then
@@ -677,4 +671,31 @@ bucket.register_liquid(
{tool = 1, water_bucket = 1}
)
-- end of modifed code from bucket mod from minetest_game
minetest.register_tool("amogus_items:obsusian_shovel", {
description = "Obsidian Shovel",
inventory_image = "obsusian_shovel.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1,
groupcaps = {
crumbly = {times = {[1] = 0.80, [2] = 0.40, [3] = 0.20}, uses = 30, maxlevel = 3},
},
damage_groups = {fleshy = 1.6},
},
sound = {breaks = "default_tool_breaks"},
})
minetest.register_tool("amogus_items:obsusian_sword", {
description = "Obsidian Sword",
inventory_image = "obsusian_sword.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1,
groupcaps = {
snappy = {times = {[2] = 0.70, [3] = 0.30}, uses = 30, maxlevel = 3},
},
damage_groups = {fleshy = 3.8},
},
sound = {breaks = "default_tool_breaks"},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 273 B