Skip to content

Commit

Permalink
formatting attempt #2
Browse files Browse the repository at this point in the history
  • Loading branch information
random-geek committed Sep 18, 2020
1 parent 8e75f3e commit a7f40b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion morelights_extras/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ minetest.register_node("morelights_extras:dirt_with_grass", {
description = "Grass Light",
tiles = {
"default_grass.png^morelights_extras_blocklight.png",
"default_dirt.png", "default_dirt.png^default_grass_side.png"
"default_dirt.png",
"default_dirt.png^default_grass_side.png"
},
paramtype = "light",
light_source = 12,
Expand Down
11 changes: 7 additions & 4 deletions morelights_modern/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ morelights.register_variants({
description = "Modern Table Lamp (dark)",
tiles = {
"morelights_metal_light_32.png^morelights_modern_tablelamp_o.png",
"morelights_modern_tablelamp_d.png"}
},
"morelights_modern_tablelamp_d.png"
}
},
{
name = "morelights_modern:tablelamp_l",
description = "Modern Table Lamp (light)",
Expand Down Expand Up @@ -272,9 +273,11 @@ morelights.register_variants({
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {{-1/32, -8/16, -1/32, 1/32, 1/8, 1/32},
fixed = {
{-1/32, -8/16, -1/32, 1/32, 1/8, 1/32},
{-1/16, 1/8, -1/16, 1/16, 5/16, 1/16},
{-1/8, 5/16, -1/8, 1/8, 3/8, 1/8}}
{-1/8, 5/16, -1/8, 1/8, 3/8, 1/8}
}
},
selection_box = {
type = "fixed",
Expand Down

0 comments on commit a7f40b1

Please sign in to comment.