1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-19 16:50:31 +01:00

add loading mob wolf and corrected wrong variable

added dofile() for wolf.lua in init.lua
corrected hp_max --> hp_min in wolf.lua
This commit is contained in:
crabman77 2015-03-03 14:36:13 +01:00
parent 5b15099dae
commit 54335603e5
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ dofile(minetest.get_modpath("mobs").."/oerkki.lua")
dofile(minetest.get_modpath("mobs").."/sandmonster.lua") dofile(minetest.get_modpath("mobs").."/sandmonster.lua")
dofile(minetest.get_modpath("mobs").."/stonemonster.lua") dofile(minetest.get_modpath("mobs").."/stonemonster.lua")
dofile(minetest.get_modpath("mobs").."/treemonster.lua") dofile(minetest.get_modpath("mobs").."/treemonster.lua")
dofile(minetest.get_modpath("mobs").."/wolf.lua")
-- Zmobs by Zeg9 -- Zmobs by Zeg9

View File

@ -2,7 +2,7 @@
mobs:register_mob("mobs:wolf", { mobs:register_mob("mobs:wolf", {
type = "monster", type = "monster",
hp_max = 15, hp_min = 15,
hp_max = 20, hp_max = 20,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
visual = "mesh", visual = "mesh",