hm
This commit is contained in:
@@ -56,9 +56,48 @@ minetest.register_craftitem("amogus_items:tomato", {
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:water", {
|
||||
description = "Water",
|
||||
inventory_image = "water.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
-- add sprite, coke, fanta, tomato, and water crafting recipes
|
||||
-- add lightsaber_blue and lightsaber_red and lightsaber_green and let it destroy nodes and mobs
|
||||
minetest.register_tool("amogus_items:lightsaber_blue", {
|
||||
description = "Blue Lightsaber",
|
||||
inventory_image = "lightsaber_blue.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.1,
|
||||
max_drop_level=3,
|
||||
groupcaps={
|
||||
snappy={times={[1]=0.1, [2]=0.1, [3]=0.1}, uses=0, maxlevel=3},
|
||||
},
|
||||
damage_groups = {fleshy=10},
|
||||
},
|
||||
sound = {breaks = "amogus_sound"},
|
||||
})
|
||||
|
||||
minetest.register_tool("amogus_items:lightsaber_red", {
|
||||
description = "Red Lightsaber",
|
||||
inventory_image = "lightsaber_red.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.1,
|
||||
max_drop_level=3,
|
||||
groupcaps={
|
||||
snappy={times={[1]=0.1, [2]=0.1, [3]=0.1}, uses=0, maxlevel=3},
|
||||
},
|
||||
damage_groups = {fleshy=10},
|
||||
},
|
||||
sound = {breaks = "amogus_sound"},
|
||||
})
|
||||
|
||||
minetest.register_tool("amogus_items:lightsaber_green", {
|
||||
description = "Green Lightsaber",
|
||||
inventory_image = "lightsaber_green.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.1,
|
||||
max_drop_level=3,
|
||||
groupcaps={
|
||||
snappy={times={[1]=0.1, [2]=0.1, [3]=0.1}, uses=0, maxlevel=3},
|
||||
},
|
||||
damage_groups = {fleshy=10},
|
||||
},
|
||||
sound = {breaks = "amogus_sound"},
|
||||
})
|
||||
Reference in New Issue
Block a user