Revert "Adjust default key settings"

This reverts commit 3bc3a4bd25d445e0fbffe0158140a13346ced041.
This commit is contained in:
Hybrid Dog 2017-09-12 09:55:16 +02:00
parent bf9931d6db
commit 0f903cd0b0
2 changed files with 4 additions and 4 deletions

@ -15,10 +15,10 @@ if minetest.settings:get_bool("item_drop.enable_item_pickup") ~= false then
local key_triggered = minetest.settings:get_bool(
"item_drop.enable_pickup_key") ~= false
local key_invert = minetest.settings:get_bool(
"item_drop.pickup_keyinvert") ~= false
"item_drop.pickup_keyinvert") or false
local keytype
if key_triggered then
keytype = minetest.settings:get("item_drop.pickup_keytype") or "Sneak"
keytype = minetest.settings:get("item_drop.pickup_keytype") or "Use"
end
local magnet_mode = magnet_radius > pickup_radius

@ -8,10 +8,10 @@ item_drop.enable_item_drop (Enable item drops) bool true
item_drop.enable_pickup_key (Use pickup key) bool true
#Collect items when the key is not pressed instead of when it is pressed
item_drop.pickup_keyinvert (Invert pickup key) bool true
item_drop.pickup_keyinvert (Invert pickup key) bool false
#What keytype to use as pickup key
item_drop.pickup_keytype (Pickup keytype) enum Sneak Use,Sneak,LeftAndRight,RMB,SneakAndRMB
item_drop.pickup_keytype (Pickup keytype) enum Use Use,Sneak,LeftAndRight,RMB,SneakAndRMB
#The volume of the pickup sound
item_drop.pickup_sound_gain (Pickup sound gain) float 0.4