From c28405b4681c423248f486a47368010d37f396f1 Mon Sep 17 00:00:00 2001 From: wsor <24964441+wsor4035@users.noreply.github.com> Date: Tue, 27 Apr 2021 00:07:02 -0400 Subject: [PATCH] tweak villager and trader visual scales to match player model --- mods/fl_player/init.lua | 2 +- mods/fl_wildlife/fl_mobs/trader.lua | 4 ++-- mods/fl_wildlife/fl_mobs/villager.lua | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mods/fl_player/init.lua b/mods/fl_player/init.lua index d2c6c16..1f3d0db 100644 --- a/mods/fl_player/init.lua +++ b/mods/fl_player/init.lua @@ -22,7 +22,7 @@ minetest.register_on_joinplayer(function(player) mesh = "fl_character.b3d", textures = {"fl_character.png", "fl_trans.png", "fl_trans.png"}, visual = "mesh", - visual_size = {x = 1, y = 1}, + visual_size = {x = 1, y = 1, z = 1}, collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3}, stepheight = 0.6, eye_height = 1.47, diff --git a/mods/fl_wildlife/fl_mobs/trader.lua b/mods/fl_wildlife/fl_mobs/trader.lua index 335af03..3d732bb 100644 --- a/mods/fl_wildlife/fl_mobs/trader.lua +++ b/mods/fl_wildlife/fl_mobs/trader.lua @@ -2,11 +2,11 @@ minetest.register_entity("fl_wildlife:trader", { physical = true, stepheight = 1.1, collide_with_objects = true, - collisionbox = {-0.35, 0, -0.35, 0.35, 1.99, 0.35}, + collisionbox = {-0.35, 0, -0.35, 0.35, 1.9, 0.35}, visual = "mesh", mesh = "farlands_npc_trader.b3d", textures = {"farlands_npc_trader.png"}, - visual_size = {x = 1, y = 1, z = 1}, + visual_size = {x = 0.9, y = 0.9, z = 0.9}, static_save = true, on_step = mobkit.stepfunc, diff --git a/mods/fl_wildlife/fl_mobs/villager.lua b/mods/fl_wildlife/fl_mobs/villager.lua index d3650b7..e2cbafd 100644 --- a/mods/fl_wildlife/fl_mobs/villager.lua +++ b/mods/fl_wildlife/fl_mobs/villager.lua @@ -41,11 +41,11 @@ minetest.register_entity("fl_wildlife:villager", { physical = true, stepheight = 1.1, collide_with_objects = true, - collisionbox = {-0.35, 0, -0.35, 0.35, 1.99, 0.35}, --top y set to 1.99 to walk under 2 nodes + collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3}, --top y set to 1.99 to walk under 2 nodes visual = "mesh", mesh = "farlands_npc_villager.b3d", textures = {"farlands_npc_villager1.png", "farlands_npc_villager2.png"}, - visual_size = {x = 1, y = 1, z = 1}, + visual_size = {x = 0.9, y = 0.9, z = 0.9}, static_save = true, --hp_max = 200,