Page 1 of 1

Up/down Piston

Posted: Sun Nov 11, 2012 01:15
by adversity
Hello all!

First of all, awesome game and wonderful modding and support!

I do have a question. I am using jeija's mesecons mod (which rocks) and I cannot figure out how to get up or down pistons. I see from the github that this feature appears to have been implemented some time ago.

I do have the latest version of mesecons and minetest (0.4.3) installed and I have tried to place them from different angles as instructed on the mesecons website without any luck as of yet as I only get horizontal pistons. Am I doing this wrong?

Any help is appreciated!

Posted: Sun Nov 11, 2012 01:30
by OdnetninI
There are Up and Down pistons how another node.

Here you have crafting recipes in Lua Code:

UP:

Code: Select all

minetest.register_craft({
    output = "mesecons_pistons:piston_up_normal",
    recipe = {
        {"mesecons_pistons:piston_normal"},
    }
})
minetest.register_craft({
    output = "mesecons_pistons:piston_up_sticky",
    recipe = {
        {"mesecons_pistons:piston_sticky"},
    }
})
DOWN:

Code: Select all

minetest.register_craft({
    output = "mesecons_pistons:piston_down_sticky",
    recipe = {
        {"mesecons_pistons:piston_up_sticky"},
    }
})
minetest.register_craft({
    output = "mesecons_pistons:piston_sticky",
    recipe = {
        {"mesecons_pistons:piston_down_sticky"},
    }
})

Posted: Mon Nov 12, 2012 04:18
by adversity
Hi OdnetninI!

Thank you for your reply.

If I understand you correctly, there are separate recipes for up and down pistons. Can you tell me what the recipes are? I have tried varying the existing piston recipe and not had any luck.

Thanks!

Posted: Mon Nov 12, 2012 04:22
by InfinityProject
Place a regular piston in the crafting grid for an up piston.
Place an up piston in the crafting grid for a down piston.
Also, you can place a down piston in the grid for a normal piston.

Posted: Mon Nov 12, 2012 04:25
by adversity
Thanks InfinityProject!

That was so simple I am embarrassed I did not even try that. LoL

Many thanks!

PS - thanks also to OdnetninI, I now see what you were saying. I was just daft there lol.

Posted: Mon Nov 12, 2012 04:26
by InfinityProject
No problem. :)