Cuberite Forum

Full Version: Lever
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
And does the repeater turn off after you turn off the lever?
yes it does
(12-16-2012, 03:54 PM)xoft Wrote: [ -> ]I finally had a look at the patch, nice work. I just reformatted some of the lengthy conditions, otherwise it's good. Committed as rev 1075.

Thanks Smile

I see what you mean that the lever could power the repeater even when it is off. What I found from testing is that what is determining if power gets propagated to the neighboring blocks is the RemoveCurrent Function by finding which device is a power source (only a lever that is on is being detected as a power source).

What I have so far that is not working is what Luksor found: the lever doesn't power the block it is attached to when it is on the side of the block. I think this has to do with the way the powering of blocks are handled. That's why I thought of building some sort of event based simulator.
maybe you can also add buttons and pressure plates Smile
YeahBig Grin i want to add those too.
Pages: 1 2