mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-07 06:06:10 -04:00
Binoculars: Update to use 'zoom_fov' player property
In survival mode, zoom is disabled, the binoculars item is needed to allow a zoom with a 10 degree FOV, realistic for compact binoculars. Creative mode or per-player creative privilege allows a zoom with a 15 degree field of view (the default MT engine zoom FOV).
This commit is contained in:
parent
ed83e30d68
commit
2824e4bb7c
2 changed files with 17 additions and 12 deletions
|
@ -24,12 +24,14 @@ O_O
|
|||
|
||||
Usage
|
||||
-----
|
||||
In survival mode, use of zoom requires the binoculars item in your inventory.
|
||||
In survival mode, use of zoom requires the binoculars item in your inventory,
|
||||
they will allow a 10 degree field of view.
|
||||
It can take up to 5 seconds for adding to or removal from inventory to have an
|
||||
effect, however to instantly allow the use of zoom 'use' (leftclick) the item.
|
||||
effect, however to instantly allow the use of this zoom 'use' (leftclick) the
|
||||
item.
|
||||
|
||||
Zoom is automatically allowed in creative mode and for any player with the
|
||||
'creative' privilege.
|
||||
Zoom with a field of view of 15 degrees is automatically allowed in creative
|
||||
mode and for any player with the 'creative' privilege.
|
||||
|
||||
The 'binoculars.update_player_property()' function is global so can be
|
||||
redefined by a mod for alternative behaviour.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue