diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-05 01:23:41 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-05 01:23:41 +0300 |
commit | 783385120c5c7e41be8ab95cfa1c4ea10cc8aa21 (patch) | |
tree | ac2505776c89493c340b0796005fc63ce3f4ec20 | |
parent | 17961912206c9d185d35bc61de5163984eca686c (diff) |
publish the mini saw
-rw-r--r-- | technic/init.lua | 2 | ||||
-rw-r--r-- | technic/tools/chainsaw.lua | 2 |
2 files changed, 3 insertions, 1 deletions
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) |