Merge remote-tracking branch 'upstream/master'

This commit is contained in:
2020-08-08 10:04:04 +02:00
506 changed files with 7721 additions and 17815 deletions

19
plasmascreen/.luacheckrc Normal file
View File

@ -0,0 +1,19 @@
unused_args = false
allow_defined_top = true
max_comment_line_length = 999
read_globals = {
"DIR_DELIM",
"minetest", "core",
"unpack",
"dump",
table = { fields = { "copy", "getn" } },
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
"screwdriver",
}
globals = {
}

View File

@ -1,3 +0,0 @@
default
homedecor_common
homedecor_electronics

View File

@ -1,7 +1,6 @@
local S = minetest.get_translator("plasmascreen")
local S = homedecor.gettext
screwdriver = screwdriver or {}
local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
minetest.register_node("plasmascreen:stand", {
description = S("Plasma Screen TV Stand"),
@ -119,7 +118,7 @@ minetest.register_node("plasmascreen:tv", {
light_source = 10,
selection_box = tv_cbox,
collision_box = tv_cbox,
on_rotate = screwdriver.disallow,
on_rotate = sc_disallow or nil,
groups = {snappy=1, choppy=2, oddly_breakable_by_hand=2},
after_place_node = function(pos, placer, itemstack)
if not checkwall(pos) then
@ -147,7 +146,7 @@ minetest.register_node("plasmascreen:tv_off", {
light_source = 10,
selection_box = tv_cbox,
collision_box = tv_cbox,
on_rotate = screwdriver.disallow,
on_rotate = sc_disallow or nil,
groups = {snappy=1, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
after_place_node = function(pos, placer, itemstack)
if not checkwall(pos) then

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=Plasmafernseherbildschirmständer
Plasma TV=Plasmafernseher
Plasma TV (off)=Plasmafernseher (aus)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=Mesa para televisión de pantalla de plasma
Plasma TV=Televisión de plasma
Plasma TV (off)=Televisión de plasma (apagada)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=Télévision sur pied
Plasma TV=Écran TV géant
Plasma TV (off)=Écran TV géant (éteint)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=Kaki TV Plasma
Plasma TV=TV Plasma
Plasma TV (off)=TV Plasma (tutup)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=Suporte de TV de Plasma
Plasma TV=TV de Plasma
Plasma TV (off)=TV de Plasma (desligada)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=Suporte de TV de Plasma
Plasma TV=TV de Plasma
Plasma TV (off)=TV de Plasma (desligada)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=Подставка для плазменного телевизора
Plasma TV=Плазменный телевизор
Plasma TV (off)=Плазменный телевизор (выключен)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=液晶电视架
Plasma TV=液晶电视
Plasma TV (off)=液晶电视(关闭)

View File

@ -0,0 +1,8 @@
# textdomain: plasmascreen
### init.lua ###
Plasma Screen TV Stand=
Plasma TV=
Plasma TV (off)=

3
plasmascreen/mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = plasmascreen
depends = default, homedecor_common, homedecor_electronics
optional_depends = screwdriver