From ce0ca11f313e007e950078ae745a1e1089d37b5c Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Tue, 2 May 2023 17:12:25 +0200 Subject: [PATCH] less unnecesary crap code --- mods/player_api/init.lua | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/mods/player_api/init.lua b/mods/player_api/init.lua index 94b058a..45654af 100644 --- a/mods/player_api/init.lua +++ b/mods/player_api/init.lua @@ -5,17 +5,18 @@ dofile(minetest.get_modpath("player_api") .. "/api.lua") player_api.register_model("amogus_entity.obj", { animation_speed = 30, textures = {"amogus_entity.png"}, - animations = { - -- Standard animations. - stand = {x = 0, y = 79}, - lay = {x = 162, y = 166, eye_height = 0.3, override_local = true, - collisionbox = {-0.6, 0.0, -0.6, 0.6, 0.3, 0.6}}, - walk = {x = 168, y = 187}, - mine = {x = 189, y = 198}, - walk_mine = {x = 200, y = 219}, - sit = {x = 81, y = 160, eye_height = 0.8, override_local = true, - collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.0, 0.3}} - }, + --animations = { + -- -- Standard animations. + -- stand = {x = 0, y = 79}, + -- lay = {x = 162, y = 166, eye_height = 0.3, override_local = true, + -- collisionbox = {-0.6, 0.0, -0.6, 0.6, 0.3, 0.6}}, + -- walk = {x = 168, y = 187}, + -- mine = {x = 189, y = 198}, + -- walk_mine = {x = 200, y = 219}, + -- sit = {x = 81, y = 160, eye_height = 0.8, override_local = true, + -- collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.0, 0.3}} + --}, + animations = {}, stepheight = 0.6, eye_height = 1.47,