mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
MAJ bee.lua from "mobs" mod
(add honey block)
This commit is contained in:
parent
85bd085ab8
commit
254ec74625
@ -8,7 +8,11 @@ mobs:register_mob("mobs:bee", {
|
||||
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.2, 0.2},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_bee.x",
|
||||
textures = {"mobs_bee.png"},
|
||||
--textures = {"mobs_bee.png"},
|
||||
available_textures = {
|
||||
total = 1,
|
||||
texture_1 = {"mobs_bee.png"},
|
||||
},
|
||||
makes_footstep_sound = false,
|
||||
walk_velocity = 1,
|
||||
armor = 200,
|
||||
@ -100,3 +104,25 @@ minetest.register_craft({
|
||||
{"mobs:bee","mobs:bee","mobs:bee"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Honey Block
|
||||
minetest.register_node("mobs:honey_block", {
|
||||
description = "Honey Block",
|
||||
tiles = {"mobs_honey_block.png"},
|
||||
groups = {snappy=3,flammable=2},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mobs:honey_block",
|
||||
recipe = {
|
||||
{"mobs:honey", "mobs:honey", "mobs:honey"},
|
||||
{"mobs:honey", "mobs:honey", "mobs:honey"},
|
||||
{"mobs:honey", "mobs:honey", "mobs:honey"},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mobs:honey 9",
|
||||
recipe = {
|
||||
{"mobs:honey_block"},
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue
Block a user