diff --git a/mods/bg_player/init.lua b/mods/bg_player/init.lua index de66f03..2d90b8f 100644 --- a/mods/bg_player/init.lua +++ b/mods/bg_player/init.lua @@ -1,3 +1,5 @@ load_file("hand") + load_file("run") load_file("step_height") +load_file("misc") diff --git a/mods/bg_player/misc.lua b/mods/bg_player/misc.lua new file mode 100644 index 0000000..251abce --- /dev/null +++ b/mods/bg_player/misc.lua @@ -0,0 +1,9 @@ +local utils = load_file("util_misc") + +minetest.register_on_joinplayer(function(player) + utils.handle_player(player, function (_, data) + data.properties.pointable = false + data.properties.zoom_fov = 15 + data.properties.eye_height = 1.7 + end) +end)