mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Merge pull request 'Adjust hand range to mc's 4.5, make hand ranges configurable' (#2792) from hand_range into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2792
This commit is contained in:
commit
53dd88eaea
@ -25,11 +25,11 @@ local groupcaps, hand_range, hand_groups
|
||||
if minetest.is_creative_enabled("") then
|
||||
-- Instant breaking in creative mode
|
||||
groupcaps = { creative_breakable = { times = {0}, uses = 0 } }
|
||||
hand_range = 10
|
||||
hand_range = tonumber(minetest.settings:get("mcl_hand_range_creative")) or 10
|
||||
hand_groups = { dig_speed_class = 7 }
|
||||
else
|
||||
groupcaps = {}
|
||||
hand_range = 4
|
||||
hand_range = tonumber(minetest.settings:get("mcl_hand_range")) or 4.5
|
||||
hand_groups = { dig_speed_class = 1 }
|
||||
end
|
||||
minetest.register_tool(":", {
|
||||
|
@ -69,6 +69,13 @@ mcl_craftguide_progressive_mode (Learn crafting recipes progressively) bool true
|
||||
# If disabled, the skin of all players will be character.png
|
||||
mcl_enable_skin_customization (Enable player skin customization) bool true
|
||||
|
||||
# How far the player hand can reach
|
||||
# Default:4.5
|
||||
mcl_hand_range (Hand range) float 4.5 1 128
|
||||
|
||||
# How far the player hand can reach in creative mode (not gamemode-creative)
|
||||
# Default:10
|
||||
mcl_hand_range_creative (Creative mode hand range) float 10 1 128
|
||||
|
||||
[Mobs]
|
||||
# If enabled, mobs will spawn naturally. This does not affect
|
||||
|
Loading…
Reference in New Issue
Block a user