forked from mtcontrib/pmobs
Compare commits
2 Commits
81d7c99477
...
master
Author | SHA1 | Date | |
---|---|---|---|
89709f9c28 | |||
fe6cf0cc27 |
@ -1,5 +0,0 @@
|
|||||||
default
|
|
||||||
mobs
|
|
||||||
maptools?
|
|
||||||
zombie?
|
|
||||||
snow?
|
|
5
mod.conf
Normal file
5
mod.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name = pmobs
|
||||||
|
title = PMobs
|
||||||
|
description = This mod uses the Mobs Redo Api to add new mobs to minetest.
|
||||||
|
depends = default,mobs
|
||||||
|
optional_depends = maptools,zombie,snow
|
4
yeti.lua
4
yeti.lua
@ -64,14 +64,14 @@ mobs:register_arrow("pmobs:snowball", {
|
|||||||
player:punch(self.object, 1.0, {
|
player:punch(self.object, 1.0, {
|
||||||
full_punch_interval=1.0,
|
full_punch_interval=1.0,
|
||||||
damage_groups = {fleshy=1},
|
damage_groups = {fleshy=1},
|
||||||
}, 0)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
hit_mob = function(self, player)
|
hit_mob = function(self, player)
|
||||||
player:punch(self.object, 1.0, {
|
player:punch(self.object, 1.0, {
|
||||||
full_punch_interval=1.0,
|
full_punch_interval=1.0,
|
||||||
damage_groups = {fleshy=1},
|
damage_groups = {fleshy=1},
|
||||||
}, 0)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
hit_node = function(self, pos, node)
|
hit_node = function(self, pos, node)
|
||||||
|
Reference in New Issue
Block a user