hiploop
parent
a7ff067cea
commit
7562a392a5
|
@ -0,0 +1,51 @@
|
|||
mobs:register_mob("mobs_loz:hiploop", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
reach = 1.5,
|
||||
damage = 5,
|
||||
hp_min = 10,
|
||||
hp_max = 20,
|
||||
armor = 100,
|
||||
collisionbox = {-0.3, 0, -0.3, 0.3, 0.5, 0.3},
|
||||
visual = "mesh",
|
||||
mesh = "hiploop.b3d",
|
||||
textures = {
|
||||
{"mobs_hiploop.png"},
|
||||
},
|
||||
view_range = 10,
|
||||
walk_velocity = 2,
|
||||
run_velocity = 3,
|
||||
jumpheight = 3,
|
||||
drops = {
|
||||
{name = "hyruletools:green_rupee",
|
||||
chance = 5, min = 1, max = 3},
|
||||
},
|
||||
on_die = function(self)
|
||||
local pos = self.object:getpos()
|
||||
if math.random(1,4) == 2 then
|
||||
minetest.env:add_entity(pos, "hyruletools:heart_entity")
|
||||
end
|
||||
minetest.env:add_entity(pos, "experience:orb")
|
||||
end,
|
||||
water_damage = 0,
|
||||
lava_damage = 5,
|
||||
light_damage = 0,
|
||||
fear_height = 3,
|
||||
animation = {
|
||||
speed_normal = 12,
|
||||
speed_run = 15,
|
||||
stand_start = 35,
|
||||
stand_end = 55,
|
||||
walk_start = 1,
|
||||
walk_end = 17,
|
||||
run_start = 1,
|
||||
run_end = 17,
|
||||
punch_start = 17,
|
||||
punch_end = 32,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_loz:hiploop", {"hyrule_mapgen:swamp_mud",}, 7, 0, 7000, 2, 31000)
|
||||
|
||||
mobs:register_egg("mobs_loz:hiploop", "Hiploop", "hyrule_mapgen_swampmud.png", 1)
|
|
@ -15,6 +15,7 @@ dofile(path.."/ganon.lua") -- D00Med
|
|||
dofile(path.."/midna.lua")
|
||||
dofile(path.."/subrosian.lua")
|
||||
dofile(path.."/business_scrub.lua")
|
||||
dofile(path.."/hiploop.lua")
|
||||
dofile(path.."/redead.lua")
|
||||
dofile(path.."/tingle.lua")
|
||||
dofile(path.."/peahat.lua")
|
||||
|
|
Binary file not shown.
|
@ -48,7 +48,7 @@ mobs:register_mob("mobs_loz:tektite", {
|
|||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_loz:tektite", {"default:sand", "default:river_water_source", "default:dirt_with_grass2"}, 7, 0, 7000, 2, 31000)
|
||||
mobs:register_spawn("mobs_loz:tektite", {"default:sand", "default:river_water_source", "hyrule_mapgen:swamp_mud"}, 7, 0, 7000, 2, 31000)
|
||||
|
||||
mobs:register_egg("mobs_loz:tektite", "Blue Tektite", "wool_cyan.png", 1)
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue