Up/down Piston

Post Reply
adversity
Member
Posts: 23
Joined: Sun Nov 11, 2012 00:59

Up/down Piston

by adversity » Post

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!

OdnetninI
Member
Posts: 38
Joined: Sun Oct 21, 2012 08:20

by OdnetninI » Post

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"},
    }
})

adversity
Member
Posts: 23
Joined: Sun Nov 11, 2012 00:59

by adversity » Post

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!

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

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.

adversity
Member
Posts: 23
Joined: Sun Nov 11, 2012 00:59

by adversity » Post

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.
Last edited by adversity on Mon Nov 12, 2012 04:27, edited 1 time in total.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

No problem. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests