Short logistics request delay
Short logistics request delay
This one should be pretty simple to implement: I'd like a mod where there is a short one or two second delay between when you change the number for a logistics or trash slot and when that number is actually sent to the logistic network.
For example: if you request some iron, drag the slider to 200, then accidentally go too far and it hits 300 for just a moment before you slide back down to 200, currently the request for 300 is instantly applied and the bots will bring you 300. This mod will wait a second or two and only send the bots a request once you've stopped on a number.
Alternate example: if you make a trash slot for iron and manually type 100 in, first you have to type "1" which is applied instantly and all but 1 iron goes into trash slots. This mod will wait a second or two for you to finish typing "100" and only apply the rule to your inventory when the number stops changing.
For example: if you request some iron, drag the slider to 200, then accidentally go too far and it hits 300 for just a moment before you slide back down to 200, currently the request for 300 is instantly applied and the bots will bring you 300. This mod will wait a second or two and only send the bots a request once you've stopped on a number.
Alternate example: if you make a trash slot for iron and manually type 100 in, first you have to type "1" which is applied instantly and all but 1 iron goes into trash slots. This mod will wait a second or two for you to finish typing "100" and only apply the rule to your inventory when the number stops changing.
Re: Short logistics request delay
Same topics:
viewtopic.php?t=30913
viewtopic.php?t=23622
But now you can set to "request 1 item instead of stack" in the game options.
viewtopic.php?t=30913
viewtopic.php?t=23622
But now you can set to "request 1 item instead of stack" in the game options.
Re: Short logistics request delay
These are not the same topic. I already have that option enabled. That option does keep me from summoning a full stack if I wanted less than that, but does nothing about either of the two examples I provided.darkfrei wrote: ↑Sun Oct 07, 2018 11:19 amSame topics:
viewtopic.php?t=30913
viewtopic.php?t=23622
But now you can set to "request 1 item instead of stack" in the game options.
Re: Short logistics request delay
The main problem is: "I get from my logistic robots too much items, but I don't need them". And here is a lot of ideas how to fix this problem.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Short logistics request delay
The modding API offers no way of intercepting that input. It's all done internally. I certainly wouldn't mind if that was the default behaviour. But short of reimplementing the whole GUI i see no way to mod that.Maoman wrote: ↑Sun Oct 07, 2018 11:01 amFor example: if you request some iron, drag the slider to 200, then accidentally go too far and it hits 300 for just a moment before you slide back down to 200, currently the request for 300 is instantly applied and the bots will bring you 300. This mod will wait a second or two and only send the bots a request once you've stopped on a number.
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: Short logistics request delay
Ah damn, ok. I guess this needs to be put in ideas and suggestions instead, then. Thanks for your responseeradicator wrote: ↑Sun Oct 07, 2018 4:33 pmThe modding API offers no way of intercepting that input. It's all done internally. I certainly wouldn't mind if that was the default behaviour. But short of reimplementing the whole GUI i see no way to mod that.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Short logistics request delay
About 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.
Try to avoid starting ideas with lines like that. ;P
Re: Short logistics request delay
+1 on the delay. Both for requests (personal and otherwise) and trash.
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Short logistics request delay
I just googled and am astonished that "This should be easy....(many hours later)...damn, why doesn't it work!" isn't some kind of meme, given how often it seems to happen to almost everyone.bobingabout wrote: ↑Mon Oct 08, 2018 8:54 amAbout 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.
Try to avoid starting ideas with lines like that. ;P
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: Short logistics request delay
It' right along there with "This will never happen!" and "What could possibly go wrong?"eradicator wrote: ↑Mon Oct 08, 2018 5:40 pmI just googled and am astonished that "This should be easy....(many hours later)...damn, why doesn't it work!" isn't some kind of meme, given how often it seems to happen to almost everyone.bobingabout wrote: ↑Mon Oct 08, 2018 8:54 amAbout 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.
Try to avoid starting ideas with lines like that. ;P
Re: Short logistics request delay
bobingabout wrote: ↑Mon Oct 08, 2018 8:54 amAbout 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.
Try to avoid starting ideas with lines like that. ;P
In retrospect that makes perfect sense and I really ought to have known better xD Definitely won't be saying it again.
Re: Short logistics request delay
Sorry for the pointless bump! I clicked "bump topic" cause I wanted to see what it would do... I figured it'd have a confirmation, or maybe have an auto-generated message or... idk, just wasn't expecting it to instantly go through.