Chemicompiler in /tg/
-
- Joined: Fri Jan 15, 2016 12:22 am
- Byond Username: Finianb1
Chemicompiler in /tg/
After many long hours of tedious chemistry shifts, making the same medicines over and over again, I tried to find a way to automate the tasks of mixing, heating, and bottling my chemicals. After a long while, I ave finally found the answer. The GoonStation ChemiCompiler is a device that can be programmed to automate the simple and trivial tasks of mixing, heating, and bottling chemicals. Now, I know what your thinking. However, it is not as straightforward as it may seem. The GoonStation ChemiCompiler is programmed in a highly esoteric and difficult language, BrainFuck. (The ChemiCompiler variant is called ChemFuck.) Using only symbols, pointers, incrementation, and decrementation, BrainFuck ensures that the ChemiCompiler will not make chemists' jobs easier. More often than not it will be more difficult to write a ChemFuck program for a medicine or chemical than it would be to just make it manually. The real value is that it allows you to mass produce chemicals more easily, in the long run. However, the ChemFuck implementation will come with a few caveats. It absolutely must ignore all non instruction characters (This includes tabs and spaces). This will allow for code commenting, making the process of debugging or changing your code much easier. The full explanation and tutorial on the ChemiCompiler can be found here: http://wiki.ss13.co/ChemiCompiler. For cross-compatibility, it must also follow the same rules and syntax as the GoonStation ChemiCompiler, making it possible to copy and paste code between both codebases, as long as the recipes are the same. Thanks for reading, please comment with your feedback or suggestions below.
- Saegrimr
- Joined: Thu Jul 24, 2014 4:39 pm
- Byond Username: Saegrimr
Re: Chemicompiler in /tg/
So it's the "Copy & paste recipe list from pastebin to do your job for you"?
tedward1337 wrote:Sae is like the racist grandad who everyone laughs at for being racist, but deep down we all know he's right.
- kevinz000
- Joined: Fri Nov 14, 2014 8:41 am
- Byond Username: Kevinz000
- Github Username: kevinz000
- Location: Dorm Room 3
Re: Chemicompiler in /tg/
Saegrimr wrote:So it's the "Copy & paste recipe list from pastebin to do your job for you"?
Local catgirl scratching post - Shezza
Usually seen as Skylar Lineman/Mekhi Anderson.
Commissions way too much art...
https://tgstation13.org/phpBB/viewtopic ... 7&p=239075 - IN GAME ADMINISTRATOR
Usually seen as Skylar Lineman/Mekhi Anderson.
Commissions way too much art...
https://tgstation13.org/phpBB/viewtopic ... 7&p=239075 - IN GAME ADMINISTRATOR
NSFW:
- iamgoofball
- Github User
- Joined: Fri Apr 18, 2014 5:50 pm
- Byond Username: Iamgoofball
- Github Username: Iamgoofball
Re: Chemicompiler in /tg/
I'm not porting brainfuck, no
- Alipheese
- Joined: Sun May 01, 2016 12:56 pm
- Byond Username: Daturix
- Github Username: Daturix
Re: Chemicompiler in /tg/
kevinz000 wrote:Saegrimr wrote:So it's the "Copy & paste recipe list from pastebin to do your job for you"?
- oranges
- Code Maintainer
- Joined: Tue Apr 15, 2014 9:16 pm
- Byond Username: Optimumtact
- Github Username: optimumtact
- Location: #CHATSHITGETBANGED
Re: Chemicompiler in /tg/
Yes I know saeg's comment was on point, but lets not have a giant quote train please.
-
- Joined: Fri Jan 15, 2016 12:22 am
- Byond Username: Finianb1
Re: Chemicompiler in /tg/
Actually, I am an avid programmer, and ChemFuck offers a very interesting challenge. I would definitely be willing to do the work to code for my own recipes that I use often, such as my mannitol and cryoxadone mix, or, for traitor, my cyanide smoke grenade and my fluorosulphuric foam grenade. I would even be willing to program in Befunge-98 for the ChemiCompiler, if the opportunity was presented.Saegrimr wrote:So it's the "Copy & paste recipe list from pastebin to do your job for you"?
-
- Joined: Fri Dec 09, 2016 5:37 pm
- Byond Username: Karlnp
Re: Chemicompiler in /tg/
i don't think it's a good idea. automating IRL chemistry has lots of benefits! i don't see them with the SS13 role on tg - if you're bored with mixing your recipes, give the role up and play something else, let new people have a chance.
- Remie Richards
- Joined: Thu Apr 17, 2014 7:11 pm
- Byond Username: CrimsonVision
- Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
- Contact:
Re: Chemicompiler in /tg/
You don't have to bbyiamgoofball wrote:I'm not porting brainfuck, no
(If you can't tell, that's a brainfuck program from wikipedia, for outputting "Hello World!\n", you can't see the \n though cos they're invisible)
私は完璧
- iamgoofball
- Github User
- Joined: Fri Apr 18, 2014 5:50 pm
- Byond Username: Iamgoofball
- Github Username: Iamgoofball
Re: Chemicompiler in /tg/
Jesus Christ
-
- Joined: Mon Jun 23, 2014 10:32 pm
- Byond Username: Bob Dobbington
Re: Chemicompiler in /tg/
Brainfuck would probably be a mistake but a DSL for chemist would go a long way in terms of increasing depth in the job. Ideally you'd want something that could control the various chem machines and transfer between them. This doesn't need to be a roundstart thing, this is something that we can gate behind R&D, and that means we don't have to dick around with deliberately obtuse things like esolangs.
- Remie Richards
- Joined: Thu Apr 17, 2014 7:11 pm
- Byond Username: CrimsonVision
- Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
- Contact:
- DemonFiren
- Joined: Sat Dec 13, 2014 9:15 pm
- Byond Username: DemonFiren
Re: Chemicompiler in /tg/
>automate a job to make it less tedious, but more boring in the long run due to everyone copypasting instead of being original
>gate it behind r&d to make science even more autisticially powerfull
>gate it behind r&d to make science even more autisticially powerfull
- CPTANT
- Joined: Mon May 04, 2015 1:31 pm
- Byond Username: CPTANT
Re: Chemicompiler in /tg/
Mixing IS tedious though.
I think having a somewhat large buffer in the chem dispenser might go a very long way to solve the problem.
I think having a somewhat large buffer in the chem dispenser might go a very long way to solve the problem.
Timberpoes wrote: ↑Tue Feb 14, 2023 3:21 pm The rules exist to create the biggest possible chance of a cool shift of SS13. They don't exist to allow admins to create the most boring interpretation of SS13.
-
- Joined: Fri Jan 15, 2016 12:22 am
- Byond Username: Finianb1
Re: Chemicompiler in /tg/
I was thinking about some sort of DSL last night. It would be really useful to be able to automatically pipe created pills and patches to smart chem storage, or even beakers from a chem dispenser to chem heaters or the chemmaster 3000.Bob Dobbington wrote:Brainfuck would probably be a mistake but a DSL for chemist would go a long way in terms of increasing depth in the job. Ideally you'd want something that could control the various chem machines and transfer between them. This doesn't need to be a roundstart thing, this is something that we can gate behind R&D, and that means we don't have to dick around with deliberately obtuse things like esolangs.
I totally agree, this would make it more difficult than just C++, Python, or another language that is relatively common. Using brainfuck makes it more of a challenge, and increases the skill cap of chemist. I know I'd certainly use it for my healing foam grenades, and many other recipes that are longer snd more complicated, such as Epinephrine.Remie Richards wrote:esolangs are fun though.
- John_Oxford
- Github User
- Joined: Sat Nov 15, 2014 5:19 am
- Byond Username: John Oxford
- Github Username: JohnOxford
- Location: The United States of America
Re: Chemicompiler in /tg/
You could just make it where the chem machines have a 1000 unit cylinder for mixed chemicals to go into.
The beaker you put into this empties from this cylinder
Chemicals can react in it, you can upgrade it in RnD to prevent this.
in order to prevent le ebin goonports
The beaker you put into this empties from this cylinder
Chemicals can react in it, you can upgrade it in RnD to prevent this.
in order to prevent le ebin goonports
Bill Rowe - Used for everything // SYS-OP - AI // SYS-USR - Cyborg
https://gyazo.com/07cbe7219ba24366c1f655ad6c56a524
Signature Content:
https://gyazo.com/07cbe7219ba24366c1f655ad6c56a524
Signature Content:
Spoiler:
- Drynwyn
- Joined: Fri Apr 18, 2014 5:09 pm
- Byond Username: Drynwyn
Re: Chemicompiler in /tg/
Isolangs would be fun in theory, but in practice just means copy-pasting and reliance on out-of-game resources, which is bad.Finianb1 wrote:I was thinking about some sort of DSL last night. It would be really useful to be able to automatically pipe created pills and patches to smart chem storage, or even beakers from a chem dispenser to chem heaters or the chemmaster 3000.Bob Dobbington wrote:Brainfuck would probably be a mistake but a DSL for chemist would go a long way in terms of increasing depth in the job. Ideally you'd want something that could control the various chem machines and transfer between them. This doesn't need to be a roundstart thing, this is something that we can gate behind R&D, and that means we don't have to dick around with deliberately obtuse things like esolangs.
I totally agree, this would make it more difficult than just C++, Python, or another language that is relatively common. Using brainfuck makes it more of a challenge, and increases the skill cap of chemist. I know I'd certainly use it for my healing foam grenades, and many other recipes that are longer snd more complicated, such as Epinephrine.Remie Richards wrote:esolangs are fun though.
In game, I play the A.I Firmware, the French cyborg C.U.R.I.E, Aubrie Allen, and the lizard scum Skulks-Through-Maintenance.
- iamgoofball
- Github User
- Joined: Fri Apr 18, 2014 5:50 pm
- Byond Username: Iamgoofball
- Github Username: Iamgoofball
Re: Chemicompiler in /tg/
Then why doesn't that happen at goon?
- Drynwyn
- Joined: Fri Apr 18, 2014 5:09 pm
- Byond Username: Drynwyn
Re: Chemicompiler in /tg/
Two main reasons.iamgoofball wrote:Then why doesn't that happen at goon?
-Server culture that values MUH SIKRITS
-Moderation of the wiki/official forums to remove SIKRITS that are posted
People looking to post/looking to find secrets or copy paste scripts don't have any clear place to look. Even with that in place, there's stuff on Pastebin, but it's much harder to find. Here, unless we were willing to put rules against it in place (we shouldn't), the scripts would quickly make their way to the forums and wiki where they can be easily accessed.
In game, I play the A.I Firmware, the French cyborg C.U.R.I.E, Aubrie Allen, and the lizard scum Skulks-Through-Maintenance.
- Saegrimr
- Joined: Thu Jul 24, 2014 4:39 pm
- Byond Username: Saegrimr
Re: Chemicompiler in /tg/
Don't forget actively going and changing the code when they are found and spread around to make that method no longer work.Drynwyn wrote:-Moderation of the wiki/official forums to remove SIKRITS that are posted
tedward1337 wrote:Sae is like the racist grandad who everyone laughs at for being racist, but deep down we all know he's right.
- iamgoofball
- Github User
- Joined: Fri Apr 18, 2014 5:50 pm
- Byond Username: Iamgoofball
- Github Username: Iamgoofball
Re: Chemicompiler in /tg/
They only care about solarium secrets or recipes for the secret chems.
-
- Joined: Thu Apr 24, 2014 1:47 pm
- Byond Username: Callanrockslol
Re: Chemicompiler in /tg/
Make /tg/code brainfuck compliant 2017.iamgoofball wrote:I'm not porting brainfuck, no
The most excessive signature on /tg/station13.
Still not even at the limit after 8 fucking years.
The evil holoparasite user I can't believe its not DIO and his holoparasite I can't believe its not Skub have been defeated by the Spacedust Crusaders, but what has been taken from the station can never be returned.
OOC: TheGel: Literally a guy in a suit with a shuttle full of xenos. That's a doozy
Still not even at the limit after 8 fucking years.
Spoiler:
OOC: TheGel: Literally a guy in a suit with a shuttle full of xenos. That's a doozy
-
- Joined: Tue Nov 11, 2014 9:34 pm
- Byond Username: Shadowlight213
- Github Username: Shadowlight213
Re: Chemicompiler in /tg/
>Obscure ingame language that everyone just copies and pastes.
This sounds a lot like NTSL
This sounds a lot like NTSL
- ShadowDimentio
- Joined: Thu May 08, 2014 3:15 am
- Byond Username: David273
Re: Chemicompiler in /tg/
Porting the chemicompiler would be a huge waste of time but Goon has a slightly different thing that people actually used. You'd type out the name of the chems you wanted dispensed separated by a ; and it would spit it all out at once. Made chemistry tacticool if you went through the trouble of making a script for initro or something.
Spoiler:
- tacolizard
- Joined: Wed Jul 06, 2016 11:39 pm
- Byond Username: Tacolizard
- Github Username: Tacolizard
- Location: the endless void
Re: Chemicompiler in /tg/
i like the idea but brainfuck is just dumb. if at all it should be some sort of weird assembly language.
- iamgoofball
- Github User
- Joined: Fri Apr 18, 2014 5:50 pm
- Byond Username: Iamgoofball
- Github Username: Iamgoofball
Re: Chemicompiler in /tg/
tacolizard wrote:i like the idea but brainfuck is just dumb. if at all it should be some sort of weird assembly language.
"I don't like X! I really think we should add *description of X* though!"ShadowDimentio wrote:Porting the chemicompiler would be a huge waste of time but Goon has a slightly different thing that people actually used. You'd type out the name of the chems you wanted dispensed separated by a ; and it would spit it all out at once. Made chemistry tacticool if you went through the trouble of making a script for initro or something.
- ShadowDimentio
- Joined: Thu May 08, 2014 3:15 am
- Byond Username: David273
Re: Chemicompiler in /tg/
Why yes, Goof, I would say that there's a difference between the chemicompiler and the chem dispenser code thing in the same way a unicycle and bike are different. Sure they both get you somewhere but one is a pain in the ass to use.
Spoiler:
- Saegrimr
- Joined: Thu Jul 24, 2014 4:39 pm
- Byond Username: Saegrimr
Re: Chemicompiler in /tg/
Let's use brainfuck, but this instead. https://esolangs.org/wiki/Ook
tedward1337 wrote:Sae is like the racist grandad who everyone laughs at for being racist, but deep down we all know he's right.
- DemonFiren
- Joined: Sat Dec 13, 2014 9:15 pm
- Byond Username: DemonFiren
Re: Chemicompiler in /tg/
Maybe if we get a genetics equivalent.Saegrimr wrote:Let's use brainfuck, but this instead. https://esolangs.org/wiki/Ook
-
- Joined: Fri Jan 15, 2016 12:22 am
- Byond Username: Finianb1
Re: Chemicompiler in /tg/
I like the idea of assembly, but it would use the same concepts as BF, such as 1024 8 bit registers and simplicity, but would extend it with addition, subtraction, multiplication, and simple conditional execution, as well as possibly even IO. I can write up a language spec tonight.
- cedarbridge
- Joined: Fri May 23, 2014 12:24 am
- Byond Username: Cedarbridge
-
- Joined: Mon Jan 23, 2017 7:42 pm
- Byond Username: Yezinka
Re: Chemicompiler in /tg/
This. I main scientist on goon quite a bit, and it's a fantastic feature. Made a related QoL suggestion post about it on their forum a while back and they made it more functional by allowing you to implement the specific amount of each chem to be dispensed. The only thing is I'm not sure if it's sequenced or not.ShadowDimentio wrote:Porting the chemicompiler would be a huge waste of time but Goon has a slightly different thing that people actually used. You'd type out the name of the chems you wanted dispensed separated by a ; and it would spit it all out at once. Made chemistry tacticool if you went through the trouble of making a script for initro or something.
I.e. "oxygen=10;water=10;oxygen=10" might dispense 20u of oxygen at once, rather than 10u of oxygen, 10u of water, then 10u of oxygen again.
- cedarbridge
- Joined: Fri May 23, 2014 12:24 am
- Byond Username: Cedarbridge
Re: Chemicompiler in /tg/
This just takes us back to the issue of scripting or pastebining chem. At that rate you might as well take the powercreep the final step and replace the base chems with buttons that dispense the final products and turn the chem dispenser into a vending machine.Hikurac wrote:This. I main scientist on goon quite a bit, and it's a fantastic feature. Made a related QoL suggestion post about it on their forum a while back and they made it more functional by allowing you to implement the specific amount of each chem to be dispensed. The only thing is I'm not sure if it's sequenced or not.ShadowDimentio wrote:Porting the chemicompiler would be a huge waste of time but Goon has a slightly different thing that people actually used. You'd type out the name of the chems you wanted dispensed separated by a ; and it would spit it all out at once. Made chemistry tacticool if you went through the trouble of making a script for initro or something.
I.e. "oxygen=10;water=10;oxygen=10" might dispense 20u of oxygen at once, rather than 10u of oxygen, 10u of water, then 10u of oxygen again.
-
- Joined: Mon Jan 23, 2017 7:42 pm
- Byond Username: Yezinka
Re: Chemicompiler in /tg/
Dunno about how it would work out on tg, but it's not an issue on goon. Very few people bother to use it, because it is limited to the size of a beaker, and more importantly, it requires effort. Complex sequences require that you write out the sequence by using arithmetic, which is something most spessmen don't care to do. As for pastebining, I don't think people would share their more complex sequences, simply because they want to be "the only one who knows." That's human nature. But it only takes one asshole to ruin it, so I see your point.cedarbridge wrote:This just takes us back to the issue of scripting or pastebining chem. At that rate you might as well take the powercreep the final step and replace the base chems with buttons that dispense the final products and turn the chem dispenser into a vending machine.Hikurac wrote:This. I main scientist on goon quite a bit, and it's a fantastic feature. Made a related QoL suggestion post about it on their forum a while back and they made it more functional by allowing you to implement the specific amount of each chem to be dispensed. The only thing is I'm not sure if it's sequenced or not.ShadowDimentio wrote:Porting the chemicompiler would be a huge waste of time but Goon has a slightly different thing that people actually used. You'd type out the name of the chems you wanted dispensed separated by a ; and it would spit it all out at once. Made chemistry tacticool if you went through the trouble of making a script for initro or something.
I.e. "oxygen=10;water=10;oxygen=10" might dispense 20u of oxygen at once, rather than 10u of oxygen, 10u of water, then 10u of oxygen again.
- Cobby
- Code Maintainer
- Joined: Sat Apr 19, 2014 7:19 pm
- Byond Username: ExcessiveUseOfCobby
- Github Username: ExcessiveUseOfCobblestone
Re: Chemicompiler in /tg/
Is this server-crash friendly as well?Shadowlight213 wrote:>Obscure ingame language that everyone just copies and pastes.
This sounds a lot like NTSL
Voted best trap in /tg/ 2014-current
- iamgoofball
- Github User
- Joined: Fri Apr 18, 2014 5:50 pm
- Byond Username: Iamgoofball
- Github Username: Iamgoofball
Re: Chemicompiler in /tg/
i think that if the goons can handle it we can
-
- Joined: Fri Jan 15, 2016 12:22 am
- Byond Username: Finianb1
Re: Chemicompiler in /tg/
I agree, I really want to see this in the game.
-
- Joined: Wed Aug 02, 2017 9:33 pm
- Byond Username: Naltronix
- Location: inside of a singularity, send help
Re: Chemicompiler in /tg/
this would actually be quite cool, but we should have a selection of languages to choose from
dont like brainfuck?
how about befunge?
or deadfish?
hell, maybe we could reuse that fucking tcomms language in this but modify it for chemistry
to discourage infinite loops, we should make the machine explode if it gets into one
dont like brainfuck?
how about befunge?
or deadfish?
hell, maybe we could reuse that fucking tcomms language in this but modify it for chemistry
to discourage infinite loops, we should make the machine explode if it gets into one
I play as Asia Maclagan on Bagil, I dont play on Sybil often.
memes lie unseen down in ze spoiler
memes lie unseen down in ze spoiler
Spoiler:
- Remie Richards
- Joined: Thu Apr 17, 2014 7:11 pm
- Byond Username: CrimsonVision
- Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
- Contact:
Re: Chemicompiler in /tg/
We removed the tcomms language (NTSL, Nanotrasen Telecoms Scripting Language) because it was garbage and nobody used it (copy pasting scripts is not 'using' it, nor is it gameplay)
私は完璧
-
- Joined: Wed Aug 02, 2017 9:33 pm
- Byond Username: Naltronix
- Location: inside of a singularity, send help
Re: Chemicompiler in /tg/
its still fun for the people who like to fuck with people
I play as Asia Maclagan on Bagil, I dont play on Sybil often.
memes lie unseen down in ze spoiler
memes lie unseen down in ze spoiler
Spoiler:
- oranges
- Code Maintainer
- Joined: Tue Apr 15, 2014 9:16 pm
- Byond Username: Optimumtact
- Github Username: optimumtact
- Location: #CHATSHITGETBANGED
Re: Chemicompiler in /tg/
This community is literally built around sharing complex effortHikurac wrote:Dunno about how it would work out on tg, but it's not an issue on goon. Very few people bother to use it, because it is limited to the size of a beaker, and more importantly, it requires effort. Complex sequences require that you write out the sequence by using arithmetic, which is something most spessmen don't care to do. As for pastebining, I don't think people would share their more complex sequences, simply because they want to be "the only one who knows." That's human nature. But it only takes one asshole to ruin it, so I see your point.cedarbridge wrote:This just takes us back to the issue of scripting or pastebining chem. At that rate you might as well take the powercreep the final step and replace the base chems with buttons that dispense the final products and turn the chem dispenser into a vending machine.Hikurac wrote:This. I main scientist on goon quite a bit, and it's a fantastic feature. Made a related QoL suggestion post about it on their forum a while back and they made it more functional by allowing you to implement the specific amount of each chem to be dispensed. The only thing is I'm not sure if it's sequenced or not.ShadowDimentio wrote:Porting the chemicompiler would be a huge waste of time but Goon has a slightly different thing that people actually used. You'd type out the name of the chems you wanted dispensed separated by a ; and it would spit it all out at once. Made chemistry tacticool if you went through the trouble of making a script for initro or something.
I.e. "oxygen=10;water=10;oxygen=10" might dispense 20u of oxygen at once, rather than 10u of oxygen, 10u of water, then 10u of oxygen again.
- MisterPerson
- Board Moderator
- Joined: Tue Apr 15, 2014 4:26 pm
- Byond Username: MisterPerson
Re: Chemicompiler in /tg/
Actually oranges I think the community is built around fucking with people.naltronix wrote:its still fun for the people who like to fuck with people
I code for the code project and moderate the code sections of the forums.
Feedback is dumb and it doesn't matter
Feedback is dumb and it doesn't matter
- Tokiko2
- Joined: Mon Apr 21, 2014 12:18 am
- Byond Username: Tokiko1
Re: Chemicompiler in /tg/
To be fair, current chem mixing is also just having flowcharts of what to click to make a certain chem. I even put a book in the library that listed all pre goofchem recipes flowcharts to make chemicals with the least amounts of clicks(ie correct ratios so they fit in a beaker or leave no extra chems and are immediatly use/mixable, if possible). I don't think that's very different than just copypasting code into a machine and making it do the work for you.
Who is online
Users browsing this forum: No registered users