Skip to content

Commit

Permalink
Settings: Add missing settings to settingtypes.txt
Browse files Browse the repository at this point in the history
Conf.example: Remove quotes from bones modes. Setting does not work
if quotes are used.
  • Loading branch information
paramat committed Jun 3, 2018
1 parent e376d57 commit bcf76ea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
8 changes: 4 additions & 4 deletions minetest.conf.example
Expand Up @@ -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.
Expand Down
13 changes: 12 additions & 1 deletion settingtypes.txt
Expand Up @@ -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
Expand Down

0 comments on commit bcf76ea

Please sign in to comment.