Simple arthimetric operations in logistic requests boxes

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Vatharian
Inserter
Inserter
Posts: 45
Joined: Mon Feb 01, 2016 10:09 pm
Contact:

Simple arthimetric operations in logistic requests boxes

Post by Vatharian »

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.
Veni, Vici, Spaghettici - never bus! (tm)
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Simple arthimetric operations in logistic requests boxes

Post by ssilk »

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...
British_Petroleum
Filter Inserter
Filter Inserter
Posts: 321
Joined: Tue Dec 23, 2014 7:21 am
Contact:

Re: Simple arthimetric operations in logistic requests boxes

Post by British_Petroleum »

I'm curious, what are some examples of when this would be useful? I can't think of any reason to do this
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Simple arthimetric operations in logistic requests boxes

Post by ssilk »

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.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
mattj256
Fast Inserter
Fast Inserter
Posts: 203
Joined: Sun Mar 27, 2016 7:25 am
Contact:

Re: Simple arthimetric operations in logistic requests boxes

Post by mattj256 »

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.)
User avatar
siggboy
Filter Inserter
Filter Inserter
Posts: 988
Joined: Tue Mar 29, 2016 11:47 am
Contact:

Re: Simple arthimetric operations in logistic requests boxes

Post by siggboy »

Vatharian wrote:Side effect of parsing would be to Factorio accept "5k" as 5000 or something like this.
I love this idea especially.

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
Post Reply

Return to “Ideas and Suggestions”