Add glowing fungal wood.
This commit is contained in:
parent
3d6bc4451e
commit
9cb5aef679
2 changed files with 10 additions and 1 deletions
2
mobs.lua
2
mobs.lua
|
@ -208,7 +208,7 @@ if minetest.registered_entities["mobs:bee"] then
|
||||||
end
|
end
|
||||||
|
|
||||||
fun_caves.climb(self)
|
fun_caves.climb(self)
|
||||||
--fun_caves.search_replace(self.object:getpos(), 50, {"fun_caves:wood"}, "fun_caves:glowing_fungal_wood")
|
fun_caves.search_replace(self.object:getpos(), 50, {"fun_caves:tree"}, "fun_caves:glowing_fungal_wood")
|
||||||
fun_caves.surface_damage(self)
|
fun_caves.surface_damage(self)
|
||||||
end
|
end
|
||||||
mobs:register_mob("fun_caves:killer_bee", {
|
mobs:register_mob("fun_caves:killer_bee", {
|
||||||
|
|
|
@ -121,6 +121,15 @@ minetest.register_node("fun_caves:syrup", {
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
newnode = fun_caves.clone_node("default:tree")
|
||||||
|
newnode.description = "Glowing Fungal Wood"
|
||||||
|
newnode.tiles = {"fun_caves_tree.png^vmg_glowing_fungal.png",}
|
||||||
|
newnode.drop = {items={ {items={"default:wood"},}, {items={"fun_caves:glowing_fungus",},},},}
|
||||||
|
newnode.light_source = fun_caves.light_max - 4
|
||||||
|
newnode.groups.oddly_breakable_by_hand = 1
|
||||||
|
minetest.register_node("fun_caves:glowing_fungal_wood", newnode)
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craftitem("fun_caves:charcoal", {
|
minetest.register_craftitem("fun_caves:charcoal", {
|
||||||
description = "Charcoal Briquette",
|
description = "Charcoal Briquette",
|
||||||
inventory_image = "default_coal_lump.png",
|
inventory_image = "default_coal_lump.png",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue