peahat and some textures
Before Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 777 B |
After Width: | Height: | Size: 889 B |
After Width: | Height: | Size: 841 B |
After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 163 B |
|
@ -199,6 +199,16 @@ end)
|
|||
|
||||
--tools
|
||||
|
||||
minetest.register_tool("hyruletools:magglv_n", {
|
||||
description = "Magnetic Glove (N)",
|
||||
inventory_image = "hyruletools_magglv_n.png",
|
||||
wield_image = "hyruletools_magglv_n.png",
|
||||
on_use = function(itemstack, placer, pointed_thing)
|
||||
local pos = user:getpos()
|
||||
local dir = user:get_look_dir()
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_tool("hyruletools:shield_classic", {
|
||||
description = "Classic Shield",
|
||||
|
|
After Width: | Height: | Size: 281 B |
After Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 401 B |
|
@ -16,4 +16,5 @@ dofile(path.."/ganon.lua") -- D00Med
|
|||
dofile(path.."/midna.lua")
|
||||
dofile(path.."/subrosian.lua")
|
||||
dofile(path.."/redead.lua")
|
||||
dofile(path.."/peahat.lua")
|
||||
end
|
|
@ -0,0 +1,45 @@
|
|||
|
||||
|
||||
mobs:register_mob("mobs_loz:peahat", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
reach = 3,
|
||||
damage = 2,
|
||||
attack_type = "dogfight",
|
||||
hp_min = 7,
|
||||
hp_max = 12,
|
||||
armor = 130,
|
||||
collisionbox = {-0.3, 0, -0.3, 0.3, 0.5, 0.3},
|
||||
visual = "mesh",
|
||||
mesh = "peahat.b3d",
|
||||
textures = {
|
||||
{"mobs_peahat.png"},
|
||||
},
|
||||
makes_footstep_sound = false,
|
||||
walk_velocity = 0,
|
||||
run_velocity = 2,
|
||||
jump = false,
|
||||
stepheight = 1.5,
|
||||
water_damage = 1,
|
||||
lava_damage = 2,
|
||||
light_damage = 0,
|
||||
view_range = 10,
|
||||
drops = {
|
||||
{name = "hyruletools:blue_rupee",
|
||||
chance = 5, min = 1, max = 3},
|
||||
},
|
||||
animation = {
|
||||
speed_normal = 7,
|
||||
speed_run = 12,
|
||||
walk_start = 20,
|
||||
walk_end = 40,
|
||||
stand_start = 20,
|
||||
stand_end = 40,
|
||||
run_start = 6,
|
||||
run_end = 14,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_loz:peahat", {"default:dirt_with_dry_grass","default:dirt_with_grass3",}, 5, 0, 7000, 1, 31000)
|
||||
|
||||
mobs:register_egg("mobs_loz:peahat", "Peahat", "default_dry_grass.png", 1)
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
playereffects.register_effect_type("paralysed", "Paralysed", nil, {"speed"},
|
||||
function(player)
|
||||
player:set_physics_override(0,0,nil)
|
||||
player:set_physics_override(0.001,0,nil)
|
||||
physics_overriden = true
|
||||
end,
|
||||
|
||||
|
|
After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 192 B |