summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-12-04 10:58:20 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-12-04 10:58:20 +0000
commitf34b9b00c6c1e025754a71536ffd1b112cbce874 (patch)
treefbda08df5d123cd55be0bc48041634cd8f48b3ff
parent8309e6a777b15a5f9b324c93ff9d89045ebc0eb5 (diff)
few recipe changes (thanks RQWorldblender)
-rw-r--r--crystal.lua10
-rw-r--r--plantlife.lua6
2 files changed, 9 insertions, 7 deletions
diff --git a/crystal.lua b/crystal.lua
index ffacfe4..343b9fc 100644
--- a/crystal.lua
+++ b/crystal.lua
@@ -171,7 +171,6 @@ minetest.register_tool("ethereal:shovel_crystal", {
description = S("Crystal (soft touch) Shovel"),
inventory_image = "crystal_shovel.png",
wield_image = "crystal_shovel.png^[transformR90",
-
sound = {breaks = "default_tool_breaks"},
on_use = function(itemstack, user, pointed_thing)
@@ -232,10 +231,11 @@ minetest.register_tool("ethereal:crystal_gilly_staff", {
})
minetest.register_craft({
+ type = "shapeless",
output = "ethereal:crystal_gilly_staff",
recipe = {
- {"ethereal:green_moss", "ethereal:gray_moss", "ethereal:fiery_moss"},
- {"ethereal:crystal_moss", "ethereal:crystal_ingot", "ethereal:mushroom_moss"},
- {"", "ethereal:crystal_ingot", ""},
- }
+ "ethereal:green_moss", "ethereal:gray_moss", "ethereal:fiery_moss",
+ "ethereal:crystal_moss", "ethereal:crystal_ingot", "ethereal:mushroom_moss",
+ "ethereal:crystal_ingot"
+ },
})
diff --git a/plantlife.lua b/plantlife.lua
index 98ba936..bf86d5a 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -219,12 +219,14 @@ function ethereal.add_moss(typ, descr, texture, receipe_item)
description = S(descr .. " Moss"),
tiles = {texture},
groups = {crumbly = 3},
- sounds = default.node_sound_dirt_defaults()
+ sounds = default.node_sound_dirt_defaults({
+ footstep = {name = "default_grass_footstep", gain = 0.4}})
})
minetest.register_craft({
+ type = "shapeless",
output = "ethereal:"..typ.."_moss",
- recipe = {{"default:dirt", receipe_item }}
+ recipe = {"default:dirt", receipe_item }
})
end