0
0
Fork 0

Add cobweb sounds, fix indentation

This commit is contained in:
Wuzzy 2017-03-28 01:34:13 +02:00
parent 06a874b621
commit e695a24c8f
1 changed files with 18 additions and 17 deletions

View File

@ -1898,25 +1898,26 @@ minetest.register_node("mcl_core:snowblock", {
}) })
minetest.register_node("mcl_core:cobweb", { minetest.register_node("mcl_core:cobweb", {
description = "Cobweb", description = "Cobweb",
_doc_items_longdesc = "Cobwebs can be walked through, but significantly slow you down.", _doc_items_longdesc = "Cobwebs can be walked through, but significantly slow you down.",
drawtype = "plantlike", drawtype = "plantlike",
paramtype2 = "degrotate", paramtype2 = "degrotate",
visual_scale = 1.1, visual_scale = 1.1,
stack_max = 64, stack_max = 64,
tiles = {"mcl_core_web.png"}, tiles = {"mcl_core_web.png"},
inventory_image = "mcl_core_web.png", inventory_image = "mcl_core_web.png",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
liquid_viscosity = 14, liquid_viscosity = 14,
liquidtype = "source", liquidtype = "source",
liquid_alternative_flowing = "mcl_core:cobweb", liquid_alternative_flowing = "mcl_core:cobweb",
liquid_alternative_source = "mcl_core:cobweb", liquid_alternative_source = "mcl_core:cobweb",
liquid_renewable = false, liquid_renewable = false,
liquid_range = 0, liquid_range = 0,
walkable = false, walkable = false,
groups = {swordy_cobweb=1,shearsy=1, deco_block=1}, groups = {swordy_cobweb=1,shearsy=1, deco_block=1},
drop = "mcl_mobitems:string", drop = "mcl_mobitems:string",
sounds = mcl_sounds.node_sound_leaves_defaults(),
_mcl_blast_resistance = 20, _mcl_blast_resistance = 20,
_mcl_hardness = 4, _mcl_hardness = 4,
}) })