Assembly frames
Created by: unid15
Missed get edition
Assemblies are still kind of a pain in the ass to work with, but now you can make more complex things with them.
- Added assembly frames - items that can store and link together an infinite amount of assemblies
- Using an assembly (timer, signaler, speaker, etc) on an assembly frame stores the assembly inside the frame
- Using the assembly frame's interface you can link different assemblies together
- If assembly A is linked to assembly B, whenever A sends a pulse, B will receive it. If B sends a pulse, A won't receive it (unless B is linked to A).
- There's no limit on the amount of links that an assembly can have
- Assembly frames can be built at the protolathe, or bought from vendomats for a coin
- **Added three 'assemblies' that are intended to be used in assembly frames. They can be made at the autolathe.
- Added addition circuits - whenever they receive a signal, their internal counter is increased by 1. Whenever their counter reaches a certain value, it's reset to 0 and the circuit emits a pulse.
- Added randomizer circuits - when pulsed, they randomly select some devices connected to them, and emit a pulse to them. It's possible to configure the amount of devices selected. They also generate a single random number from 0 to specified value
- Added comparison circuits - they must be used in conjunction with an addition circuit, randomizer circuit, timer or prox sensor, and another one/two assemblies. When pulsed, comparison circuits take the first connected assembly's value and check if it meets the condition (specified in the circuit). If it does, the second connected assembly is pulsed. Otherwise, the third connected assembly is pulsed. See the gallery for an example.
- Addition assemblies' value is their counter, randomizer assemblies' value is their last generated random number, timers and prox sensors have the time remaining (in secs) as their value
- All of the new assemblies can be made at the autolathe
OTHER CHANGES
- Timers and prox sensors can have a default time set up. When they tick down to 0, they'll reset to that default time instead of 0:10 like before.
- Timers and prox sensors now have a WIRE_RECEIVE wire. When they receive a pulse, they toggle their timer.
- Speakers can no longer have their message changed at distance
GALLERY
Here's my first machine; sending a signal to (activator) will turn it on/off. When turned on, it sings a daft punk song until turned off.
This machine's state can be toggled - depending on the state, either the first or the second circuit sends a pulse. Adding more addition circuits allows for more states.
This machine says a random number from 1 to 5 when activated.
This complex machine is operated by two buttons: one increases its internal counter by 1 (if the value goes over 5, it's reset to 0), second one checks if the counter is equal to 2 and plays an appropriate sound.