Safe digging and placing (#6127)

* Setting: Safe digging and placing

* New setting 'safe_dig_and_place' under Controls
* If set, digging and placing will not auto-repeat
* Releasing buttons unblocks the respective action again
* Useful for inexperienced users in creative mode where default
  repeat times may be too short

* Safe placing (right click repetition) does not need a guarding flag

* Added new setting to minetest.conf.example
This commit is contained in:
Ben Deutsch
2017-08-24 08:30:46 +02:00
committed by Loïc Blot
parent c7160cb629
commit 397a701f98
4 changed files with 22 additions and 1 deletions

View File

@@ -75,6 +75,11 @@
# type: float
# repeat_rightclick_time = 0.25
# Prevent digging and placing from repeating when holding the mouse buttons.
# Enable this when you dig or place too often by accident.
# type: bool
# safe_dig_and_place = false
# Enable random user input (only used for testing).
# type: bool
# random_input = false