Commit Graph

2 Commits

Author SHA1 Message Date
paramat 36df80fc45 Binoculars / Map mods: Clarify key-activation of items in descriptions
Map mod:
Tune cyclic update interval.
Re-add HUD flags update on item 'use'.
2017-10-24 07:34:15 +01:00
paramat cc371ac726 Add binoculars mod with binoculars item to allow zoom
Uses the new player object property 'can zoom'.
In survival mode, use of zoom requires the binoculars item in
inventory.
Zoom is automatically allowed in creative mode and for players with
the 'creative' privilege.
The binoculars.update_player_property() function is global so can be
redefined by a mod for alternative behaviour.
2017-10-13 05:32:18 +01:00