Add more and more mobs

master
Solebull 2019-01-02 03:57:44 +01:00
parent 09e92037d0
commit 22ba21077a
4 changed files with 22 additions and 2 deletions

View File

@ -69,6 +69,11 @@ mobs:register_mob("mobs_mc:blaze", {
jump_chance = 98,
fear_height = 120,
blood_amount = 0,
do_punch = function (self, hitter, time_from_last_punch,
tool_capabilities, direction)
xpro.add_xp(hitter:get_player_name(), 3)
return true
end,
})
mobs:spawn_specific("mobs_mc:blaze", mobs_mc.spawn.nether_fortress, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 5000, 3, mobs_mc.spawn_height.nether_min, mobs_mc.spawn_height.nether_max)

View File

@ -35,6 +35,11 @@ mobs:register_mob("mobs_mc:endermite", {
damage = 2,
reach = 1,
blood_amount = 0,
do_punch = function (self, hitter, time_from_last_punch,
tool_capabilities, direction)
xpro.add_xp(hitter:get_player_name(), 2)
return true
end,
})
mobs:register_egg("mobs_mc:endermite", S("Endermite"), "mobs_mc_spawn_icon_endermite.png", 0)

View File

@ -74,6 +74,11 @@ mobs:register_mob("mobs_mc:ghast", {
jump_chance = 98,
fear_height = 120,
blood_amount = 0,
do_punch = function (self, hitter, time_from_last_punch,
tool_capabilities, direction)
xpro.add_xp(hitter:get_player_name(), 2)
return true
end,
})

View File

@ -65,11 +65,16 @@ COLISIONBOX in minetest press f5 to see where you are looking at then put these
--
-- Added later by Solebull (for a harder survival day)
dofile(path .. "/blaze.lua")
dofile(path .. "/creeper.lua")
dofile(path .. "/zombiepig.lua")
dofile(path .. "/wither.lua")
dofile(path .. "/ender_dragon.lua")
dofile(path .. "/enderman.lua")
dofile(path .. "/endermite.lua")
dofile(path .. "/ghast.lua")
dofile(path .. "/wither.lua")
dofile(path .. "/zombiepig.lua")
if minetest.settings:get_bool("log_mods") then