mirror of
https://github.com/random-geek/morelights.git
synced 2024-12-04 13:03:49 +01:00
Change indentation, fix sunlight_propagates spelling
This commit is contained in:
parent
f74339235d
commit
d782f5d665
@ -7,7 +7,7 @@ else
|
|||||||
end
|
end
|
||||||
|
|
||||||
function morelights.register_variants(variants, fixedDef)
|
function morelights.register_variants(variants, fixedDef)
|
||||||
for _,variant in ipairs(variants) do
|
for _, variant in ipairs(variants) do
|
||||||
local name = variant.name
|
local name = variant.name
|
||||||
local def = table.copy(fixedDef)
|
local def = table.copy(fixedDef)
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ morelights.register_variants({
|
|||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
sunlight_propegates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, mounted_ceiling = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, mounted_ceiling = 1},
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
})
|
})
|
||||||
@ -57,7 +57,7 @@ morelights.register_variants({
|
|||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
sunlight_propegates = true,
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3,
|
groups = {cracky = 3, oddly_breakable_by_hand = 3,
|
||||||
not_in_creative_inventory = 1, mounted_ceiling = 1},
|
not_in_creative_inventory = 1, mounted_ceiling = 1},
|
||||||
sounds = default.node_sound_metal_defaults(),
|
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}
|
fixed = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, mounted_ceiling = 1},
|
groups = {cracky = 3, oddly_breakable_by_hand = 3, mounted_ceiling = 1},
|
||||||
sounds = default.node_sound_metal_defaults(),
|
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}}
|
{-1/16, -1/2, -1/16, 1/16, 7/16, 1/16}}
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
groups = {cracky = 3, oddly_breakable_by_hand = 3,
|
groups = {cracky = 3, oddly_breakable_by_hand = 3,
|
||||||
not_in_creative_inventory = 1, mounted_ceiling = 1},
|
not_in_creative_inventory = 1, mounted_ceiling = 1},
|
||||||
sounds = default.node_sound_metal_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
|
Loading…
Reference in New Issue
Block a user