1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Restore old inconsistent minimum digging time behavior (#14777)

and restore default of 0.16 for repeat_place_time since it was only changed to be in line with repeat_dig_time.
This commit is contained in:
grorp 2024-06-30 20:39:28 +02:00 committed by GitHub
parent 868b548dd0
commit 7709d92289
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 38 additions and 9 deletions

View file

@ -71,7 +71,7 @@ end
-- Mese Pickaxe: special tool that digs "everything" instantly
minetest.register_tool("basetools:pick_mese", {
description = "Mese Pickaxe".."\n"..
"Digs diggable nodes instantly",
"Digs diggable nodes instantly.",
inventory_image = "basetools_mesepick.png",
tool_capabilities = {
full_punch_interval = 1.0,
@ -88,6 +88,28 @@ minetest.register_tool("basetools:pick_mese", {
})
-- A variant of the mese pickaxe that is not affected by the 0.15s digging delay
minetest.register_tool("basetools:pick_mese_no_delay", {
description = "Mese Pickaxe (no delay)".."\n"..
"Digs diggable nodes instantly.".."\n"..
"There is no delay between digging each node,\n"..
'but the "repeat_dig_time" setting is still respected.',
inventory_image = "basetools_mesepick_no_delay.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
cracky={times={[1]=0.001, [2]=0.001, [3]=0.001}, maxlevel=255},
crumbly={times={[1]=0.001, [2]=0.001, [3]=0.001}, maxlevel=255},
snappy={times={[1]=0.001, [2]=0.001, [3]=0.001}, maxlevel=255},
choppy={times={[1]=0.001, [2]=0.001, [3]=0.001}, maxlevel=255},
dig_immediate={times={[1]=0.001, [2]=0.001, [3]=0.001}, maxlevel=255},
},
damage_groups = {fleshy=100},
},
})
--
-- Pickaxes: Dig cracky
--

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B