From 4270749e34ddec603da1d1c779254b027c276f27 Mon Sep 17 00:00:00 2001 From: Dirk Sohler Date: Sat, 11 Apr 2020 03:37:44 +0200 Subject: [PATCH] =?UTF-8?q?update=20=E2=80=9Croutes=E2=80=9D=20for=20node?= =?UTF-8?q?=20crushing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/crush_nodes.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/system/crush_nodes.lua b/system/crush_nodes.lua index 8e3a38e..8874154 100644 --- a/system/crush_nodes.lua +++ b/system/crush_nodes.lua @@ -1,18 +1,21 @@ -- Register replacements for the hammer. Entry ID is the ID of the node to -- replace and entry value is the ID of the node to replace with. local replacements = { - -- sefault stone crushing + -- obsidian -> stone -> cobble -> gravel -> sand ['default:obsidian'] = 'default:stone', ['default:stone'] = 'default:cobble', ['default:cobble'] = 'default:gravel', ['default:gravel'] = 'default:sand', -- sandstone types to sand ['default:sandstone'] = 'default:sand', - ['default:desert_sandstone'] = 'default:desert_cobble', - ['default:desert_cobble'] = 'default:desert_sand', + ['default:desert_sandstone'] = 'default:desert_sand', ['default:silver_sandstone'] = 'default:silver_sand', + -- desert stone -> desert cobble -> desert sand + ['default:desert_stone'] = 'default:desert_cobble', + ['default:desert_cobble'] = 'default:desert_sand', } + -- Get a node sound -- -- This helper function returns a sound table or nil depending on wheter the