1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-16 06:50:18 +01:00
minetest_game/mods/binoculars
paramat 2824e4bb7c 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).
2017-12-04 02:54:20 +00:00
..
textures Add binoculars mod with binoculars item to allow zoom 2017-10-13 05:32:18 +01:00
depends.txt Add binoculars mod with binoculars item to allow zoom 2017-10-13 05:32:18 +01:00
init.lua Binoculars: Update to use 'zoom_fov' player property 2017-12-04 02:54:20 +00:00
license.txt Add binoculars mod with binoculars item to allow zoom 2017-10-13 05:32:18 +01:00
README.txt Binoculars: Update to use 'zoom_fov' player property 2017-12-04 02:54:20 +00:00

Minetest Game mod: binoculars
=============================
See license.txt for license information.

Authors of source code
----------------------
paramat (MIT)

Authors of media (textures)
---------------------------
paramat (CC BY-SA 3.0):
  binoculars_binoculars.png

Crafting
--------
binoculars:binoculars

default:obsidian_glass O
default:bronze_ingot B

O_O
BBB
O_O

Usage
-----
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 this zoom 'use' (leftclick) the
item.

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.