1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-15 20:20:28 +02:00

MT5 translation for computer mod

- remove homedecor_common from depends since no longer required
- luacheck line length fix
- add screwdriver in optional_depends
This commit is contained in:
Louis Royer
2020-08-04 19:44:20 +02:00
parent 9a814da186
commit 55e1714cac
16 changed files with 378 additions and 22 deletions

View File

@ -1,4 +1,4 @@
local S = homedecor.gettext
local S = minetest.get_translator("computer")
local shapes = {
{ { x = {0, 1, 0, 1}, y = {0, 0, 1, 1} } },
@ -250,7 +250,7 @@ minetest.register_node("computer:tetris_arcade", {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3},
on_rotate = screwdriver.rotate_simple,
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}