Make wrench available in creative mode only
authorZefram <zefram@fysh.org>
Fri, 22 Aug 2014 00:07:38 +0000 (01:07 +0100)
committerZefram <zefram@fysh.org>
Fri, 22 Aug 2014 00:07:38 +0000 (01:07 +0100)
The wrench is far too powerful to be available to survival-mode players
via a cheap recipe.

wrench/init.lua

index f0a0e008a53205b8fcd02543bb5c190df84c7286..e8260943055abc492d4e043993be9f705ec6a8f9 100644 (file)
@@ -6,6 +6,9 @@ with items or metadata that needs perserving.
 The wrench has the same tool capability as the normal hand.
 To pickup a node simply right click on it. If the node contains a formspec,
 you will need to shift+right click instead.
+Because it enables arbitrary nesting of chests, and so allows the player
+to carry an unlimited amount of material at once, this wrench is not
+available to survival-mode players.
 --]]
 
 local LATEST_SERIALIZATION_VERSION = 1
@@ -161,12 +164,3 @@ minetest.register_tool("wrench:wrench", {
                return itemstack
        end,
 })
-
-minetest.register_craft({
-       output = "wrench:wrench",
-       recipe = {
-               {"technic:carbon_steel_ingot", "",                           "technic:carbon_steel_ingot"},
-               {"",                           "technic:carbon_steel_ingot", ""},
-               {"",                           "technic:carbon_steel_ingot", ""},
-       },
-})