mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-21 23:50:19 +01:00
don't run LBM at every load
This commit is contained in:
parent
634b89c4c6
commit
e9477dd45d
@ -137,7 +137,7 @@ local old_to_color = {
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_bathroom_tiles",
|
||||
label = "Convert bathroom tiles to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_static_bathroom_tiles,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -228,7 +228,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_beds",
|
||||
label = "Convert homedecor static bed nodes to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_bed_nodes,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -187,7 +187,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_books",
|
||||
label = "Convert homedecor books to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_static_books,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -168,7 +168,7 @@ table.insert(homedecor.old_static_chairs, "homedecor:chair")
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_chairs",
|
||||
label = "Convert homedecor chairs to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_static_chairs,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -557,7 +557,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_lighting",
|
||||
label = "Convert homedecor glowlights, table lamps, and standing lamps to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_static_nodes,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
@ -657,7 +657,7 @@ homedecor.old_static_desk_lamps = {
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_desk_lamps",
|
||||
label = "Convert homedecor desk lamps to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_static_desk_lamps,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -73,7 +73,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_shutters",
|
||||
label = "Convert shutter static nodes to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_shutter_nodes,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -230,7 +230,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "homedecor:convert_curtains",
|
||||
label = "Convert static curtain nodes to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_static_curtain_nodes,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -97,7 +97,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "lavalamp:convert",
|
||||
label = "Convert lava lamps to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = lavalamp.old_static_nodes,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -66,7 +66,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "lrfurn:convert_armchairs",
|
||||
label = "Convert lrfurn armchairs to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = lrfurn.old_static_armchairs,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -78,7 +78,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "lrfurn:convert_longsofas",
|
||||
label = "Convert lrfurn long sofas to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = lrfurn.old_static_longsofas,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
@ -78,7 +78,7 @@ end
|
||||
minetest.register_lbm({
|
||||
name = "lrfurn:convert_sofas",
|
||||
label = "Convert lrfurn short sofas to use param2 color",
|
||||
run_at_every_load = true,
|
||||
run_at_every_load = false,
|
||||
nodenames = lrfurn.old_static_sofas,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
|
Loading…
Reference in New Issue
Block a user