I hate this mod:

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

I hate this mod:

by Jordach » Mon Jul 23, 2012 16:39

http://pastebin.com/1WrZ9v5T

Says it all.

If you can fix it, I will thank you.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
cactuz_pl
Member
 
Posts: 874
Joined: Tue Jun 05, 2012 16:34

by cactuz_pl » Mon Jul 23, 2012 20:43

I found! ...I think...

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_craft({
        output = 'metals:half_ingot 2',
        type = "shapeless",    <--------------------------Remove this line...
        recipe = {
                {'default:steel_ingot'},
        }
})
 
minetest.register_craft({
        output = 'default:steel_ingot',
        type = "shapeless",<-------------------------------- ...and this one...
        recipe = {
                {'metals:half_ingot', 'metals:half_ingot'},
        }
})
Last edited by cactuz_pl on Mon Jul 23, 2012 20:44, edited 1 time in total.
Nope
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Jul 23, 2012 21:46

He wants shapeless Receipes
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
cactuz_pl
Member
 
Posts: 874
Joined: Tue Jun 05, 2012 16:34

by cactuz_pl » Tue Jul 24, 2012 07:39

sfan5 wrote:He wants shapeless Receipes


Ok, with "shapeless":
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_craft({
    type = "shapeless",
        output = 'metals:half_ingot 2',
        recipe = {
                "default:steel_ingot",
        }
})
 
minetest.register_craft({
        type = "shapeless",
    output = 'default:steel_ingot',
        recipe = {
                "metals:half_ingot", "metals:half_ingot",
        }
})
 


You have added unnecessary {} in recipe. In type = "shapeless" we don't use {} inside "recipe" part.

From lua_api.txt
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Recipe for register_craft (shapeless)
{
    type = "shapeless",
    output = 'mushrooms:mushroom_stew',
    recipe = {
        "mushrooms:bowl",
        "mushrooms:mushroom_brown",
        "mushrooms:mushroom_red",
    },
    replacements = <optional list of item pairs,
                    replace one input item with another item on crafting>
}
Last edited by cactuz_pl on Tue Jul 24, 2012 08:19, edited 1 time in total.
Nope
 

User avatar
tkerwel
Member
 
Posts: 213
Joined: Fri Jan 13, 2012 07:35

by tkerwel » Tue Jul 24, 2012 07:57

can somebody explain this slowly and understandeble for an old man like me...

whats a shapeless recipe? whats the difference between a normal and a shapeless recipe.

when i heat "shapeless", i was thinking abt a non-cube based output in minetest and i thought this is not working within minetest.
++++ Kung walang tiyaga, walang nilaga. ++++
 

User avatar
cactuz_pl
Member
 
Posts: 874
Joined: Tue Jun 05, 2012 16:34

by cactuz_pl » Tue Jul 24, 2012 08:08

tkerwel wrote:can somebody explain this slowly and understandeble for an old man like me...

whats a shapeless recipe? whats the difference between a normal and a shapeless recipe.

when i heat "shapeless", i was thinking abt a non-cube based output in minetest and i thought this is not working within minetest.


Example:
1.Normal recipe (without "shapeless")
Mese tool:
{mese,mese,mese}'
{nothing,stick,nothing},
{nothing,stick,nothing},

To craft this one you must put mese and sticks exactly in this shape. If you try put it like this(up side down):
{nothing,stick,nothing},
{nothing,stick,nothing},
{mese,mese,mese}'
It will not work.

2. Shapeless recipe
Mese tool:
{mese,mese,mese}'
{nothing,stick,nothing},
{nothing,stick,nothing},
For craft this tool with "shapeless" type craft, you must just put 3 mese and 2 sticks, no mater how, in what shape, that's why it was named "shapeless".

That was only example of "shapeless", because it should look like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
type = "shapeless",
    output = 'mushrooms:mushroom_stew',
    recipe = {
        "mushrooms:bowl",
        "mushrooms:mushroom_brown",
        "mushrooms:mushroom_red",
    },

As you see bowl can be under mushrooms ,between or on the side of them, components can by placed in horizontal, vertical or even oblique line, it is no mater in "shapeless".

Very similar to normal craft, but without curly brakes {} inside recipe section, which in normal craft means horizontal rows of recipe.
Last edited by cactuz_pl on Tue Jul 24, 2012 08:23, edited 1 time in total.
Nope
 

User avatar
tkerwel
Member
 
Posts: 213
Joined: Fri Jan 13, 2012 07:35

by tkerwel » Tue Jul 24, 2012 08:23

@cactuz_pl
thank you ....its always a pleasure to read your posts....

and one more thing an old man learned today...*gg*
++++ Kung walang tiyaga, walang nilaga. ++++
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 8 guests

cron