mirror of
				https://github.com/minetest-mods/moreblocks.git
				synced 2025-11-04 07:25:29 +01:00 
			
		
		
		
	More informative and shorter headers.
This commit is contained in:
		@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: alias definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
-- More Blocks aliases:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: circular saw
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.intllib
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: configuration handling
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
moreblocks.config = {}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: crafting recipes
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
minetest.register_craft({
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.lua
									
									
									
									
									
								
							@@ -1,11 +1,11 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
=====================================================================
 | 
			
		||||
** More Blocks **
 | 
			
		||||
By Calinou, with the help of ShadowNinja and VanessaE.
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
=====================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
moreblocks = {}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: node definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.intllib
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: ownership handling
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.gettext
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: redefinitions of default stuff
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
-- Redefinitions of some default crafting recipes:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: alias definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local function register_stairsplus_alias(modname, origname, newname)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: conversion
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
-- Function to convert all stairs/slabs/etc nodes from
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: Stairs+
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
-- Nodes will be called <modname>:{stair,slab,panel,micro}_<subname>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: microblock definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.intllib
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: panel definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.intllib
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: registrations
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local default_nodes = { -- Default stairs/slabs/panels/microblocks:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: slab definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.intllib
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: slope definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.intllib
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,8 @@
 | 
			
		||||
--[[
 | 
			
		||||
======================================================================
 | 
			
		||||
This file is part of More Blocks.
 | 
			
		||||
More Blocks: stair definitions
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
Licensed under the zlib license. See LICENSE.md for more information.
 | 
			
		||||
======================================================================
 | 
			
		||||
--]]
 | 
			
		||||
 | 
			
		||||
local S = moreblocks.intllib
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user