mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 18:20:36 +01:00
Add Mese Monster spawner
This commit is contained in:
parent
67aeb43f1f
commit
6c54859781
@ -108,7 +108,7 @@ mobs:register_arrow("mobs:fireball_mese_dragon", {
|
||||
minetest.register_node("mobs:mese_dragon_spawner", {
|
||||
description = "Mese Dragon Spawner",
|
||||
tiles = {
|
||||
"mese_block_top.png", -- need to change all the textures
|
||||
"mese_block_top.png",
|
||||
"mese_block_top.png",
|
||||
"mese_block_side.png",
|
||||
"mese_block_side.png",
|
||||
|
@ -63,8 +63,28 @@ mobs:register_mob("mobs:mese_monster", {
|
||||
punch_end = 63,
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("mobs:mese_monster_spawner", {
|
||||
description = "Mese Monster Spawner",
|
||||
tiles = {
|
||||
"mese_block_top.png",
|
||||
"mese_block_top.png",
|
||||
"mese_block_side.png",
|
||||
"mese_block_side.png",
|
||||
"mese_block_side.png",
|
||||
"mese_block_face_off.png"
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {unbreakable = 1, mob_spawner=1},
|
||||
sounds = default.node_sound_stone_defaults({
|
||||
dug = {name="mobs_boom", gain=0.25} -- to be changed
|
||||
})
|
||||
})
|
||||
|
||||
-- spawn on stone between 20 and -1 light, 1 in 8000 chance, 1 in area below -25
|
||||
mobs:spawn_specific("mobs:mese_monster", {"default:stone", "default:sandstone"}, {"air"}, -1, 20, 30, 8000, 1, -31000, -125, false)
|
||||
-- Spawn in spawner
|
||||
mobs:spawn_specific("mobs:mese_monster", {"mobs:mese_monster_spawner"}, {"air"}, 1, 20, 300, 1, 100, -31000, 31000, true)
|
||||
-- register spawn egg
|
||||
mobs:register_egg("mobs:mese_monster", "Mese Monster", "mobs_mese_monster_inv.png", 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user