[0.15] count_formula cannot use divide

Things that we don't consider worth fixing at this moment.
Post Reply
UberWaffe
Fast Inserter
Fast Inserter
Posts: 202
Joined: Mon May 04, 2015 4:53 am
Contact:

[0.15] count_formula cannot use divide

Post by UberWaffe »

Tried using a

Code: Select all

/
(divide) symbol in the count_formula for an repeating research.

Throws an error upon loading the mod.

Using a

Code: Select all

*0.1
instead of

Code: Select all

/10
is accepted and works.

Not sure if fixing it is needed, but perhaps noting it in the technology file would be useful.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13219
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15] count_formula cannot use divide

Post by Rseding91 »

I think it's fine that it doesn't support division since multiplication can get the same result.
If you want to get ahold of me I'm almost always on Discord.

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2633
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [0.15] count_formula cannot use divide

Post by steinio »

It prevents division by zero.
Image

Transport Belt Repair Man

View unread Posts

Post Reply

Return to “Won't fix.”