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:
parent
5b15099dae
commit
54335603e5
@ -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
|
||||||
|
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user