TL;DR: allow three basic arithmetic operations: +/-/* in logistic request box.
whenever you have to request something, be it chests or your own logistic slots, sometimes I want precisely given amount of resources in this particular spot. I can quickly calculate in my head 20 x 16, but for example 15 x 36 - 7 (that's already in place) makes me stop, and alt-tab to calculator, or grab a pen and multiply on a paper. If I could write 15*36-7, and when cursor leaves (I click somewhere else) the box, Factorio would permanently convert it to a final number and commit.
Operations permitted would be +, -, and *, without floating point to minimise error and impact
Side effect of parsing would be to Factorio accept "5k" as 5000 or something like this.
Simple arthimetric operations in logistic requests boxes
Moderator: ickputzdirwech
Simple arthimetric operations in logistic requests boxes
Veni, Vici, Spaghettici - never bus! (tm)
Re: Simple arthimetric operations in logistic requests boxes
This is a simple idea with high game-play value.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Filter Inserter
- Posts: 321
- Joined: Tue Dec 23, 2014 7:21 am
- Contact:
Re: Simple arthimetric operations in logistic requests boxes
I'm curious, what are some examples of when this would be useful? I can't think of any reason to do this
Re: Simple arthimetric operations in logistic requests boxes
For example: Copy from assembly to requester chest. The requester chest requests now basic number of materials for the assembly.
But in most cases this is too less. With this suggestion you can multiply that numbers with a factor.
But in most cases this is too less. With this suggestion you can multiply that numbers with a factor.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Simple arthimetric operations in logistic requests boxes
Let's say I have an assembler that makes transport belts.
Transport belts require one iron plate and one iron gear wheel.
The default with copy-paste is that the requester chest will request 2x all the raw materials, so two iron plates and two iron gear wheels.
Instead, maybe I want 5x or 10x or 20x.
The requester chest should have two GUI entries:
- What's the end product? (example: Transport Belt)
- What's the multiplier? (example: 5)
NOT general arithmetic, which is complicated and hard to use.
If someone really wants general arithmetic they can use combinators or an external calculator. (Or a mod.)
Transport belts require one iron plate and one iron gear wheel.
The default with copy-paste is that the requester chest will request 2x all the raw materials, so two iron plates and two iron gear wheels.
Instead, maybe I want 5x or 10x or 20x.
The requester chest should have two GUI entries:
- What's the end product? (example: Transport Belt)
- What's the multiplier? (example: 5)
NOT general arithmetic, which is complicated and hard to use.
If someone really wants general arithmetic they can use combinators or an external calculator. (Or a mod.)
Re: Simple arthimetric operations in logistic requests boxes
I love this idea especially.Vatharian wrote:Side effect of parsing would be to Factorio accept "5k" as 5000 or something like this.
Could be used in any place where you can enter a number.
It would also make it easier to enter a number such as 2147483647 (2^31-1), which you need quite frequently for advanced circuitry. Of course that would require for exponentation to be recognized by the parser (why not?).
The parsing of the numbers is nothing that gets in the way if you don't know about it. So to allow for expressions like "4k", "2G" or "2^31-1" would not really hurt the gameplay experience for anybody who doesn't know it's possible, but it would help with advanced usage.
Is your railroad worrying you? Doctor T-Junction recommends: Smart, dynamic train deliveries with combinator Magick