From f34b9b00c6c1e025754a71536ffd1b112cbce874 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 4 Dec 2016 10:58:20 +0000 Subject: [PATCH] few recipe changes (thanks RQWorldblender) --- crystal.lua | 10 +++++----- plantlife.lua | 6 ++++-- 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