Page 1 of 1

[Mod 0.17+] Echo Combinator

Posted: Sat Sep 07, 2019 6:21 pm
by 15Redstones
Image

Smart home appliances are coming to Factorio!

The Echo Combinator listens to the chat and if prompted, outputs certain signals. It is a good way to remotely control circuit systems from anywhere and to quickly create arbitrary 1 tick long signals for testing purposes.

https://mods.factorio.com/mod/echo-combinator

The default name that it is listening to is "Alexa", altough you can change this in the options. You can use any item, fluid, virtual signal or recipe. If it's a recipe, the output will be the results of the recipe. It also works with linked items or recipes.

Code: Select all

"Alexa, Red=10"
This causes all Echos to output 10 red signals for 1 tick.

Code: Select all

"Alexa, [recipe=basic-oil-processing]*10"
This outputs 450 petroleum gas, since the recipe basic oil outputs 45 petrol.

This is my first mod that doesn't just add items and recipes but also new behaviour. Please tell me what you think about the concept and the sloppy code. ;)

Re: [Mod 0.17+] Echo Combinator

Posted: Sun Sep 08, 2019 8:54 am
by Astrella
Ooh, this looks interesting, shall give it a try.

Re: [Mod 0.17+] Echo Combinator

Posted: Sun Sep 15, 2019 5:26 pm
by Trblz
15Redstones wrote:
Sat Sep 07, 2019 6:21 pm

https://mods.factorio.com/mod/echo-combinator

The default name that it is listening to is "Alexa", altough you can change this in the options. You can use any item, fluid, virtual signal or recipe. If it's a recipe, the output will be the results of the recipe. It also works with linked items or recipes.

Code: Select all

"Alexa, Red=10"
This causes all Echos to output 10 red signals for 1 tick.

Code: Select all

"Alexa, [recipe=basic-oil-processing]*10"
This outputs 450 petroleum gas, since the recipe basic oil outputs 45 petrol.

This is my first mod that doesn't just add items and recipes but also new behaviour. Please tell me what you think about the concept and the sloppy code. ;)
Can you make this work too?

Code: Select all

"Alexa, Make all biters disappear"

Code: Select all

"Alexa, Transfer money to Factorio team"
:lol:

Re: [Mod 0.17+] Echo Combinator

Posted: Mon Sep 16, 2019 3:16 pm
by 15Redstones
Trblz wrote:
Sun Sep 15, 2019 5:26 pm
15Redstones wrote:
Sat Sep 07, 2019 6:21 pm

https://mods.factorio.com/mod/echo-combinator

The default name that it is listening to is "Alexa", altough you can change this in the options. You can use any item, fluid, virtual signal or recipe. If it's a recipe, the output will be the results of the recipe. It also works with linked items or recipes.

Code: Select all

"Alexa, Red=10"
This causes all Echos to output 10 red signals for 1 tick.

Code: Select all

"Alexa, [recipe=basic-oil-processing]*10"
This outputs 450 petroleum gas, since the recipe basic oil outputs 45 petrol.

This is my first mod that doesn't just add items and recipes but also new behaviour. Please tell me what you think about the concept and the sloppy code. ;)
Can you make this work too?

Code: Select all

"Alexa, Make all biters disappear"

Code: Select all

"Alexa, Transfer money to Factorio team"
:lol:
Sorry, it only does combinator signal outputs for now. Making all biters disappear can be done with cheats, sending money probably isn't possible through Lua (altough I don't know if you could possibly write the request to the script output file where another program gets it and does the web stuff).