1
0
Fork 0

Update screwdriver mod for MT 5.0.0

This commit is contained in:
Wuzzy 2019-12-09 15:14:16 +01:00
parent 3de818d2c2
commit eeac1435f9
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("screwdriver")
screwdriver = {}
screwdriver.ROTATE_FACE = 1
@ -143,8 +145,9 @@ end
-- Screwdriver
minetest.register_tool("screwdriver:screwdriver", {
description = "Screwdriver",
description = S("Screwdriver"),
inventory_image = "screwdriver.png",
groups = { tool = 1 },
on_use = function(itemstack, user, pointed_thing)
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200)
return itemstack

View File

@ -0,0 +1,2 @@
# textdomain: screwdriver
Screwdriver=Schraubendreher

View File

@ -0,0 +1,2 @@
#textdomain: screwdriver
Screwdriver=