1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-04 09:00:22 +02:00

Begin the mobs update

This commit is contained in:
Ombridride
2015-03-25 17:25:54 +01:00
parent e2a49d6552
commit 8d45d416be
11 changed files with 47 additions and 35 deletions

View File

@ -446,7 +446,7 @@ function mobs:register_mob(name, def)
--print ("spawned baby:",self.name)
local mob = minetest.add_entity(pos, self.name)
local ent2 = mob:get_luaentity()
local texture = self.base_texture
local textures = self.base_texture
if def.child_texture then
print ("child texture detected")
textures = def.child_texture[1]