Posted: Wed Dec 28, 2011 03:52
I can't use the 0.4 version of the mod... Minetest says that it couldn't load... PLEASE SOMEONE HELP ME!
I use minetest-0.4.dev-20111209
I use minetest-0.4.dev-20111209
The official Minetest discussion board
https://forum.minetest.net/
For ME the answer was to [re]compile newest minetest from github.MrThebuilder3 wrote:for me it says ..\data\mods\animals\init.lua attempt to call field 'get_modpath' (a nil value)
i'll try thatHackeridze wrote:For ME the answer was to [re]compile newest minetest from github.MrThebuilder3 wrote:for me it says ..\data\mods\animals\init.lua attempt to call field 'get_modpath' (a nil value)
I swear, that looks EXACTLY like the sheep face from minecraft 0.oGaming4JC wrote:
Code: Select all
minetest.register_entity(":animals:sheep",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:sheep_naked",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:deer",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:cow",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:big_red",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)