generated from your-land/yl_template
#4668 no24
This commit is contained in:
parent
bd39e3585c
commit
d5946f5561
@ -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_crafting.lua")
|
||||
dofile(yl_cinema.modpath .. "feature_bigscreen_integration.lua")
|
||||
@ -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)
|
||||
|
||||
8
feature_bigscreen_integration.lua
Normal file
8
feature_bigscreen_integration.lua
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user