This commit is contained in:
KuacGraxa 2023-05-07 14:24:23 -03:00
parent 42e23013fe
commit 2536387a31
5 changed files with 16 additions and 3 deletions

View File

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

Binary file not shown.

View File

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

View File

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