Adjust default key settings

This commit is contained in:
Hybrid Dog 2017-09-08 20:38:20 +02:00
parent 9de8d39af6
commit c21158ffab
2 changed files with 4 additions and 4 deletions

View File

@ -10,10 +10,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") or false
"item_drop.pickup_keyinvert") ~= false
local keytype
if key_triggered then
keytype = minetest.settings:get("item_drop.pickup_keytype") or "Use"
keytype = minetest.settings:get("item_drop.pickup_keytype") or "Sneak"
end
local damage_enabled = minetest.settings:get_bool("enable_damage")

View File

@ -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 false
item_drop.pickup_keyinvert (Invert pickup key) bool true
#What keytype to use as pickup key
item_drop.pickup_keytype (Pickup keytype) enum Use Use,Sneak,LeftAndRight,RMB,SneakAndRMB
item_drop.pickup_keytype (Pickup keytype) enum Sneak Use,Sneak,LeftAndRight,RMB,SneakAndRMB
#The volume of the pickup sound
item_drop.pickup_sound_gain (Pickup sound gain) float 0.4