Scrap Mechanic

Scrap Mechanic

[Archived] Circuit Creator
41 Comments
Amy  [author] Oct 11, 2023 @ 3:56pm 
Unfortunately not.

I am not planning to further maintain this project and don't know about the other author and if there's interest to maintain it.
kondziotron3310 Oct 11, 2023 @ 9:18am 
Are you going to add such a function?
Amy  [author] Apr 1, 2023 @ 2:59am 
Hi!

Unfortunately there is no mechanism to concatenate several compressed circuits yet.

The input colours don't have to be necessarily unique for the circuit to work, however you'll likely need to check with the gate tags, whether the IO id numbers match the original circuit. Using unique colours for inputs or outputs respectively, is the convenient way. Inputs and outputs are handled separately, so you can use red as input and output, without any colour collision.
5Y573M_F4!1UR3 Mar 25, 2023 @ 12:12pm 
Is it possible to compress a compressed circuit inside a circuit? Idk if each IO colour has to be different or if just the IO for the WHOLE circuit together has to be different (For example, A circuit with 1 Dark Blue Input and 1 Dark Red Output has a compressed circuit, that has 1 Dark Blue input and 1 Dark Red output), or if you can't compress circuits inside each other. Pleas help
Amy  [author] Aug 10, 2022 @ 10:14pm 
No. Please consider reading the description for questions of this nature 👍
Engineer In A Box Aug 9, 2022 @ 7:52am 
does this work with modpack number logic?
Amy  [author] Feb 3, 2022 @ 2:39am 
Check the URL of this submission. Btw. as you might've noticed, I provided you this info on Discord. You should check it out 😉
Natejoestev Feb 1, 2022 @ 6:44am 
i need the id to get to the description.json...
wingcomstriker405  [author] Jan 31, 2022 @ 8:11am 
take a look at the description.json file it should be in there
Natejoestev Jan 31, 2022 @ 7:16am 
do you know what the ID of the mod is (UUID)
Amy  [author] Jan 19, 2022 @ 7:17am 
You've probably seen the replies on the r/SM discord by now. I'd appreciate any feedback about what exactly can be changed in the guide, to make it easier to understand :)
Wapplee Jan 17, 2022 @ 3:56pm 
how do i use it? the tutorial shown in the description isnt helping me at all
wingcomstriker405  [author] Jan 3, 2022 @ 12:39pm 
That goes sideways and reverse?
glob Jan 3, 2022 @ 10:49am 
this don't work, the guide does not explain how to connect something that has connections that go sideways and revrse
Prime Jan 2, 2022 @ 9:41pm 
I just realized, I said "toggle flip-flop" in my original post. That was an error. I meant t-latch. I see why that would be confusing. Apologies for that.
Prime Jan 2, 2022 @ 2:09pm 
Oh, I added an issue discussion post instead, my bad. Is that okay?
Amy  [author] Jan 2, 2022 @ 12:25pm 
You can send me a friend request on steam or discord Sheggy#2002 and DM me the links to the blueprints.

I'd appreciate if you also could give any specifics, that I should know about, when looking into the blueprints :)
Prime Jan 2, 2022 @ 12:00pm 
Yes, T-Latches do work as expected and I had no issues with the typical glitching upon creation with the lift, but I cannot get XOR memory to function. I presumed it was because of the differences in propagation delay, but if it works for you, that definitely makes me doubt my judgement. To clarify, I made the simplest XOR gate memory module I could to test. Now that I think about it, it could be that I included the one-tick pulse generator in the circuit block itself, which led to the issue. I thought I tried it both with an internal and an external generator, but my memory is often wrong. I can send you some blueprints when I get the chance. Thank you for being so responsive, really appreciate that.
Amy  [author] Jan 2, 2022 @ 9:51am 
If you're talking about T-Latches, that's odd. I haven't had any issues with XOR gates 🤔. If you could give me a list of specific circuits that you'd like to compress, I'll have a look into it. Granted, not having a propagation delay makes it behave differently than expected. I guess having something to better visualise how the internals work, would make creating circuits with this easier.
Prime Dec 30, 2021 @ 8:06pm 
I'll be honest, this is a great mod, but the lack of propagation delay seems to defeat part of its purpose. Complex circuits often require memory and other repeating logic units (such as clock signal timers). This mod allows for little of that, as XOR gate memory will not function and clock signals are completely disregarded. NOR gate memory seems to work, except that creating forward NOR gate counters and other such replacements for XOR counterparts is significantly more complicated (although, granted, this mod is designed to solve complexity. After all, that's my entire point here). It is nice though that this mod seems to automatically rectify toggle flip-flop creation glitches. Don't get me wrong, this is wonderful for lag-intensive logic creations or overall confusion over a circuit's size, but it takes such a hit fundamentally that I don't think I can use it in most of my builds.
glob Oct 22, 2021 @ 3:14pm 
how in the world do i get this to work?
'Overdrive' Apr 27, 2021 @ 11:15am 
why i haven't heard about it before?
Amy  [author] Mar 25, 2021 @ 12:29am 
If you mean whether the circuit updates its internal state and the signals at the outputs only once per update, then yes. Each in game tick equals one update of the whole circuit at once.

Creating another guide (and maybe a video) or updating the current one, which explains the way this mod works more thoroughly, is on my to do list now.

If you've got further questions, post them in the Q&A discussion, so others can profit from our discussion and can find them more easily in future :)
ValinFS Mar 24, 2021 @ 5:21pm 
Thank for the patience, I think I understand. Would I be right in saying that all logic gates should only change once when the input is updated. So no switching to the on state then off in one update.
Amy  [author] Mar 24, 2021 @ 4:22pm 
Think of parts of your circuit as if they would be represented by truth and excitation tables respectively. Combinational sub-circuits can be seen as truth tables and sequential sub-circuits can be seen as excitation tables.

You don't have to think about the propagation delay of signals or the hold time for inputs. So if you have some kind of vanilla circuit which needs to take the signals propagation into consideration, it won't behave the same in the circuit block, since there is no such thing as a signal propagation.

The other mod I mentioned is currently being developed by a fellow mod developer and I don't know when they're going to make it public 🤔.
ValinFS Mar 24, 2021 @ 3:41pm 
Thanks, but where can I get this modded gate when the mod is complete?
I followed all the rules in the guide; I just think I don't understand how this mod works behind the scenes. Could you explain why some logic does not work the same when scanned or give me a link that will show me. This is one of my new favorite mods, but I would like to know how to use it to its fullest potential.
Amy  [author] Mar 24, 2021 @ 3:04pm 
Yes, there are differences between the behaviour of vanilla logic gate circuits and scanned circuits in this mod. Have a look in the linked guide.

Somebody else currently is working on a mod which adds a logic gate which, when used in a normal circuit, behaves the same way as a compressed circuit does. They and I are working together to support those custom logic gates in this mod.
ValinFS Mar 23, 2021 @ 6:36pm 
Are there any limits to what logic I can use? I built a binary 4-bit adder, but it has a different output depending on if it is vanilla logic gates or in a circuit. :/
Amy  [author] Feb 25, 2021 @ 4:38pm 
Under those circumstances your contraption would not be able to work. I wouldn't say parts other than logic gates break the mod, since this mod was never designed to support modded connectable parts and their operation.

Problems might arise like how other mods implement the respective logic behind their parts. Different developers chose different conventions and trying to consider every single one of them would take an enormous amount of work, requiring a large group of people coordinating and working together in their free time and making their mods compliant with some specification.

I hope this answers your questions :)
beerlizard Feb 25, 2021 @ 4:10pm 
if u have logic gate inputs and outputs but num logic for internal workings would it still work? or is it just that num logic breaks it in general?
CoffeeLink Feb 16, 2021 @ 6:07am 
This mod is AWESOME!
RostigerSpieler Jan 27, 2021 @ 4:03pm 
A video would be a good idea. Then you can certainly better assess the potential of the mod. And there are also a few additional clicks on YouTube. :steamthumbsup:
Amy  [author] Jan 27, 2021 @ 4:29am 
I guess you might be right. Most people probably are not going to bother reading the guide where I've put in some screenshots showing an example. Do you think having an additional showcase thread in the discussions would also be useful? 🤔

I still didn't get myself to record a quick demonstration video which was suggested before 👀
RostigerSpieler Jan 26, 2021 @ 11:49pm 
It would make sense to upload a few screenshots here. Nobody likes to buy the cat I poke. And a meaningless picture doesn't make it any better ;)
Amy  [author] Dec 19, 2020 @ 5:41pm 
I'll start working on a video explaining the basics after the feature for simulating sequential circuits has been finished. In the mean time, check the linked guide above for a more comprehensive manual. :)
🌸danwua🌸 Dec 19, 2020 @ 12:29pm 
Nice mod! If you have time, please create a video tutorial, as I have no idea how to operate the mod.
dom Dec 13, 2020 @ 8:26am 
take your time. just go at a good pace and might get there eventually. one thing at a time
Amy  [author] Dec 13, 2020 @ 8:20am 
No worries. While the current code base is pretty extensible, using number logic wouldn't be simple to implement.

We could use some modules of the code and repurpose them and add another block which specifically works with the number logic from the Mod Pack. I'd have to look into that at a later time. Currently there's another feature in work though, which allows to create sequential circuits. Sadly I can't promise anything right now regarding number logic.
dom Dec 13, 2020 @ 8:06am 
i really don't know much about things like this. i just had a idea. Ok so basically imagine you have a number that goes into the compacted block. in the block there is a math block dividing something by a specific number. then the output is the number that went in, and was divided. this would help basically turn entire modules of builds that take up a lot of space, to only take up a few blocks. i don't know how this would work or how hard it would be to make it work, but the payoff could be immense. i just realized this isn't the discussion section. sorry.
Amy  [author] Dec 13, 2020 @ 7:51am 
Thanks for your feedback. Do you have something concrete in mind, like a part that takes any number from the number logic blocks and turns it into a binary number or smth. similar?

If you have a specific idea that might fit well into the theme of this mod, please write it in the feature request discussion. I'd be happy to hear about it :)
dom Dec 13, 2020 @ 7:28am 
if you could manage to make this compatable with number logic it could be the most powerfull mod we have seen in a while. i dont know anything about making a mod but i do assume that might be a bit difficult. still, that would be a game changer.