diff --git a/mobs.lua b/mobs.lua index 18f4fdb..14b9b77 100644 --- a/mobs.lua +++ b/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) local stones = table.copy(fun_caves_stones) 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) + + 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 if minetest.registered_entities["mobs_monster:dungeon_master"] then diff --git a/textures/fun_caves_radiated_stone_monster.png b/textures/fun_caves_radiated_stone_monster.png new file mode 100644 index 0000000..86ab75e Binary files /dev/null and b/textures/fun_caves_radiated_stone_monster.png differ