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

Version MFF.

This commit is contained in:
sys4-fr
2018-09-07 22:32:38 +02:00
parent 2d0363f3ac
commit a11527ed63
1027 changed files with 8090 additions and 37753 deletions

0
plasmascreen/README.md Normal file → Executable file
View File

3
plasmascreen/depends.txt Normal file → Executable file
View File

@ -1,2 +1 @@
default
homedecor
default

13
plasmascreen/init.lua Normal file → Executable file
View File

@ -1,10 +1,7 @@
local S = homedecor_i18n.gettext
screwdriver = screwdriver or {}
minetest.register_node("plasmascreen:stand", {
description = S("Plasma Screen TV Stand"),
description = "Plasma Screen TV Stand",
tiles = {"plasmascreen_back.png"},
paramtype = "light",
paramtype2 = "facedir",
@ -97,7 +94,7 @@ local function checkwall(pos)
end
minetest.register_node("plasmascreen:tv", {
description = S("Plasma TV"),
description = "Plasma TV",
drawtype = "mesh",
mesh = "plasmascreen_tv.obj",
tiles = {
@ -127,13 +124,13 @@ minetest.register_node("plasmascreen:tv", {
return true -- "API: If return true no item is taken from itemstack"
end
end,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
on_punch = function(pos, node, puncher, pointed_thing)
minetest.set_node(pos, {name = "plasmascreen:tv_off", param2 = node.param2})
end
})
minetest.register_node("plasmascreen:tv_off", {
description = S("Plasma TV (off)"),
description = "Plasma TV (off)",
drawtype = "mesh",
mesh = "plasmascreen_tv.obj",
tiles = {
@ -155,7 +152,7 @@ minetest.register_node("plasmascreen:tv_off", {
return true -- "API: If return true no item is taken from itemstack"
end
end,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
on_punch = function(pos, node, puncher, pointed_thing)
minetest.set_node(pos, {name = "plasmascreen:tv", param2 = node.param2})
end,
drop = "plasmascreen:tv"

0
plasmascreen/models/plasmascreen_tv.obj Normal file → Executable file
View File

BIN
plasmascreen/textures/plasmascreen_back.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 225 B

0
plasmascreen/textures/plasmascreen_case.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
plasmascreen/textures/plasmascreen_case_off.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
plasmascreen/textures/plasmascreen_screen_off.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 324 B

After

Width:  |  Height:  |  Size: 324 B

BIN
plasmascreen/textures/plasmascreen_tv_inv.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

After

Width:  |  Height:  |  Size: 121 B

0
plasmascreen/textures/plasmascreen_video.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB