basic_robot/scripts/player_appearance.lua
rnd1 046bcc445a -new robot scripts
-puzzle privs, puzzle mechanics
2017-10-21 15:40:52 +02:00

21 lines
482 B
Lua

if not init then
self.set_properties({
visual = "mesh", mesh = "character.b3d",
textures = {"character.png"},
visual_size = {x = 2, y = 2}
});
move.up()
init = 1;
animation = {
-- Standard animations.
stand = { x= 0, y= 79, },
lay = { x=162, y=166, },
walk = { x=168, y=187, },
mine = { x=189, y=198, },
walk_mine = { x=200, y=219, },
sit = { x= 81, y=160, },
}
self.set_animation(animation.stand.x,animation.stand.y, 15, 0)
t=0
end