More Blocks code cleanup. The name is More Blocks and not MoreBlocks.

This commit is contained in:
Calinou 2014-05-11 09:26:57 +02:00
parent 2bf5da716d
commit 306956920b
3 changed files with 43 additions and 43 deletions

View File

@ -1,12 +1,12 @@
MoreBlocks More Blocks
========== ==========
MoreBlocks for Minetest (http://minetest.net), a free and open source infinite More Blocks for Minetest (http://minetest.net), a free and open source infinite
world block sandbox game. world block sandbox game.
To install, just clone this repository into your "mods" folder. To install, just clone this repository into your "mods" directory.
MoreBlocks code is under the zlib/libpng license, textures are under CC BY-SA 3.0 unported. More Blocks code is under the zlib license, textures are under CC BY-SA 3.0 unported.
Forum thread: http://forum.minetest.net/viewtopic.php?id=509 Forum topic: http://forum.minetest.net/viewtopic.php?id=509

View File

@ -1,22 +1,22 @@
-- Crafting -- Crafting
minetest.register_craft({ minetest.register_craft({
output = "default:stick 1", output = "default:stick",
recipe = {{"default:dry_shrub"},} recipe = {{"default:dry_shrub"},}
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:stick 1", output = "default:stick",
recipe = {{"default:sapling"},} recipe = {{"default:sapling"},}
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:stick 1", output = "default:stick",
recipe = {{"default:junglesapling"},} recipe = {{"default:junglesapling"},}
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:wood 1", output = "default:wood",
recipe = { recipe = {
{"default:stick", "default:stick"}, {"default:stick", "default:stick"},
{"default:stick", "default:stick"}, {"default:stick", "default:stick"},
@ -24,7 +24,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:junglewood 1", output = "default:junglewood",
recipe = { recipe = {
{"moreblocks:jungle_stick", "moreblocks:jungle_stick"}, {"moreblocks:jungle_stick", "moreblocks:jungle_stick"},
{"moreblocks:jungle_stick", "moreblocks:jungle_stick"}, {"moreblocks:jungle_stick", "moreblocks:jungle_stick"},
@ -32,25 +32,25 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:dirt_with_grass 1", output = "default:dirt_with_grass",
type = "shapeless", type = "shapeless",
recipe = {"default:junglegrass", "default:dirt"}, recipe = {"default:junglegrass", "default:dirt"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:dirt_with_grass 1", output = "default:dirt_with_grass",
type = "shapeless", type = "shapeless",
recipe = {"default:mese", "default:dirt"}, recipe = {"default:mese", "default:dirt"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:mossycobble 1", output = "default:mossycobble",
type = "shapeless", type = "shapeless",
recipe = {"default:junglegrass", "default:cobble"}, recipe = {"default:junglegrass", "default:cobble"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:mossycobble 1", output = "default:mossycobble",
type = "shapeless", type = "shapeless",
recipe = {"default:mese_crystal_fragment", "default:cobble"}, recipe = {"default:mese_crystal_fragment", "default:cobble"},
}) })
@ -65,7 +65,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:wood_tile_flipped 1", output = "moreblocks:wood_tile_flipped",
recipe = {{"moreblocks:wood_tile"},} recipe = {{"moreblocks:wood_tile"},}
}) })
@ -87,7 +87,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:wood_tile_up 1", output = "moreblocks:wood_tile_up",
recipe = { recipe = {
{"default:stick"}, {"default:stick"},
{"moreblocks:wood_tile_center"}, {"moreblocks:wood_tile_center"},
@ -95,7 +95,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:wood_tile_down 1", output = "moreblocks:wood_tile_down",
recipe = { recipe = {
{"moreblocks:wood_tile_center"}, {"moreblocks:wood_tile_center"},
{"default:stick"}, {"default:stick"},
@ -103,14 +103,14 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:wood_tile_left 1", output = "moreblocks:wood_tile_left",
recipe = { recipe = {
{"default:stick", "moreblocks:wood_tile_center"}, {"default:stick", "moreblocks:wood_tile_center"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:wood_tile_right 1", output = "moreblocks:wood_tile_right",
recipe = { recipe = {
{"moreblocks:wood_tile_center", "default:stick"}, {"moreblocks:wood_tile_center", "default:stick"},
} }
@ -250,140 +250,140 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:chest_locked 1", output = "default:chest_locked",
type = "shapeless", type = "shapeless",
recipe = {"default:steel_ingot", "default:chest"}, recipe = {"default:steel_ingot", "default:chest"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:chest_locked 1", output = "default:chest_locked",
type = "shapeless", type = "shapeless",
recipe = {"default:copper_ingot", "default:chest"}, recipe = {"default:copper_ingot", "default:chest"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:chest_locked 1", output = "default:chest_locked",
type = "shapeless", type = "shapeless",
recipe = {"default:bronze_ingot", "default:chest"}, recipe = {"default:bronze_ingot", "default:chest"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:chest_locked 1", output = "default:chest_locked",
type = "shapeless", type = "shapeless",
recipe = {"default:gold_ingot", "default:chest"}, recipe = {"default:gold_ingot", "default:chest"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:iron_glass 1", output = "moreblocks:iron_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:steel_ingot", "default:glass"}, recipe = {"default:steel_ingot", "default:glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:glass 1", output = "default:glass",
type = "shapeless", type = "shapeless",
recipe = {"default:coal_lump", "moreblocks:iron_glass"}, recipe = {"default:coal_lump", "moreblocks:iron_glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:coal_glass 1", output = "moreblocks:coal_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:coal_lump", "default:glass"}, recipe = {"default:coal_lump", "default:glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:glass 1", output = "default:glass",
type = "shapeless", type = "shapeless",
recipe = {"default:steel_ingot", "moreblocks:coal_glass"}, recipe = {"default:steel_ingot", "moreblocks:coal_glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:clean_glass 1", output = "moreblocks:clean_glass",
type = "shapeless", type = "shapeless",
recipe = {"moreblocks:sweeper", "default:glass"}, recipe = {"moreblocks:sweeper", "default:glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:glow_glass 1", output = "moreblocks:glow_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:torch", "default:glass"}, recipe = {"default:torch", "default:glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:trap_glow_glass 1", output = "moreblocks:trap_glow_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch"}, recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:trap_glow_glass 1", output = "moreblocks:trap_glow_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:glow_glass"}, recipe = {"default:mese_crystal_fragment", "moreblocks:glow_glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:super_glow_glass 1", output = "moreblocks:super_glow_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:torch", "default:torch", "default:glass"}, recipe = {"default:torch", "default:torch", "default:glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:super_glow_glass 1", output = "moreblocks:super_glow_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:torch", "moreblocks:glow_glass"}, recipe = {"default:torch", "moreblocks:glow_glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:trap_super_glow_glass 1", output = "moreblocks:trap_super_glow_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch", "default:torch"}, recipe = {"default:mese_crystal_fragment", "default:glass", "default:torch", "default:torch"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:trap_super_glow_glass 1", output = "moreblocks:trap_super_glow_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:super_glow_glass"}, recipe = {"default:mese_crystal_fragment", "moreblocks:super_glow_glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:coal_stone 1", output = "moreblocks:coal_stone",
type = "shapeless", type = "shapeless",
recipe = {"default:coal_lump", "default:stone"}, recipe = {"default:coal_lump", "default:stone"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:stone 1", output = "default:stone",
type = "shapeless", type = "shapeless",
recipe = {"default:steel_ingot", "moreblocks:coal_stone"}, recipe = {"default:steel_ingot", "moreblocks:coal_stone"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:iron_stone 1", output = "moreblocks:iron_stone",
type = "shapeless", type = "shapeless",
recipe = {"default:steel_ingot", "default:stone"}, recipe = {"default:steel_ingot", "default:stone"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "default:stone 1", output = "default:stone",
type = "shapeless", type = "shapeless",
recipe = {"default:coal_lump", "moreblocks:iron_stone"}, recipe = {"default:coal_lump", "moreblocks:iron_stone"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:trap_stone 1", output = "moreblocks:trap_stone",
type = "shapeless", type = "shapeless",
recipe = {"default:mese_crystal_fragment", "default:stone"}, recipe = {"default:mese_crystal_fragment", "default:stone"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:trap_glass 1", output = "moreblocks:trap_glass",
type = "shapeless", type = "shapeless",
recipe = {"default:mese_crystal_fragment", "default:glass"}, recipe = {"default:mese_crystal_fragment", "default:glass"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:cactus_brick 1", output = "moreblocks:cactus_brick",
type = "shapeless", type = "shapeless",
recipe = {"default:cactus", "default:brick"}, recipe = {"default:cactus", "default:brick"},
}) })

View File

@ -1,6 +1,6 @@
--[[ --[[
-- More Blocks (moreblocks) by Calinou -- More Blocks (moreblocks) by Calinou
-- Licensed under the zlib/ license for code and CC BY-SA 3.0 for textures, see LICENSE.txt for info. -- Licensed under the zlib license for code and CC BY-SA 3.0 for textures, see LICENSE.txt for info.
--]] --]]
moreblocks = {} moreblocks = {}