0006
This commit is contained in:
parent
42e23013fe
commit
2536387a31
@ -37,8 +37,8 @@ mobs:register_mob("doctorzombie:doctorzombie", {
|
||||
pathfinding = true,
|
||||
reach = 3,
|
||||
damage = 3,
|
||||
hp_min = 100,
|
||||
hp_max = 100,
|
||||
hp_min = 10,
|
||||
hp_max = 10,
|
||||
armor = 100,
|
||||
collisionbox = {-0.4, 0, -0.4, 0.4, 1.8, 0.4},
|
||||
visual = "mesh",
|
||||
|
BIN
doctorzombie/models/walkingzombie2.b3d
Normal file
BIN
doctorzombie/models/walkingzombie2.b3d
Normal file
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
minetest.register_craftitem("itemx:walkietalkie", {
|
||||
description = " Walkie Talkie",
|
||||
inventory_image = "walkietalkie.png",
|
||||
inventory_image = "walkietalkie.png",
|
||||
--droppable = false,
|
||||
on_use = function() -- msg (player)
|
||||
--minetest.chat_send_all ("HELP ME ,PLEASE...")
|
||||
minetest.sound_play("Walkietalkiesoundeffect", {
|
||||
|
@ -94,6 +94,18 @@ mobs:register_mob("tankzombie:tankzombie", {
|
||||
die_end = 399,
|
||||
|
||||
},
|
||||
|
||||
|
||||
on_spawn = function(self)
|
||||
--local pos = self.object:get_pos()
|
||||
-- Adicionar animação
|
||||
self.object:set_animation({x=430, y=490},30, 0, false)
|
||||
|
||||
-- Pós animação
|
||||
minetest.after(3, function()
|
||||
mobs:set_animation(self, "walk")
|
||||
end)
|
||||
end,
|
||||
|
||||
|
||||
--[[
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user