peahat and some textures

master
D00Med 2016-12-02 18:51:56 +10:00
parent fdfd2f1f49
commit ff39fa4615
19 changed files with 57 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

View File

@ -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",

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 728 B

After

Width:  |  Height:  |  Size: 401 B

View File

@ -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

Binary file not shown.

45
mods/mobs_loz/peahat.lua Normal file
View File

@ -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)

View File

@ -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,

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 B

After

Width:  |  Height:  |  Size: 192 B