use increment/decrement
Yes, absolutely.
Yeah, sounds ok.
I have reservations (please elaborate)
No (Why not!?!?!?!? *wielding axe* :P)
I was actually going to try making this one of my first Lua projects because it looks quite noob-friendly, but I still haven't even finished Wire Quaker (about 95% done) and I get the feeling it's going to be a while before I can concentrate on coding, have got some serious real-life issues that are distracting me at the moment and struggling even to focus on buildng/wiring. I really should code a lot more - stupid distracting landlord/tax-people/bank/Amazon/health etc. etc.
Churning out ideas & suggestions is pretty easy for me by comparison.![]()
use increment/decrement
Yes, before you throw out your ideas, think of them :
- Isn't this already possible and not really hard to do with current Wire entities ?
- Is there any point doing this for Wire ?
- Will people ever need it ?
Some of your ideas are pretty good, but, well, I browsed through the Ideas sub-forum, and most of them were pretty pointless. Only a few of them were quite interesting.
Well, this isn't exactly pointless, but I won't call it a "smart advanced input". I would rather call it a "smart accumulator".
I would like to see this implemented as well, as I use an expression to emulate this on a number of contraptions.
I hook "Key" up to a dual input of 1 and -1 - Toggle off. Reset is optional, but it can be hooked up to a simple numpad input. The "Set" input is used to force the value to a certain number.Code:N@updown I@Key Reset Set O@Number Min = 1, Max = 10, Rate = 1 C = 1, Key == 0 -> C = 0; Key == 1 & C== 1 & Number < Max -> Number = (Number + Rate); Key == -1 & C== 1 & Number > Min -> Number = (Number - Rate); Reset == 1 -> Number = 0; Set != 0 -> Number = Set;
I had to add the C (for change) to keep the expression from bugging out. Not sure why it wouldn't register the depression of the numpad button (the numpad output changes to 1 when I hit it and quickly changes back to 0 when I let go, but the expression would sometimes read it as a constant "1". The C line forces it to double check.)
If all of this was built in to the adv input, that would be awesome!
Spawn Substract gate.
Spawn 2 numpad inputs or whatever you want (+ for incrementing the value, - for decrementing).
Spawn Substract gate.
Link A input of the gate to "+" numpad input. Link input B to "-" numpad input.
Spawn Accumulator.
Link A input of the accumulator to Substract gate.
Eventually link Reset input to some button for resetting.
And you're done.
Doesn't take a long time to set up. You can add a multiplier to make the accumulator increment or decrement faster.
I would like to see it, nothing there that can't be done with standard chips, but it would be nice.
Although I would use it more as a smart accumulator with manual override...
Still, nice idea.
Looking at poll, hmmm seems I requested Marmite v2 :lol:
Bookmarks