Add radiated stone monster.
This commit is contained in:
parent
71b6f4b168
commit
5763c4888e
2 changed files with 19 additions and 0 deletions
19
mobs.lua
19
mobs.lua
|
@ -641,7 +641,26 @@ if minetest.registered_entities["mobs_monster:stone_monster"] then
|
||||||
mobs:register_spawn("mobs_monster:stone_monster", {"fun_caves:pyramid_1"}, 20, 0, 300, 5, 31000)
|
mobs:register_spawn("mobs_monster:stone_monster", {"fun_caves:pyramid_1"}, 20, 0, 300, 5, 31000)
|
||||||
local stones = table.copy(fun_caves_stones)
|
local stones = table.copy(fun_caves_stones)
|
||||||
stones[#stones+1] = 'fun_caves:hot_cobble'
|
stones[#stones+1] = 'fun_caves:hot_cobble'
|
||||||
|
stones[#stones+1] = 'fun_caves:salt'
|
||||||
mobs:register_spawn("mobs_monster:stone_monster", stones, 7, 0, 7000, 1, 0)
|
mobs:register_spawn("mobs_monster:stone_monster", stones, 7, 0, 7000, 1, 0)
|
||||||
|
|
||||||
|
m = table.copy(minetest.registered_entities["mobs_monster:stone_monster"])
|
||||||
|
m.name = 'fun_caves:radiated_stone_monster'
|
||||||
|
m.damage = 4
|
||||||
|
m.hp_min = 20
|
||||||
|
m.hp_max = 45
|
||||||
|
m.armor = 70
|
||||||
|
m.textures = { {"fun_caves_radiated_stone_monster.png"}, }
|
||||||
|
m.base_texture = m.textures[1]
|
||||||
|
m.drops = { {name = "fun_caves:radioactive_ore", chance = 1, min = 3, max = 5}, }
|
||||||
|
|
||||||
|
minetest.registered_entities["fun_caves:radiated_stone_monster"] = m
|
||||||
|
mobs.spawning_mobs["fun_caves:radiated_stone_monster"] = true
|
||||||
|
|
||||||
|
mobs:register_spawn("fun_caves:radiated_stone_monster", {"default:salt"}, 20, 0, 7000, 3, -50)
|
||||||
|
|
||||||
|
mobs:register_egg("fun_caves:radiated_stone_monster", "Radiated Stone Monster", "fun_caves_radioactive_ore.png", 1)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.registered_entities["mobs_monster:dungeon_master"] then
|
if minetest.registered_entities["mobs_monster:dungeon_master"] then
|
||||||
|
|
BIN
textures/fun_caves_radiated_stone_monster.png
Normal file
BIN
textures/fun_caves_radiated_stone_monster.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
Loading…
Add table
Add a link
Reference in a new issue