1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-24 16:10:16 +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:
Tim
2015-01-20 23:59:50 +01:00
parent 29bf986ea8
commit be4ed12b6c
31 changed files with 691 additions and 691 deletions

View File

@ -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