What?
It'd be nice if scripts could toggle roboports and exoskeletons.
Currently set_shortcut_toggled("toggle-personal-roboport",false) has no effect and does not raise an unknown-prototype error.
Why?
Because i want to auto-disable my roboports when i'm riding a fast vehicle.
Allow set_shortcut_toggled on built-in shortcuts.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Allow set_shortcut_toggled on built-in shortcuts.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: Allow set_shortcut_toggled on built-in shortcuts.
What's wrong with https://lua-api.factorio.com/latest/Lua ... ment_bonus ?
Also, robots are now disabled by default if you are moving faster than the vehicle you are in/the vehicle is in automatic mode.
Also, robots are now disabled by default if you are moving faster than the vehicle you are in/the vehicle is in automatic mode.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Allow set_shortcut_toggled on built-in shortcuts.
Bilka wrote: Sat May 04, 2019 6:49 pm Also, robots are now disabled by default if you are moving faster than the vehicle you are in/the vehicle is in automatic mode.


Sounds painful.


My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Allow set_shortcut_toggled on built-in shortcuts.
Does that visible toggle the shortcut button?Bilka wrote: Sat May 04, 2019 6:49 pm What's wrong with https://lua-api.factorio.com/latest/Lua ... ment_bonus ?
Cars are never in automatic mode. And spammed exoskeletons can be faster than robots. As @Qon already quoted...i'm not sure what speed "faster than the vehicle your in" is, but my personal intend was to disable them when the vehicle moves at more than 50% of current maximum bot speed according to research, so that they still work in slow mode, and get some time to catch up, and also work like expected when you have insane speed bonus research.Bilka wrote: Sat May 04, 2019 6:49 pm Also, robots are now disabled by default if you are moving faster than the vehicle you are in/the vehicle is in automatic mode.
(Also didn't know that automatic trains disable bots now, which is a very nice addition, but i'd like it to work in manual trains too.)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: Allow set_shortcut_toggled on built-in shortcuts.
0.17 changelog wrote:Changed personal roboports so they won't send construction robots if you're driving in a vehicle that they can't keep up with or if in a train in automatic mode.
No.Does that visible toggle the shortcut button?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Allow set_shortcut_toggled on built-in shortcuts.
Fiddled around a bit with the built in auto-disabling and it looks pretty good. Usually i read all the changelogs, but this time i wasn't around when the release happend
. Thanks for the hint.

Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.