From f7916005c2fe14a2aa7f9052abcffd250b67ffcc Mon Sep 17 00:00:00 2001
From: Calinou <calinou@opmbx.org>
Date: Mon, 21 Jul 2014 12:24:49 +0200
Subject: Code cleanup, new Stairs+ recipes.

---
 nodes.lua | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'nodes.lua')

diff --git a/nodes.lua b/nodes.lua
index 1d7f64e..5efda8f 100644
--- a/nodes.lua
+++ b/nodes.lua
@@ -6,8 +6,8 @@ local sound_glass = default.node_sound_glass_defaults()
 local sound_leaves = default.node_sound_leaves_defaults()
 
 local function tile_tiles(name)
-	local tex = "moreblocks_"..name..".png"
-	return {tex, tex, tex, tex, tex.."^[transformR90", tex.."^[transformR90"}
+	local tex = "moreblocks_" ..name.. ".png"
+	return {tex, tex, tex, tex, tex.. "^[transformR90", tex.. "^[transformR90"}
 end
 
 local nodes = {
@@ -306,13 +306,13 @@ local nodes = {
 }
 
 for name, def in pairs(nodes) do
-	def.tiles = def.tiles or {"moreblocks_"..name..".png"}
-	minetest.register_node("moreblocks:"..name, def)
-	minetest.register_alias(name, "moreblocks:"..name)
+	def.tiles = def.tiles or {"moreblocks_" ..name.. ".png"}
+	minetest.register_node("moreblocks:" ..name, def)
+	minetest.register_alias(name, "moreblocks:" ..name)
 	if not def.no_stairs then
 		local groups = {}
 		for k, v in pairs(def.groups) do groups[k] = v end
-		stairsplus:register_all("moreblocks", name, "moreblocks:"..name, {
+		stairsplus:register_all("moreblocks", name, "moreblocks:" ..name, {
 			description = def.description,
 			groups = groups,
 			tiles = def.tiles,
-- 
cgit v1.2.3