From 783385120c5c7e41be8ab95cfa1c4ea10cc8aa21 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Thu, 5 Jul 2018 01:23:41 +0300 Subject: publish the mini saw --- technic/init.lua | 2 ++ technic/tools/chainsaw.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/technic/init.lua b/technic/init.lua index 0d97319..56abfbd 100644 --- a/technic/init.lua +++ b/technic/init.lua @@ -11,6 +11,8 @@ technic.creative_mode = minetest.settings:get_bool("creative_mode") local modpath = minetest.get_modpath("technic") technic.modpath = modpath +-- there should be a way to distinguish this fork from others +technic.vendorstring = "linuxforks" -- Boilerplate to support intllib if rawget(_G, "intllib") then diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua index 4f385af..018f675 100644 --- a/technic/tools/chainsaw.lua +++ b/technic/tools/chainsaw.lua @@ -589,7 +589,7 @@ minetest.register_tool("technic:chainsaw_mini", { stack_max = 1, wear_represents = "technic_RE_charge", on_refill = technic.refill_RE_charge, - groups = {not_in_creative_inventory = 1}, +-- groups = {not_in_creative_inventory = 1}, on_use = function(itemstack, user, pointed_thing) use_chainsaw(itemstack, user, pointed_thing, nil) return(itemstack) -- cgit v1.2.3