mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-09-12 00:56:53 +02:00
Update screwdriver mod for MT 5.0.0
This commit is contained in:
parent
3de818d2c2
commit
eeac1435f9
@ -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
|
||||
|
2
mods/ITEMS/screwdriver/locale/screwdriver.de.tr
Normal file
2
mods/ITEMS/screwdriver/locale/screwdriver.de.tr
Normal file
@ -0,0 +1,2 @@
|
||||
# textdomain: screwdriver
|
||||
Screwdriver=Schraubendreher
|
2
mods/ITEMS/screwdriver/locale/template.txt
Normal file
2
mods/ITEMS/screwdriver/locale/template.txt
Normal file
@ -0,0 +1,2 @@
|
||||
#textdomain: screwdriver
|
||||
Screwdriver=
|
Loading…
Reference in New Issue
Block a user