Change indentation, fix sunlight_propagates spelling

This commit is contained in:
random-geek 2020-09-14 21:36:35 -07:00
parent f74339235d
commit d782f5d665
5 changed files with 760 additions and 758 deletions

@ -7,7 +7,7 @@ else
end
function morelights.register_variants(variants, fixedDef)
for _,variant in ipairs(variants) do
for _, variant in ipairs(variants) do
local name = variant.name
local def = table.copy(fixedDef)

@ -31,7 +31,7 @@ morelights.register_variants({
},
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propegates = true,
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, mounted_ceiling = 1},
sounds = default.node_sound_metal_defaults(),
})
@ -57,7 +57,7 @@ morelights.register_variants({
},
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propegates = true,
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3,
not_in_creative_inventory = 1, mounted_ceiling = 1},
sounds = default.node_sound_metal_defaults(),
@ -89,6 +89,7 @@ morelights.register_variants({
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}
},
paramtype = "light",
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, mounted_ceiling = 1},
sounds = default.node_sound_metal_defaults(),
})
@ -113,6 +114,7 @@ morelights.register_variants({
{-1/16, -1/2, -1/16, 1/16, 7/16, 1/16}}
},
paramtype = "light",
sunlight_propagates = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3,
not_in_creative_inventory = 1, mounted_ceiling = 1},
sounds = default.node_sound_metal_defaults(),