[Mod] More Blocks [moreblocks]

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

I got an idea for a block, a SandBrick if you use this idea please include my name for the credits and here would be the recipe:
x=sandstone
o=nothing
xxo
xxo
ooo

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

LolManKuba wrote:I got an idea for a block, a SandBrick if you use this idea please include my name for the credits and here would be the recipe:
x=sandstone
o=nothing
xxo
xxo
ooo
If you wait till the program is out for making new blocks and tools you could do this yourself.
Keep calm and code python^_^

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

yeah but it should include the regular minetest blocks for the crafting table.

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

LolManKuba wrote:yeah but it should include the regular minetest blocks for the crafting table.
What are you talking about? There isn't a crafting table yet.
Keep calm and code python^_^

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Until the API gets stable (it got broken at least 3 times recently), I will not update my mod -- feel free to make your own version and post it here, I'll add it to the first post. Thanks.

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

Death Dealer wrote:
LolManKuba wrote:yeah but it should include the regular minetest blocks for the crafting table.
What are you talking about? There isn't a crafting table yet.
It says "Crafting table" in the program though.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Crap this is my favorite mod for having more building materials. But i cant diggem either.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Code: Select all

material = minetest.digprop_glasslike(1.0),
})
Im assuming the problem is here?

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

Yes
change to
groups = {cracky=3}

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Replace moreblocks' init.lua with this one. I didnt remove any code, just added, fully diggable now :-)

Code: Select all

--[[
****
More Blocks
by Calinou
Version 12.01.30
****
--]]

-- Crafting

minetest.register_craft({
    output = 'node "moreblocks:stonebrick" 4',
    recipe = {
        {'node "stone"', 'node "stone"'},
        {'node "stone"', 'node "stone"'},
    }
})

minetest.register_craft({
    output = 'craft "moreblocks:sweeper" 3',
    recipe = {
        {'node "junglegrass"'},
        {'craft "Stick"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:stonesquare" 4',
    recipe = {
        {'node "cobble"', 'node "cobble"'},
        {'node "cobble"', 'node "cobble"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:emptybookshelf" 1',
    recipe = {
        {'craft "moreblocks:sweeper"'},
        {'node "bookshelf"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:ironstonebrick" 1',
    recipe = {
        {'node "steel_ingot"'},
        {'node "stonebrick"'},
    }
})

minetest.register_craft({
    output = 'node "default:wood" 4',
    recipe = {
        {'node "moreblocks:horizontaltree"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:plankstone" 4',
    recipe = {
        {'node "cobble"', 'node "cobble"'},
        {'node "wood"', 'node "wood"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:plankstone" 4',
    recipe = {
        {'node "wood', 'node "stone"'},
        {'node "stone"', 'node "wood"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:coalchecker" 4',
    recipe = {
        {'node "stone"', 'craft "lump_of_coal"'},
        {'craft "lump_of_coal"', 'node "stone"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:coalchecker" 4',
    recipe = {
        {'craft "lump_of_coal"', 'node "stone"'},
        {'node "stone"', 'craft "lump_of_coal"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:ironchecker" 4',
    recipe = {
        {'craft "steel_ingot"', 'node "stone"'},
        {'node "stone"', 'craft "steel_ingot"'},
    }
})

minetest.register_craft({
    output = 'node "default:chest_locked" 1',
    recipe = {
        {'craft "steel_ingot"'},
        {'node "chest"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:ironchecker" 4',
    recipe = {
        {'node "stone"', 'craft "steel_ingot"'},
        {'craft "steel_ingot"', 'node "stone"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:ironglass" 1',
    recipe = {
        {'craft "steel_ingot"'},
        {'node "glass"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:coalglass" 1',
    recipe = {
        {'craft "lump_of_coal"'},
        {'node "glass"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:cleanglass" 1',
    recipe = {
        {'craft "moreblocks:sweeper'},
        {'node "glass"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:glowglass" 1',
    recipe = {
        {'node "torch"'},
        {'node "glass"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:superglowglass" 1',
    recipe = {
        {'node "torch"'},
        {'node "torch"'},
        {'node "glass"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:coalstone" 1',
    recipe = {
        {'craft "lump_of_coal"'},
        {'node "stone"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:trapstone" 12',
    recipe = {
        {'node "mese"'},
        {'node "stone"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:trapglass" 12',
    recipe = {
        {'node "mese"'},
        {'node "glass"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:ironstone" 1',
    recipe = {
        {'craft "steel_ingot"'},
        {'node "stone"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:cactusbrick" 1',
    recipe = {
        {'node "cactus"'},
        {'node "brick"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:cactuschecker" 4',
    recipe = {
        {'node "cactus"', 'node "stone"'},
        {'node "stone"', 'node "cactus"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:cactuschecker" 4',
    recipe = {
        {'node "stone"', 'node "cactus"'},
        {'node "cactus"', 'node "stone"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:oerkkiblock" 9',
    recipe = {
        {'craft "lump_of_iron', 'craft "lump_of_coal"', 'craft "lump_of_iron"'},
        {'craft "lump_of_coal"', 'node "bookshelf"', 'craft "lump_of_coal"'},
        {'craft "lump_of_iron', 'craft "lump_of_coal"', 'craft "lump_of_iron"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:oerkkiblock" 9',
    recipe = {
        {'craft "lump_of_coal', 'craft "lump_of_iron"', 'craft "lump_of_coal"'},
        {'craft "lump_of_iron"', 'node "bookshelf"', 'craft "lump_of_iron"'},
        {'craft "lump_of_coal"', 'craft "lump_of_iron"', 'craft "lump_of_coal"'},
    }
})

minetest.register_craft({
    output = 'node "sapling" 1',
    recipe = {
        {'node "leaves"', 'node "leaves"', 'node "leaves"'},
        {'node "leaves"', 'node "leaves"', 'node "leaves"'},
        {'', 'craft "Stick"', ''},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:rope" 1',
    recipe = {
        {'node "leaves"'},
        {'node "junglegrass"'},
        {'node "leaves"'},
    }
})

minetest.register_craft({
    output = 'craft "steel_ingot" 9',
    recipe = {
        {'node "steel_block"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:horizontaltree" 2',
    recipe = {
        {'node "tree"', 'node "tree"'},
    }
})

minetest.register_craft({
    output = 'node "tree" 2',
    recipe = {
        {'node "moreblocks:horizontaltree"'},
        {'node "moreblocks:horizontaltree"'},
    }
})

minetest.register_craft({
    output = 'node "moreblocks:horizontaljungletree" 2',
    recipe = {
        {'node "jungletree"', 'node "jungletree"'},
    }
})

minetest.register_craft({
    output = 'node "jungletree" 2',
    recipe = {
        {'node "moreblocks:horizontaljungletree"'},
        {'node "moreblocks:horizontaljungletree"'},
    }
})

-- Blocks

minetest.register_node("moreblocks:stonebrick", {
    description = "Stone Bricks",
    tile_images = {"moreblocks_stonebrick.png"},
    inventory_image = minetest.inventorycube("moreblocks_stonebrick.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(5.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:ironstonebrick", {
    description = "Iron Stone Bricks",
    tile_images = {"moreblocks_ironstonebrick.png"},
    inventory_image = minetest.inventorycube("moreblocks_ironstonebrick.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(7.5),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:stonesquare", {
    description = "Stonesquare",
    tile_images = {"moreblocks_stonesquare.png"},
    inventory_image = minetest.inventorycube("moreblocks_stonesquare.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(5.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:plankstone", {
    description = "Plankstone",
    tile_images = {"moreblocks_plankstone.png"},
    inventory_image = minetest.inventorycube("moreblocks_plankstone.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(5.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:ironglass", {
    description = "Iron Glass",
    drawtype = "glasslike",
    tile_images = {"moreblocks_ironglass.png"},
    inventory_image = minetest.inventorycube("moreblocks_ironglass.png"),
    light_propagates = true,
    paramtype = "light",
    sunlight_propagates = true,
    is_ground_content = true,
    material = minetest.digprop_glasslike(1.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:coalglass", {
    description = "Coal Glass",
    drawtype = "glasslike",
    tile_images = {"moreblocks_coalglass.png"},
    inventory_image = minetest.inventorycube("moreblocks_coalglass.png"),
    light_propagates = true,
    paramtype = "light",
    sunlight_propagates = true,
    is_ground_content = true,
    material = minetest.digprop_glasslike(1.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:cleanglass", {
    description = "Clean Glass",
    drawtype = "glasslike",
    tile_images = {"moreblocks_cleanglass.png"},
    inventory_image = minetest.inventorycube("moreblocks_cleanglass.png"),
    light_propagates = true,
    paramtype = "light",
    sunlight_propagates = true,
    is_ground_content = true,
    material = minetest.digprop_glasslike(1.0),
    groups = {cracky=3},
})


minetest.register_node("moreblocks:cactusbrick", {
    description = "Cactus Brick",
    tile_images = {"moreblocks_cactusbrick.png"},
    inventory_image = minetest.inventorycube("moreblocks_cactusbrick.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(5.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:cactuschecker", {
    description = "Cactus Checker",
    tile_images = {"moreblocks_cactuschecker.png"},
    inventory_image = minetest.inventorycube("moreblocks_cactuschecker.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(5.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:emptybookshelf", {
    description = "Empty Bookshelf",
    tile_images = {"moreblocks_emptybookshelf.png"},
    inventory_image = minetest.inventorycube("moreblocks_emptybookshelf.png"),
    is_ground_content = true,
    material = minetest.digprop_woodlike(0.75),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:oerkkiblock", {
    description = "Oerkki Block",
    tile_images = {"moreblocks_oerkkiblock.png"},
    inventory_image = minetest.inventorycube("moreblocks_oerkkiblock.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(15.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:coalstone", {
    description = "Coalstone",
    tile_images = {"moreblocks_coalstone.png"},
    inventory_image = minetest.inventorycube("moreblocks_coalstone.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(6.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:ironstone", {
    description = "Ironstone",
    tile_images = {"moreblocks_ironstone.png"},
    inventory_image = minetest.inventorycube("moreblocks_ironstone.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(6.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:coalchecker", {
    description = "Coalchecker",
    tile_images = {"moreblocks_coalchecker.png"},
    inventory_image = minetest.inventorycube("moreblocks_coalchecker.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(5.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:ironchecker", {
    description = "Ironchecker",
    tile_images = {"moreblocks_ironchecker.png"},
    inventory_image = minetest.inventorycube("moreblocks_ironchecker.png"),
    is_ground_content = true,
    material = minetest.digprop_stonelike(5.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:trapstone", {
    description = "Trapstone",
    tile_images = {"moreblocks_trapstone.png"},
    inventory_image = minetest.inventorycube("moreblocks_trapstone.png"),
    walkable = false,
    is_ground_content = true,
    material = minetest.digprop_stonelike(3.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:trapglass", {
    description = "Trapglass",
    drawtype = "glasslike",
    tile_images = {"moreblocks_trapglass.png"},
    inventory_image = minetest.inventorycube("moreblocks_trapglass.png"),
    light_propagates = true,
    paramtype = "light",
    sunlight_propagates = true,
    walkable = false,
    is_ground_content = true,
    material = minetest.digprop_glasslike(1.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:horizontaltree", {
    description = "Horizontal Tree",
    tile_images = {"default_tree.png", "default_tree.png", "default_tree.png",
        "default_tree.png", "default_tree_top.png", "default_tree_top.png"},
    inventory_image = minetest.inventorycube("default_tree.png", "default_tree_top.png", "default_tree.png"),
    paramtype = "facedir_simple",
    material = minetest.digprop_woodlike(1.0),
    furnace_burntime = 30,
    groups = {cracky=3},
})

minetest.register_node("moreblocks:horizontaljungletree", {
    description = "Horizontal Jungletree",
    tile_images = {"default_jungletree.png", "default_jungletree.png", "default_jungletree.png",
        "default_jungletree.png", "default_jungletree_top.png", "default_jungletree_top.png"},
    inventory_image = minetest.inventorycube("default_jungletree.png", "default_jungletree_top.png", "default_jungletree.png"),
    paramtype = "facedir_simple",
    material = minetest.digprop_woodlike(1.0),
    furnace_burntime = 30,
    groups = {cracky=3},
})

minetest.register_node("moreblocks:glowglass", {
    description = "Glowglass",
    drawtype = "glasslike",
    tile_images = {"moreblocks_glowglass.png"},
    inventory_image = minetest.inventorycube("moreblocks_glowglass.png"),
    light_propagates = true,
    paramtype = "light",
    sunlight_propagates = true,
    light_source = 12,
    is_ground_content = true,
    material = minetest.digprop_glasslike(1.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:superglowglass", {
    description = "Super Glowglass",
    drawtype = "glasslike",
    tile_images = {"moreblocks_glowglass.png"},
    inventory_image = minetest.inventorycube("moreblocks_glowglass.png"),
    light_propagates = true,
    paramtype = "light",
    sunlight_propagates = true,
    light_source = 15    ,
    is_ground_content = true,
    material = minetest.digprop_glasslike(1.0),
    groups = {cracky=3},
})

minetest.register_node("moreblocks:rope", {
    description = "Rope",
    drawtype = "signlike",
    tile_images = {"moreblocks_rope.png"},
    inventory_image = "moreblocks_rope.png",
    wield_image = "moreblocks_rope.png",
    paramtype = "light",
    paramtype2 = "wallmounted",
    is_ground_content = true,
    walkable = false,
    climbable = true,
    selection_box = {
        type = "wallmounted",
    },
    material = minetest.digprop_leaveslike(1.0),
    legacy_wallmounted = true,
    groups = {cracky=3},
})

-- Items

minetest.register_craftitem("moreblocks:sweeper", {
    description = "Sweeper",
    image = "moreblocks_sweeper.png",
    on_place_on_ground = minetest.craftitem_place_item,
})
Last edited by mauvebic on Tue Apr 03, 2012 16:39, edited 1 time in total.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

If youre not going to maintain anymore mind if i run with it? Ive already expanded somewhat:

Image

From left to right: normal brick, brown brick, blue brick, yellow brick, teal brick, odd-colored brick
And ontop is red wood.

If anyone's got some crafting recipes now's the time.
Last edited by mauvebic on Thu Apr 05, 2012 19:14, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Yeah, feel free to share it. :)
I will maintain it once the API gets stable.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Image
Image
Image
Image
Terraformers:
Image
Image

Image
*dyes: rose, dandelion_yellow, dandelion_white, tulip, viola from flowers mod. gives 4 dyes
** two redwoods diagonally gives 2 redwood parquets
*** 5 mese in a 'T' gives 2 terraformers
Last edited by mauvebic on Fri Apr 06, 2012 13:46, edited 1 time in total.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Works on 0.4 git 20120326

* flowers included though you dont need it if you already have nature_pack
http://ompldr.org/vZGEyMg/moreblocks_ocd.zip
Last edited by mauvebic on Fri Apr 06, 2012 13:46, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Included the link in the main post.

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Proposed Stone Brick expansion:
Image
from left to right: red stone brick, marble stone brick, mossy stone brick, cultured stone block
Last edited by mauvebic on Sun Apr 08, 2012 13:52, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Your mossy stone brick should be based on the normal stone brick... not some weird orange-ish brick. :P

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Decided to (finally) update my mod for latest version. Works fine, added sound support, made the blocks diggable. Feel free to report any bugs.

User avatar
Hackeridze
Member
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Post

My game: RTMG
GENTOO USER

User avatar
LandMine
Member
Posts: 312
Joined: Tue May 01, 2012 16:44
Location: Mexico City
Contact:

by LandMine » Post

how do i generate these via /giveme command?
List Of My Creative Servers - http://planetminetest.com
The Walls - PvP Map - http://minetest.net/forum/viewtopic.php?id=2906

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Here's some item names:

Code: Select all

moreblocks:stonebrick
moreblocks:stonesquare
moreblocks:ironstonebrick
moreblocks:plankstone
moreblocks:coalstone
moreblocks:ironstone
moreblocks:coalglass
moreblocks:ironglass
moreblocks:glowglass
moreblocks:superglowglass
moreblocks:cactuschecker
moreblocks:cactusbrick
moreblocks:coalchecker
moreblocks:ironchecker
moreblocks:oerkkiblock
moreblocks:rope
moreblocks:sweeper
edit: Added them to the wiki: http://wiki.minetest.com/wiki/Item_Codes
Last edited by Calinou on Thu May 10, 2012 07:09, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Big update! :)

User avatar
RandomBot
Member
Posts: 164
Joined: Sun May 20, 2012 03:46
Location: Behind you, go ahead, look....

by RandomBot » Post

any chance we will get an update that includes stairs for all the textures?
"Everyone has a plan, until they get punched in the face"
- Mike Tyson

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Small update with a code cleanup. :)
I changed rope recipe, added a new one; the old one is still available.
Also, steel block > steel ingots recipe was fixed. :D

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Update: new crafting recipes and aliases.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests