1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

don't run LBM at every load

This commit is contained in:
Vanessa Ezekowitz 2017-02-16 16:58:48 -05:00
parent 634b89c4c6
commit e9477dd45d
11 changed files with 12 additions and 12 deletions

View File

@ -137,7 +137,7 @@ local old_to_color = {
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_bathroom_tiles", name = "homedecor:convert_bathroom_tiles",
label = "Convert bathroom tiles to use param2 color", label = "Convert bathroom tiles to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = homedecor.old_static_bathroom_tiles, nodenames = homedecor.old_static_bathroom_tiles,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -228,7 +228,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_beds", name = "homedecor:convert_beds",
label = "Convert homedecor static bed nodes to use param2 color", 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, nodenames = homedecor.old_bed_nodes,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -187,7 +187,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_books", name = "homedecor:convert_books",
label = "Convert homedecor books to use param2 color", label = "Convert homedecor books to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = homedecor.old_static_books, nodenames = homedecor.old_static_books,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -168,7 +168,7 @@ table.insert(homedecor.old_static_chairs, "homedecor:chair")
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_chairs", name = "homedecor:convert_chairs",
label = "Convert homedecor chairs to use param2 color", label = "Convert homedecor chairs to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = homedecor.old_static_chairs, nodenames = homedecor.old_static_chairs,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -557,7 +557,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_lighting", name = "homedecor:convert_lighting",
label = "Convert homedecor glowlights, table lamps, and standing lamps to use param2 color", 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, nodenames = homedecor.old_static_nodes,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name
@ -657,7 +657,7 @@ homedecor.old_static_desk_lamps = {
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_desk_lamps", name = "homedecor:convert_desk_lamps",
label = "Convert homedecor desk lamps to use param2 color", 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, nodenames = homedecor.old_static_desk_lamps,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -73,7 +73,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_shutters", name = "homedecor:convert_shutters",
label = "Convert shutter static nodes to use param2 color", label = "Convert shutter static nodes to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = homedecor.old_shutter_nodes, nodenames = homedecor.old_shutter_nodes,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -230,7 +230,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "homedecor:convert_curtains", name = "homedecor:convert_curtains",
label = "Convert static curtain nodes to use param2 color", 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, nodenames = homedecor.old_static_curtain_nodes,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -97,7 +97,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "lavalamp:convert", name = "lavalamp:convert",
label = "Convert lava lamps to use param2 color", label = "Convert lava lamps to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = lavalamp.old_static_nodes, nodenames = lavalamp.old_static_nodes,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -66,7 +66,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "lrfurn:convert_armchairs", name = "lrfurn:convert_armchairs",
label = "Convert lrfurn armchairs to use param2 color", label = "Convert lrfurn armchairs to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = lrfurn.old_static_armchairs, nodenames = lrfurn.old_static_armchairs,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -78,7 +78,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "lrfurn:convert_longsofas", name = "lrfurn:convert_longsofas",
label = "Convert lrfurn long sofas to use param2 color", label = "Convert lrfurn long sofas to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = lrfurn.old_static_longsofas, nodenames = lrfurn.old_static_longsofas,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name

View File

@ -78,7 +78,7 @@ end
minetest.register_lbm({ minetest.register_lbm({
name = "lrfurn:convert_sofas", name = "lrfurn:convert_sofas",
label = "Convert lrfurn short sofas to use param2 color", label = "Convert lrfurn short sofas to use param2 color",
run_at_every_load = true, run_at_every_load = false,
nodenames = lrfurn.old_static_sofas, nodenames = lrfurn.old_static_sofas,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name