From: Paramat Date: Sat, 3 Aug 2019 19:51:58 +0000 (+0100) Subject: Make the creative mod hand dig 'dig_immediate' nodes fast X-Git-Tag: 5.1.0~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2063fcd07556fdb979ed355600e9baf2b3fe6bc7;p=oweals%2Fminetest_game.git Make the creative mod hand dig 'dig_immediate' nodes fast Engine change now makes this possible. --- diff --git a/mods/creative/init.lua b/mods/creative/init.lua index 0f8d4dba..d1878f6a 100644 --- a/mods/creative/init.lua +++ b/mods/creative/init.lua @@ -54,6 +54,9 @@ if creative_mode_cache then snappy = caps, choppy = caps, oddly_breakable_by_hand = caps, + -- dig_immediate group doesn't use value 1. Value 3 is instant dig + dig_immediate = + {times = {[2] = digtime, [3] = 0}, uses = 0, maxlevel = 256}, }, damage_groups = {fleshy = 10}, }