remove cobweb

This commit is contained in:
tchncs 2016-09-14 09:10:52 +02:00
parent 97fad4d782
commit 14d0ea47a9

View File

@ -55,7 +55,7 @@ mobs:register_mob("mobs_monster:spider", {
mobs:register_spawn("mobs_monster:spider",
{"default:desert_stone", "ethereal:crystal_dirt"}, 13, 0, 7000, 1, 71)
mobs:register_egg("mobs_monster:spider", S("Spider"), "mobs_cobweb.png", 1)
mobs:register_egg("mobs_monster:spider", S("Spider"), "homedecor_cobweb.png", 1)
-- compatibility
mobs:alias_mob("mobs:spider", "mobs_monster:spider")
@ -65,32 +65,4 @@ if not minetest.get_modpath("ethereal") then
minetest.register_alias("ethereal:crystal_spike", "default:sandstone")
end
-- cobweb
minetest.register_node(":mobs:cobweb", {
description = S("Cobweb"),
drawtype = "plantlike",
visual_scale = 1.1,
tiles = {"mobs_cobweb.png"},
inventory_image = "mobs_cobweb.png",
paramtype = "light",
sunlight_propagates = true,
liquid_viscosity = 11,
liquidtype = "source",
liquid_alternative_flowing = "mobs:cobweb",
liquid_alternative_source = "mobs:cobweb",
liquid_renewable = false,
liquid_range = 0,
walkable = false,
groups = {snappy = 1},
drop = "farming:cotton",
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_craft({
output = "mobs:cobweb",
recipe = {
{"farming:string", "", "farming:string"},
{"", "farming:string", ""},
{"farming:string", "", "farming:string"},
}
})
minetest.register_alias("mobs:cobweb", "homedecor:cobweb")