mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-23 23:50:18 +02:00
whitespace cleanup:
* remove all trailing whitespaces * make inbox and computer use the prevalent indentation rules * CRLF->LF where found
This commit is contained in:
@ -184,7 +184,7 @@ for c in ipairs(curtaincolors) do
|
||||
-- Open the curtains
|
||||
on_rightclick = function(pos, node, clicker, itemstack)
|
||||
local topnode = minetest.get_node({x=pos.x, y=pos.y+1.0, z=pos.z})
|
||||
if string.find(topnode.name, "homedecor:curtainrod") then
|
||||
if string.find(topnode.name, "homedecor:curtainrod") then
|
||||
local fdir = node.param2
|
||||
minetest.set_node(pos, { name = "homedecor:curtain_open_"..color, param2 = fdir })
|
||||
end
|
||||
@ -211,7 +211,7 @@ for c in ipairs(curtaincolors) do
|
||||
-- Close the curtains
|
||||
on_rightclick = function(pos, node, clicker, itemstack)
|
||||
local topnode = minetest.get_node({x=pos.x, y=pos.y+1.0, z=pos.z})
|
||||
if string.find(topnode.name, "homedecor:curtainrod") then
|
||||
if string.find(topnode.name, "homedecor:curtainrod") then
|
||||
local fdir = node.param2
|
||||
minetest.set_node(pos, { name = "homedecor:curtain_"..color, param2 = fdir })
|
||||
end
|
||||
|
Reference in New Issue
Block a user