summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2014-08-22 01:07:38 +0100
committerZefram <zefram@fysh.org>2014-08-22 01:07:38 +0100
commit0cf4133b9718b95dc65b5357892255a5115919e8 (patch)
treebb36ae69ccd68d8e29fc4b47bdee487b2338315f
parent7ab3f9bed267598791856ca984616e9401e28708 (diff)
Make wrench available in creative mode only
The wrench is far too powerful to be available to survival-mode players via a cheap recipe.
-rw-r--r--wrench/init.lua12
1 files changed, 3 insertions, 9 deletions
diff --git a/wrench/init.lua b/wrench/init.lua
index f0a0e00..e826094 100644
--- a/wrench/init.lua
+++ b/wrench/init.lua
@@ -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", ""},
- },
-})