Skip to content

Commit bcf76ea

Browse files
authoredJun 3, 2018
Settings: Add missing settings to settingtypes.txt
Conf.example: Remove quotes from bones modes. Setting does not work if quotes are used.
1 parent e376d57 commit bcf76ea

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed
 

‎minetest.conf.example

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
#creative_mode = false
99

1010
# Sets the behaviour of the inventory items when a player dies.
11-
# "bones": Store items in a bone node but drop items if inside protected area.
12-
# "drop": Drop items on the ground.
13-
# "keep": Player keeps items.
14-
#bones_mode = "bones"
11+
# bones: Store items in a bone node but drop items if inside protected area.
12+
# drop: Drop items on the ground.
13+
# keep: Player keeps items.
14+
#bones_mode = bones
1515

1616
# The time in seconds after which the bones of a dead player can be looted by
1717
# everyone.

‎settingtypes.txt

+12-1
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,21 @@ enable_tnt (TNT) bool true
3939
# The radius in which nodes will be destroyed by a TNT explosion.
4040
tnt_radius (TNT radius) int 3 0
4141

42+
# Sets the behaviour of the inventory items when a player dies.
43+
# bones: Store items in a bone node but drop items if inside protected area.
44+
# drop: Drop items on the ground.
45+
# keep: Player keeps items.
46+
bones_mode (Bones mode) enum bones bones,drop,keep
47+
4248
# The time in seconds after which the bones of a dead player can be looted
4349
# by everyone.
4450
# Setting this to 0 will disable sharing of bones completely.
45-
share_bones_time (Bone share time) int 1200 0
51+
share_bones_time (Bones share time) int 1200 0
52+
53+
# How much earlier the bones of a dead player can be looted by
54+
# everyone if the player dies in a protected area they don't own.
55+
# 0 to disable. By default it is "share_bones_time" divide by four.
56+
share_bones_time_early (Earlier bones share time) int 300 0
4657

4758
# Inform player of condition and location of new bones.
4859
bones_position_message (Inform player about bones) bool false

0 commit comments

Comments
 (0)
Please sign in to comment.