Zefram
2014-08-22 0cf4133b9718b95dc65b5357892255a5115919e8
Make wrench available in creative mode only

The wrench is far too powerful to be available to survival-mode players
via a cheap recipe.
1 files modified
12 ■■■■ changed files
wrench/init.lua 12 ●●●● patch | view | raw | blame | history
wrench/init.lua
@@ -6,6 +6,9 @@
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
@@ -160,13 +163,4 @@
        player_inv:add_item("main", stack)
        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", ""},
    },
})