[0.8.4] '>' is not '=>'

Bugs that are actually features.
Lee_newsum
Filter Inserter
Filter Inserter
Posts: 436
Joined: Wed Jan 15, 2014 9:41 am
Contact:

[0.8.4] '>' is not '=>'

Post by Lee_newsum »

A) The notation a > b means that a is greater than b.
B) The notation a ≥ b means that a is greater than or equal to b (or, equivalently, not less than b, or at least b)

factorio works like A but I think it shed be B.

how to see this

1 set a Smart inserter to Stone brick > 30
2 put a box with a lot of X on the input and a box on the output
3 link a Storage chest (or inside Roboport)
4 put 30 Stone brick in the Storage chest.
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.8.4] '>' is not '=>'

Post by DRBLN »

Does it really matter?
1 unit difference.
Lee_newsum
Filter Inserter
Filter Inserter
Posts: 436
Joined: Wed Jan 15, 2014 9:41 am
Contact:

Re: [0.8.4] '>' is not '=>'

Post by Lee_newsum »

yes if that one mean that you do not have/works some thing you need.
slay_mithos
Fast Inserter
Fast Inserter
Posts: 204
Joined: Tue Feb 25, 2014 7:22 am
Contact:

Re: [0.8.4] '>' is not '=>'

Post by slay_mithos »

Well, it does matter for anyone that takes this to heart, mainly because this can cause fairly massive differences in many things (maths, physics, informatics...).

Sure, it's not massive here, but it can be counted as a typo, instead of a real bug, maybe.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [0.8.4] '>' is not '=>'

Post by ssilk »

I think it is the stack size problem, because with stack size 1 I tested that some month ago and it worked. With stack size 3 it depends from starting number. So if you used a stack size > 1, this is not a bug. Watch exactly what happens. You can set the game speed slower to see the last operation of the inserter... If my guess is wrong, then sorry, but I'm very sure it is that. :)


Off topic, cause I'm in this mod:

I mean the whole math doesn't work with factorio. The reason is the inserter/logistic bot stack size. The problem is not the logic, but the usage of "=", "<" etc. suggests, that it is exact. Which it never can be, there are too many cases you can trick that out.

I think the equal is a remnant from the time, where the stack size was always 1, but nowadays it is useless. And even if they fix some of the issues depending this (I posted some suggestions about it and how that might be solved, which is complicated) there are remaining cases like those above, or tricks.

I would prefer a range instead: instead of '> X' it is '> X +- stack size'. This makes the "=" useless and should be replaced by a range, too.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Post Reply

Return to “Not a bug”