change miscellaneous player properties.
This commit is contained in:
parent
1aecdeb752
commit
3eb6dc0f94
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
load_file("hand")
|
||||
|
||||
load_file("run")
|
||||
load_file("step_height")
|
||||
load_file("misc")
|
||||
|
|
9
mods/bg_player/misc.lua
Normal file
9
mods/bg_player/misc.lua
Normal file
|
@ -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)
|
Loading…
Reference in a new issue