This commit is contained in:
AliasAlreadyTaken 2023-06-11 20:42:12 +02:00
parent bd39e3585c
commit d5946f5561
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,4 @@
dofile(yl_cinema.modpath .. "feature_bigscreen_items.lua")
dofile(yl_cinema.modpath .. "feature_bigscreen_entity.lua")
dofile(yl_cinema.modpath .. "feature_bigscreen_crafting.lua")
dofile(yl_cinema.modpath .. "feature_bigscreen_integration.lua")

View File

@ -184,7 +184,7 @@ local function on_receive_fields_node(pos, formname, fields, sender)
end
local bigscreen_block_name = "yl_cinema:bigscreen_base"
yl_cinema.bigscreen_block_name = "yl_cinema:bigscreen_base"
local bigscreen_block_definition = {
description = "Cinema Base",
drawtype = "nodebox",
@ -209,4 +209,4 @@ local bigscreen_block_definition = {
end
}
minetest.register_node(bigscreen_block_name, bigscreen_block_definition)
minetest.register_node(yl_cinema.bigscreen_block_name, bigscreen_block_definition)

View File

@ -0,0 +1,8 @@
if minetest.get_modpath("mesecons_mvps") then
mesecon.register_mvps_stopper(yl_cinema.bigscreen_block_name)
end
if minetest.get_modpath("replacer") and replacer and replacer.blacklist then
replacer.blacklist[yl_cinema.bigscreen_block_name] = true
end