diff options
author | Ben Deutsch <ben@bendeutsch.de> | 2017-08-24 08:30:46 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-24 08:30:46 +0200 |
commit | 397a701f985f918cf8403802575045435de40c9a (patch) | |
tree | 042be04cd4d558e1563662b2bbbd3e37ac56189a /builtin | |
parent | c7160cb629086df2a32c7dcf4faed4761ec4393e (diff) | |
download | minetest-397a701f985f918cf8403802575045435de40c9a.tar.gz minetest-397a701f985f918cf8403802575045435de40c9a.tar.bz2 minetest-397a701f985f918cf8403802575045435de40c9a.zip |
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
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 298e70669..1ae13a3a6 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -101,6 +101,10 @@ always_fly_fast (Always fly and fast) bool true # The time in seconds it takes between repeated right clicks when holding the right mouse button. repeat_rightclick_time (Rightclick repetition interval) float 0.25 +# Prevent digging and placing from repeating when holding the mouse buttons. +# Enable this when you dig or place too often by accident. +safe_dig_and_place (Safe digging and placing) bool false + # Enable random user input (only used for testing). random_input (Random input) bool false |