From bcf76eab1d8ad4939a6c9e48b207ac083bccd651 Mon Sep 17 00:00:00 2001 From: Paramat Date: Mon, 4 Jun 2018 00:01:56 +0100 Subject: [PATCH] Settings: Add missing settings to settingtypes.txt Conf.example: Remove quotes from bones modes. Setting does not work if quotes are used. --- minetest.conf.example | 8 ++++---- settingtypes.txt | 13 ++++++++++++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index 08365e11..452251e1 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -8,10 +8,10 @@ #creative_mode = false # Sets the behaviour of the inventory items when a player dies. -# "bones": Store items in a bone node but drop items if inside protected area. -# "drop": Drop items on the ground. -# "keep": Player keeps items. -#bones_mode = "bones" +# bones: Store items in a bone node but drop items if inside protected area. +# drop: Drop items on the ground. +# keep: Player keeps items. +#bones_mode = bones # The time in seconds after which the bones of a dead player can be looted by # everyone. diff --git a/settingtypes.txt b/settingtypes.txt index 4f930a8b..7f6a12ba 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -39,10 +39,21 @@ enable_tnt (TNT) bool true # The radius in which nodes will be destroyed by a TNT explosion. tnt_radius (TNT radius) int 3 0 +# Sets the behaviour of the inventory items when a player dies. +# bones: Store items in a bone node but drop items if inside protected area. +# drop: Drop items on the ground. +# keep: Player keeps items. +bones_mode (Bones mode) enum bones bones,drop,keep + # The time in seconds after which the bones of a dead player can be looted # by everyone. # Setting this to 0 will disable sharing of bones completely. -share_bones_time (Bone share time) int 1200 0 +share_bones_time (Bones share time) int 1200 0 + +# How much earlier the bones of a dead player can be looted by +# everyone if the player dies in a protected area they don't own. +# 0 to disable. By default it is "share_bones_time" divide by four. +share_bones_time_early (Earlier bones share time) int 300 0 # Inform player of condition and location of new bones. bones_position_message (Inform player about bones) bool false -- 2.25.1