forked from mtcontrib/pmobs
Compare commits
3 Commits
nalc-1.2.0
...
master
Author | SHA1 | Date | |
---|---|---|---|
89709f9c28 | |||
fe6cf0cc27 | |||
81d7c99477 |
@ -1,5 +0,0 @@
|
||||
default
|
||||
mobs
|
||||
maptools?
|
||||
zombie?
|
||||
snow?
|
2
init.lua
2
init.lua
@ -14,7 +14,7 @@ dofile(minetest.get_modpath("pmobs").."/npc.lua") -- TenPlus1
|
||||
dofile(minetest.get_modpath("pmobs").."/npc_female.lua") -- NALC(sys4 fork MFF) nuttmeg20
|
||||
dofile(minetest.get_modpath("pmobs").."/guard.lua") -- CProgrammingRU
|
||||
|
||||
if minetest.setting_get("log_mods") then
|
||||
if minetest.settings:get("log_mods") then
|
||||
minetest.log("action", "pmobs loaded")
|
||||
end
|
||||
|
||||
|
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, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=1},
|
||||
}, 0)
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_mob = function(self, player)
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=1},
|
||||
}, 0)
|
||||
}, nil)
|
||||
end,
|
||||
|
||||
hit_node = function(self, pos, node)
|
||||
|
Reference in New Issue
Block a user