From 5cc1abc2301c871a20b69e29e0d0506d384b7b21 Mon Sep 17 00:00:00 2001 From: kakalak-lumberjack Date: Fri, 19 May 2023 09:36:28 -0400 Subject: [PATCH] code clean up --- init.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/init.lua b/init.lua index 500e4f9..26a5013 100644 --- a/init.lua +++ b/init.lua @@ -19,20 +19,12 @@ dofile(minetest.get_modpath("replacer") .. "/hud.lua") minetest.register_tool("replacer:replacer", { description = "Node replacement tool", - groups = {}, inventory_image = "replacer_replacer.png", use_texture_alpha = true, - wield_image = "", - wield_scale = { - x = 1, - y = 1, - z = 1 - }, stack_max = 1, -- it has to store information - thus only one can be stacked liquids_pointable = true, -- it is ok to paint in/with water node_placement_prediction = nil, metadata = "default:dirt", -- default replacement: common dirt - on_place = function(itemstack, placer, pointed_thing) if (placer == nil or pointed_thing == nil) then return itemstack -- nothing consumed