mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Hide screwdriver
This commit is contained in:
parent
231493cb1b
commit
febcb96bb0
2 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,7 @@ end
|
||||||
minetest.register_tool("screwdriver:screwdriver", {
|
minetest.register_tool("screwdriver:screwdriver", {
|
||||||
description = S("Screwdriver"),
|
description = S("Screwdriver"),
|
||||||
inventory_image = "screwdriver.png",
|
inventory_image = "screwdriver.png",
|
||||||
groups = { tool = 1 },
|
groups = { tool = 1, not_in_creative_inventory = 1 },
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200)
|
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200)
|
||||||
return itemstack
|
return itemstack
|
||||||
|
|
|
@ -15,6 +15,7 @@ local wip_items = {
|
||||||
"mobs_mc:wither",
|
"mobs_mc:wither",
|
||||||
"mobs_mc:parrot",
|
"mobs_mc:parrot",
|
||||||
"mobs_mc:witch",
|
"mobs_mc:witch",
|
||||||
|
"screwdriver:screwdriver",
|
||||||
}
|
}
|
||||||
local experimental_items = {
|
local experimental_items = {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue