Герхард PICCORO Lenz McKAY 19d207f8e4 changing namesspace from dmobs to mobs_doomed
* fix missing coloms and brackleds in follow and drops of mobs
* change name of mod to mobs_doomed in all files
* an older definition still references to nyancat so make a symlink
2022-01-24 15:32:17 -04:00

23 lines
532 B
Lua

mobs:register_arrow("mobs_doomed:sting", {
visual = "sprite",
visual_size = {x = 0.5, y = 0.5},
textures = {"dmobs_sting.png"},
velocity = 8,
tail = 0, -- enable tail
tail_texture = "fire_basic_flame.png",
hit_player = function(self, player)
player:punch(self.object, 1.0, {
full_punch_interval = 1.0,
damage_groups = {fleshy = 1},
}, nil)
end,
hit_mob = function(self, player)
end,
hit_node = function(self, pos, node)
self.object:remove()
end,
})