From 397a701f985f918cf8403802575045435de40c9a Mon Sep 17 00:00:00 2001 From: Ben Deutsch Date: Thu, 24 Aug 2017 08:30:46 +0200 Subject: 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 --- builtin/settingtypes.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'builtin') 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 -- cgit v1.2.3