From e695a24c8f8d6bf56df9ae739af9cc0cd9472b90 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 28 Mar 2017 01:34:13 +0200 Subject: [PATCH] Add cobweb sounds, fix indentation --- mods/ITEMS/mcl_core/nodes.lua | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/mods/ITEMS/mcl_core/nodes.lua b/mods/ITEMS/mcl_core/nodes.lua index 62461b6473..35a0287f34 100644 --- a/mods/ITEMS/mcl_core/nodes.lua +++ b/mods/ITEMS/mcl_core/nodes.lua @@ -1898,25 +1898,26 @@ minetest.register_node("mcl_core:snowblock", { }) minetest.register_node("mcl_core:cobweb", { - description = "Cobweb", + description = "Cobweb", _doc_items_longdesc = "Cobwebs can be walked through, but significantly slow you down.", - drawtype = "plantlike", + drawtype = "plantlike", paramtype2 = "degrotate", - visual_scale = 1.1, - stack_max = 64, - tiles = {"mcl_core_web.png"}, - inventory_image = "mcl_core_web.png", - paramtype = "light", - sunlight_propagates = true, - liquid_viscosity = 14, - liquidtype = "source", - liquid_alternative_flowing = "mcl_core:cobweb", - liquid_alternative_source = "mcl_core:cobweb", - liquid_renewable = false, - liquid_range = 0, - walkable = false, - groups = {swordy_cobweb=1,shearsy=1, deco_block=1}, - drop = "mcl_mobitems:string", + visual_scale = 1.1, + stack_max = 64, + tiles = {"mcl_core_web.png"}, + inventory_image = "mcl_core_web.png", + paramtype = "light", + sunlight_propagates = true, + liquid_viscosity = 14, + liquidtype = "source", + liquid_alternative_flowing = "mcl_core:cobweb", + liquid_alternative_source = "mcl_core:cobweb", + liquid_renewable = false, + liquid_range = 0, + walkable = false, + groups = {swordy_cobweb=1,shearsy=1, deco_block=1}, + drop = "mcl_mobitems:string", + sounds = mcl_sounds.node_sound_leaves_defaults(), _mcl_blast_resistance = 20, _mcl_hardness = 4, })