change miscellaneous player properties.
This commit is contained in:
parent
1aecdeb752
commit
3eb6dc0f94
|
@ -1,3 +1,5 @@
|
|||
load_file("hand")
|
||||
|
||||
load_file("run")
|
||||
load_file("step_height")
|
||||
load_file("misc")
|
||||
|
|
|
@ -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 New Issue