forked from Mineclonia/Mineclonia
Hide screwdriver
This commit is contained in:
parent
231493cb1b
commit
febcb96bb0
|
@ -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 New Issue