Ingame simple calculator

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
joon
Fast Inserter
Fast Inserter
Posts: 131
Joined: Mon Jan 19, 2015 7:11 pm
Contact:

Ingame simple calculator

Post by joon »

I know that there are a lot of calculators for recipes and factories, but I'm looking for a simple calculator ingame so I can calculate for example:
how many chests I need to store 100k of ores, of course you can guess with 2,4k per chest, but like to know the exact amount.

I don't like to alt-tab because it will deactivate the info on all the factories and have to hit it multiple times to get it active again after. Hope it's not too much work to get as a mod or even in vanilla.

Thanks,

Jhonny

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Ingame simple calculator

Post by ssilk »

Use the console? https://forums.factorio.com/wiki/inde ... a_commands

Code: Select all

/c game.player.print(123 * 45678)
for example
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

joon
Fast Inserter
Fast Inserter
Posts: 131
Joined: Mon Jan 19, 2015 7:11 pm
Contact:

Re: Ingame simple calculator

Post by joon »

Nice, that's good enough for me :) Thanks for the help

Also nice to see that the Arrow-up give the last given commands as well

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Ingame simple calculator

Post by ssilk »

I change this suggestion like so:

A new command in the console:

Code: Select all

/p 1234 * 5678
Which is equal to:

Code: Select all

/c game.player.print(1234 * 5678)
So this should work, too:

Code: Select all

/p game.evolutionfactor
instead of

Code: Select all

/c game.player.print(game.evolutionfactor)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Ingame simple calculator

Post by bobingabout »

Except there's the question if game.player.print even works anymore, because game.player was replaced with an array, game.players, the equivelent command would be game.players[1].print in a single player game.

Though, does game.player still work when used in the console?
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Ingame simple calculator

Post by orzelek »

bobingabout wrote:Except there's the question if game.player.print even works anymore, because game.player was replaced with an array, game.players, the equivelent command would be game.players[1].print in a single player game.

Though, does game.player still work when used in the console?
/c game.player works ok in console - it defaults to you. It doesn't work in scripts.

And I second the suggestion of adding /p - would make it much more handy.

DerMoritz98
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jan 04, 2018 4:14 pm
Contact:

Ingame Calculator

Post by DerMoritz98 »

Ingame Calculator
I would like to have an in-game Calculator.
This could maybe be solved by typing an mathematical formula in the chat, or more elegant and easier accessible by adding an extra button like the ones above the minimap, which then opens a calculator menu.
Why?
It would make it easier when you are playing Factorio at times like 2 o'clock and you can't think about the answer to 14*3, which I do sometimes need in-game.

Caine
Fast Inserter
Fast Inserter
Posts: 213
Joined: Sun Dec 17, 2017 1:46 pm
Contact:

Re: Ingame Calculator

Post by Caine »

In my experience, Factorio handles alt+tab really well. In no way is it going to have a better calculator than an external program can provide.

Koub
Global Moderator
Global Moderator
Posts: 7217
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Ingame simple calculator

Post by Koub »

[Koub] Merged into older topic with same suggestion
Koub - Please consider English is not my native language.

DerMoritz98
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jan 04, 2018 4:14 pm
Contact:

Re: Ingame simple calculator

Post by DerMoritz98 »

Yea, but my PC's hard drive is not the fastest and when you are using single monitor it's really annoying to tab out every here and there. An in-game calculator would make this redundant and often when it's really late (or early, depends on your definition) you have to tab out and in more than once, because while you tabbed out, you forgot the answer.
It would also be a nice gimmick which would make Factorio more awesome than it's now.
And would be much handier than the console.

pleegwat
Filter Inserter
Filter Inserter
Posts: 260
Joined: Fri May 19, 2017 7:31 pm
Contact:

Re: Ingame simple calculator

Post by pleegwat »

If you have a smartphone, it almost certainly includes a calculator app as well.

User avatar
olafthecat
Filter Inserter
Filter Inserter
Posts: 476
Joined: Fri Jul 07, 2017 4:37 pm

Re: Ingame simple calculator

Post by olafthecat »

I have a Casio scientific calculator and that seems to do the trick.
Gonna start playing again with 0.16 build.
That's all.

Post Reply

Return to “Ideas and Suggestions”